shared.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. /* Initialization for all pages */
  2. *{margin:0;padding:0;font-family:'Saira',sans-serif;}
  3. body{
  4. display: flex;
  5. flex-direction: column;
  6. color: rgb(0, 27, 45);
  7. min-height: 100vh;
  8. }
  9. /* General style that should apply to all pages */
  10. h1 {
  11. text-align: center;
  12. padding-bottom: 13px;
  13. }
  14. h3 {
  15. text-align: center;
  16. font-weight: 500;
  17. color: gray;
  18. font-size: 20px;
  19. }
  20. button{
  21. outline: 0;
  22. }
  23. button::-moz-focus-inner{
  24. border: 0;
  25. }
  26. .link {
  27. cursor: pointer;
  28. color: gray;
  29. text-decoration: none;
  30. }
  31. .link:hover {
  32. color: #ff636b;
  33. text-decoration: underline;
  34. cursor: pointer;
  35. }
  36. table{
  37. border-spacing: 0;
  38. }
  39. th{
  40. color: rgb(240, 252, 255);
  41. padding: 20px;
  42. background: rgb(0, 27, 45);
  43. color: rgb(255, 99, 107);
  44. }
  45. tr{
  46. color: rgb(0, 27, 45);
  47. text-align: center;
  48. }
  49. tr, td{
  50. padding: 5px 20px;
  51. }
  52. tr:nth-of-type(even){
  53. background: rgb(201, 201, 201);
  54. }
  55. tr:nth-of-type(odd){
  56. background: rgb(240, 252, 255);
  57. }
  58. .clickableRow{
  59. cursor: pointer;
  60. transition: 0.3s;
  61. }
  62. .clickableRow:hover{
  63. position: relative;
  64. z-index: 2;
  65. box-shadow: 0 0 25px black;
  66. border-radius: 50px;
  67. }
  68. form{
  69. display: flex;
  70. flex-direction: column;
  71. justify-content: center;
  72. border: 2px solid rgb(0, 27, 45);
  73. padding: 50px;
  74. border-radius: 10px;
  75. margin: 10px;
  76. background: rgb(240, 252, 255);
  77. font-size: 16px;
  78. margin-top: 40px;
  79. width: 550px;
  80. justify-content: space-evenly;
  81. height: auto;
  82. }
  83. .buttonBox{
  84. display: flex;
  85. justify-content: space-between;
  86. align-items: center;
  87. }
  88. .buttonBox > *{
  89. margin: 10px;
  90. }
  91. .button{
  92. display: initial;
  93. background: rgb(255, 99, 107);
  94. border: none;
  95. text-decoration: none;
  96. border-radius: 4px;
  97. padding: 10px 29px;
  98. color: white;
  99. cursor: pointer;
  100. font-size: 25px;
  101. transition: 0.3s;
  102. text-align: center;
  103. font-size: 18px;
  104. cursor: pointer;
  105. font-weight: 500;
  106. margin-right: 33px;
  107. }
  108. .buttonWithBorder {
  109. background: white;
  110. border: rgb(255, 99, 107) solid 2px;
  111. color: rgb(255, 99, 107);
  112. margin: 0;
  113. margin-top: 18px;
  114. margin-bottom: 12px;
  115. padding-top: 14px;
  116. padding-bottom: 14px;
  117. }
  118. .button:hover{
  119. background: rgb(243, 77, 86);
  120. color: white;
  121. }
  122. .button-small{
  123. background: none;
  124. border: 2px solid rgb(255, 99, 107);
  125. text-decoration: none;
  126. border-radius: 10px;
  127. padding: 3px 5px;
  128. color: #001b2d;
  129. cursor: pointer;
  130. font-size: 15px;
  131. box-shadow: 1px 1px 1px black;
  132. margin: 0 2px;
  133. transition: 0.3s;
  134. }
  135. .public-buttons {
  136. position: inherit;
  137. align-self: center;
  138. margin-right: 39px;
  139. }
  140. .buttonBox{
  141. display: flex;
  142. justify-content: space-around;
  143. }
  144. .button-small:hover{
  145. background: rgb(0, 27, 45);
  146. color: rgb(240, 252, 255);
  147. }
  148. .buttonDisabled{
  149. background: gray;
  150. text-decoration: none;
  151. border-radius: 10px;
  152. padding: 10px 5px;
  153. color: rgb(0, 27, 45);
  154. cursor: default;
  155. font-size: 25px;
  156. text-align: center;
  157. }
  158. .line-break{
  159. border: 1px solid rgb(255, 99, 107);
  160. margin: 30px 0;
  161. }
  162. .strand, .action{
  163. display: none;
  164. }
  165. /* Components */
  166. strand-selector{
  167. display: flex;
  168. justify-content: center;
  169. border-bottom: 1px solid rgb(255, 99, 107);
  170. }
  171. strand-selector button{
  172. margin: 10px;
  173. background: none;
  174. font-size: 25px;
  175. font-weight: bold;
  176. border: none;
  177. transition: box-shadow 1s;
  178. padding: 5px;
  179. }
  180. strand-selector button:hover{
  181. box-shadow: 15px 15px 15px gray;
  182. }
  183. .strand{
  184. transition: width 1s linear;
  185. }
  186. /* Header partial */
  187. .header{
  188. display: flex;
  189. justify-content: space-between;
  190. background: #001b2d;
  191. width: 100%;
  192. height: 75px;
  193. }
  194. .header .logo{
  195. display: flex;
  196. align-items: center;
  197. text-decoration: none;
  198. margin-left: 20px;
  199. }
  200. .header-logo{
  201. display: inline-block;
  202. color: rgb(255, 99, 107);
  203. font-size: 25px;
  204. font-weight: 600;
  205. }
  206. .header img{
  207. display: inline-block;
  208. max-height: 40px;
  209. margin: 15px;
  210. text-align: center;
  211. }
  212. .header h1{
  213. display: inline-block;
  214. color: rgb(255, 99, 107);
  215. }
  216. .header .logout{
  217. display: flex;
  218. align-items: center;
  219. color: rgb(255, 99, 107);
  220. float: right;
  221. margin-right: 25px;
  222. text-decoration: none;
  223. }
  224. .button-join {
  225. font-size: medium;
  226. color:white;
  227. text-decoration: blink;
  228. }
  229. /* Banner partial */
  230. .banner{
  231. width: 100%;
  232. text-align: center;
  233. list-style-type: none;
  234. font-weight: bold;
  235. color: white;
  236. }
  237. .banner .notification{
  238. background: rgb(201, 201, 201);
  239. list-style-type: none;
  240. padding: 3px;
  241. color: black;
  242. }
  243. .banner .error{
  244. background: rgb(255, 99, 107);
  245. list-style-type: none;
  246. padding: 5px;
  247. color: white;
  248. }
  249. /* Footer Partial */
  250. .spacer{
  251. flex: 1;
  252. }
  253. .footer{
  254. display: flex;
  255. flex-direction: column;
  256. align-items: center;
  257. padding: 10px;
  258. background: rgb(240, 252, 255);
  259. }
  260. .footer > *{
  261. margin: 5px;
  262. }
  263. .footer div > *{
  264. margin: 0 25px;
  265. }
  266. @media screen and (max-width: 600px){
  267. .button{
  268. font-size: 15px;
  269. }
  270. .truncateLong{
  271. max-width: 100px;
  272. white-space: nowrap;
  273. overflow: hidden;
  274. text-overflow: ellipsis;
  275. }
  276. }
  277. label {
  278. margin-top:20px ;
  279. }