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