shared.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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. .buttonWithBorder {
  106. background: white;
  107. border: rgb(255, 99, 107) solid 2px;
  108. color: rgb(255, 99, 107);
  109. margin: 0;
  110. margin-top: 18px;
  111. margin-bottom: 12px;
  112. padding-top: 14px;
  113. padding-bottom: 14px;
  114. }
  115. .button:hover{
  116. background: rgb(243, 77, 86);
  117. color: white;
  118. }
  119. .button-small{
  120. background: none;
  121. border: 2px solid rgb(255, 99, 107);
  122. text-decoration: none;
  123. border-radius: 10px;
  124. padding: 3px 5px;
  125. color: #001b2d;
  126. cursor: pointer;
  127. font-size: 15px;
  128. box-shadow: 1px 1px 1px black;
  129. margin: 0 2px;
  130. transition: 0.3s;
  131. }
  132. .public-buttons {
  133. position: inherit;
  134. align-self: center;
  135. margin-right: 39px;
  136. }
  137. .buttonBox{
  138. display: flex;
  139. justify-content: space-around;
  140. }
  141. .button-small:hover{
  142. background: rgb(0, 27, 45);
  143. color: rgb(240, 252, 255);
  144. }
  145. .buttonDisabled{
  146. background: gray;
  147. text-decoration: none;
  148. border-radius: 10px;
  149. padding: 10px 5px;
  150. color: rgb(0, 27, 45);
  151. cursor: default;
  152. font-size: 25px;
  153. text-align: center;
  154. }
  155. .line-break{
  156. border: 1px solid rgb(255, 99, 107);
  157. margin: 30px 0;
  158. }
  159. .strand, .action{
  160. display: none;
  161. }
  162. /* Components */
  163. strand-selector{
  164. display: flex;
  165. justify-content: center;
  166. border-bottom: 1px solid rgb(255, 99, 107);
  167. }
  168. strand-selector button{
  169. margin: 10px;
  170. background: none;
  171. font-size: 25px;
  172. font-weight: bold;
  173. border: none;
  174. transition: box-shadow 1s;
  175. padding: 5px;
  176. }
  177. strand-selector button:hover{
  178. box-shadow: 15px 15px 15px gray;
  179. }
  180. .strand{
  181. transition: width 1s linear;
  182. }
  183. /* Header partial */
  184. .header{
  185. display: flex;
  186. justify-content: space-between;
  187. background: #001b2d;
  188. width: 100%;
  189. height: 75px;
  190. }
  191. .header .logo{
  192. display: flex;
  193. align-items: center;
  194. text-decoration: none;
  195. margin-left: 20px;
  196. }
  197. .header-logo{
  198. display: inline-block;
  199. color: rgb(255, 99, 107);
  200. font-size: 25px;
  201. font-weight: 600;
  202. }
  203. .header img{
  204. display: inline-block;
  205. max-height: 40px;
  206. margin: 15px;
  207. text-align: center;
  208. }
  209. .header h1{
  210. display: inline-block;
  211. color: rgb(255, 99, 107);
  212. }
  213. .header .logout{
  214. display: flex;
  215. align-items: center;
  216. color: rgb(255, 99, 107);
  217. float: right;
  218. margin-right: 25px;
  219. text-decoration: none;
  220. }
  221. .button-join {
  222. font-size: medium;
  223. color:white;
  224. text-decoration: blink;
  225. }
  226. /* Banner partial */
  227. .banner{
  228. width: 100%;
  229. text-align: center;
  230. list-style-type: none;
  231. font-weight: bold;
  232. color: white;
  233. }
  234. .banner .notification{
  235. background: rgb(201, 201, 201);
  236. list-style-type: none;
  237. padding: 3px;
  238. color: black;
  239. }
  240. .banner .error{
  241. background: rgb(255, 99, 107);
  242. list-style-type: none;
  243. padding: 5px;
  244. color: white;
  245. }
  246. /* Footer Partial */
  247. .spacer{
  248. flex: 1;
  249. }
  250. .footer{
  251. display: flex;
  252. flex-direction: column;
  253. align-items: center;
  254. padding: 10px;
  255. background: rgb(240, 252, 255);
  256. }
  257. .footer > *{
  258. margin: 5px;
  259. }
  260. .footer div > *{
  261. margin: 0 25px;
  262. }
  263. @media screen and (max-width: 600px){
  264. .button{
  265. font-size: 15px;
  266. }
  267. .truncateLong{
  268. max-width: 100px;
  269. white-space: nowrap;
  270. overflow: hidden;
  271. text-overflow: ellipsis;
  272. }
  273. }
  274. label {
  275. margin-top:20px ;
  276. }