shared.css 6.9 KB

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