shared.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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: flex;
  93. align-items: center;
  94. background: rgb(255, 99, 107);
  95. border: none;
  96. text-decoration: none;
  97. border-radius: 4px;
  98. padding: 10px 29px;
  99. color: white;
  100. cursor: pointer;
  101. font-size: 25px;
  102. transition: 0.3s;
  103. text-align: center;
  104. font-size: 18px;
  105. cursor: pointer;
  106. font-weight: 500;
  107. margin-right: 33px;
  108. }
  109. .buttonWithBorder {
  110. background: white;
  111. border: rgb(255, 99, 107) solid 2px;
  112. color: rgb(255, 99, 107);
  113. margin: 0;
  114. margin-top: 18px;
  115. margin-bottom: 12px;
  116. padding-top: 14px;
  117. padding-bottom: 14px;
  118. }
  119. .button:hover{
  120. background: rgb(243, 77, 86);
  121. color: white;
  122. }
  123. .button-small{
  124. background: none;
  125. border: 2px solid rgb(255, 99, 107);
  126. text-decoration: none;
  127. border-radius: 10px;
  128. padding: 3px 5px;
  129. color: #001b2d;
  130. cursor: pointer;
  131. font-size: 15px;
  132. box-shadow: 1px 1px 1px black;
  133. margin: 0 2px;
  134. transition: 0.3s;
  135. }
  136. .public-buttons {
  137. position: inherit;
  138. align-self: center;
  139. margin-right: 39px;
  140. }
  141. .buttonBox{
  142. display: flex;
  143. justify-content: space-around;
  144. }
  145. .button-small:hover{
  146. background: rgb(0, 27, 45);
  147. color: rgb(240, 252, 255);
  148. }
  149. .buttonDisabled{
  150. background: gray;
  151. text-decoration: none;
  152. border-radius: 10px;
  153. padding: 10px 5px;
  154. color: rgb(0, 27, 45);
  155. cursor: default;
  156. font-size: 25px;
  157. text-align: center;
  158. }
  159. .line-break{
  160. border: 1px solid rgb(255, 99, 107);
  161. margin: 30px 0;
  162. }
  163. .strand, .action{
  164. display: none;
  165. }
  166. /* Components */
  167. strand-selector{
  168. display: flex;
  169. justify-content: center;
  170. border-bottom: 1px solid rgb(255, 99, 107);
  171. }
  172. strand-selector button{
  173. margin: 10px;
  174. background: none;
  175. font-size: 25px;
  176. font-weight: bold;
  177. border: none;
  178. transition: box-shadow 1s;
  179. padding: 5px;
  180. }
  181. strand-selector button:hover{
  182. box-shadow: 15px 15px 15px gray;
  183. }
  184. .strand{
  185. transition: width 1s linear;
  186. }
  187. /* Header partial */
  188. .header{
  189. display: flex;
  190. justify-content: space-between;
  191. background: #001b2d;
  192. width: 100%;
  193. height: 75px;
  194. }
  195. .header .logo{
  196. display: flex;
  197. align-items: center;
  198. text-decoration: none;
  199. margin-left: 20px;
  200. }
  201. .header-logo{
  202. display: inline-block;
  203. color: rgb(255, 99, 107);
  204. font-size: 25px;
  205. font-weight: 600;
  206. }
  207. .header img{
  208. display: inline-block;
  209. max-height: 40px;
  210. margin: 15px;
  211. text-align: center;
  212. }
  213. .header h1{
  214. display: inline-block;
  215. color: rgb(255, 99, 107);
  216. }
  217. .header .logout{
  218. display: flex;
  219. align-items: center;
  220. color: rgb(255, 99, 107);
  221. float: right;
  222. margin-right: 25px;
  223. text-decoration: none;
  224. }
  225. .button-join {
  226. font-size: medium;
  227. color:white;
  228. text-decoration: blink;
  229. }
  230. /* Banner partial */
  231. .banner{
  232. width: 100%;
  233. text-align: center;
  234. list-style-type: none;
  235. font-weight: bold;
  236. color: white;
  237. }
  238. .banner .notification{
  239. background: rgb(201, 201, 201);
  240. list-style-type: none;
  241. padding: 3px;
  242. color: black;
  243. }
  244. .banner .error{
  245. background: rgb(255, 99, 107);
  246. list-style-type: none;
  247. padding: 5px;
  248. color: white;
  249. }
  250. /* Footer Partial */
  251. .spacer{
  252. flex: 1;
  253. }
  254. .footer{
  255. display: flex;
  256. flex-direction: column;
  257. align-items: center;
  258. padding: 10px;
  259. background: rgb(240, 252, 255);
  260. }
  261. .footer > *{
  262. margin: 5px;
  263. }
  264. .footer div > *{
  265. margin: 0 25px;
  266. }
  267. @media screen and (max-width: 600px){
  268. .button{
  269. font-size: 15px;
  270. }
  271. .truncateLong{
  272. max-width: 100px;
  273. white-space: nowrap;
  274. overflow: hidden;
  275. text-overflow: ellipsis;
  276. }
  277. }
  278. label {
  279. margin-top:20px ;
  280. }