shared.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. .strand, .action{
  150. display: none;
  151. }
  152. /* Components */
  153. strand-selector{
  154. display: flex;
  155. justify-content: center;
  156. border-bottom: 1px solid rgb(255, 99, 107);
  157. }
  158. strand-selector button{
  159. margin: 10px;
  160. background: none;
  161. font-size: 25px;
  162. font-weight: bold;
  163. border: none;
  164. transition: box-shadow 1s;
  165. padding: 5px;
  166. }
  167. strand-selector button:hover{
  168. box-shadow: 15px 15px 15px gray;
  169. }
  170. .strand{
  171. transition: width 1s linear;
  172. }
  173. /* Header partial */
  174. .header{
  175. display: flex;
  176. justify-content: space-between;
  177. background: #001b2d;
  178. width: 100%;
  179. height: 75px;
  180. }
  181. .header .logo{
  182. display: flex;
  183. align-items: center;
  184. text-decoration: none;
  185. margin-left: 20px;
  186. }
  187. .header-logo{
  188. display: inline-block;
  189. color: rgb(255, 99, 107);
  190. font-size: 25px;
  191. font-weight: 600;
  192. }
  193. .header img{
  194. display: inline-block;
  195. max-height: 40px;
  196. margin: 15px;
  197. text-align: center;
  198. }
  199. .header h1{
  200. display: inline-block;
  201. color: rgb(255, 99, 107);
  202. }
  203. .header .logout{
  204. display: flex;
  205. align-items: center;
  206. color: rgb(255, 99, 107);
  207. float: right;
  208. margin-right: 25px;
  209. text-decoration: none;
  210. }
  211. .button-join {
  212. font-size: medium;
  213. color:white;
  214. text-decoration: blink;
  215. }
  216. /* Banner partial */
  217. .banner{
  218. width: 100%;
  219. text-align: center;
  220. list-style-type: none;
  221. font-weight: bold;
  222. color: white;
  223. }
  224. .banner .notification{
  225. background: rgb(201, 201, 201);
  226. list-style-type: none;
  227. padding: 3px;
  228. color: black;
  229. }
  230. .banner .error{
  231. background: rgb(255, 99, 107);
  232. list-style-type: none;
  233. padding: 5px;
  234. color: white;
  235. }
  236. /* Footer Partial */
  237. .spacer{
  238. flex: 1;
  239. }
  240. .footer{
  241. display: flex;
  242. flex-direction: column;
  243. align-items: center;
  244. padding: 10px;
  245. background: rgb(240, 252, 255);
  246. }
  247. .footer > *{
  248. margin: 5px;
  249. }
  250. .footer div > *{
  251. margin: 0 25px;
  252. }
  253. @media screen and (max-width: 600px){
  254. .button{
  255. font-size: 15px;
  256. }
  257. .truncateLong{
  258. max-width: 100px;
  259. white-space: nowrap;
  260. overflow: hidden;
  261. text-overflow: ellipsis;
  262. }
  263. }
  264. label {
  265. margin-top:20px ;
  266. }