shared.css 5.7 KB

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