shared.css 6.7 KB

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