shared.css 5.6 KB

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