shared.css 6.4 KB

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