shared.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. /* Initialization for all pages */
  2. *{margin:0;padding:0;font-family:'Saira',sans-serif;}
  3. body{
  4. display: flex;
  5. flex-direction: column;
  6. color: rgb(0, 27, 45);
  7. min-height: 100vh;
  8. }
  9. /* Loader */
  10. #loaderContainer{
  11. justify-content: center;
  12. align-items: center;
  13. width: 100vw;
  14. height: 100vh;
  15. background: rgba(0, 27, 45, 0.5);
  16. z-index: 2;
  17. position: fixed;
  18. }
  19. .loader{
  20. margin-bottom: 200px;
  21. margin-right: 100px;
  22. }
  23. .loader .outer{
  24. border: 10px solid rgba(255, 255, 255, 0);
  25. border-top: 10px solid rgba(255, 99, 107, 0.8);
  26. border-bottom: 10px solid rgba(255, 99, 107, 0.8);
  27. border-radius: 50%;
  28. height: 80px;
  29. width: 80px;
  30. animation: spin1 2s infinite;
  31. position: absolute;
  32. }
  33. .loader .mid{
  34. border: 10px solid rgba(255, 255, 255, 0);
  35. border-right: 10px solid rgba(0, 27, 45, 0.8);
  36. border-left: 10px solid rgba(0, 27, 45, 0.8);
  37. border-radius: 50%;
  38. height: 60px;
  39. width: 60px;
  40. margin: 10px 0 0 10px;
  41. animation: spin2 2s infinite;
  42. position: absolute;
  43. }
  44. .loader .inner{
  45. border: 10px solid rgba(255, 255, 255, 0);
  46. border-top: 10px solid rgba(179, 191, 209, 0.8);
  47. border-bottom: 10px solid rgba(179, 191, 209, 0.8);
  48. border-radius: 50%;
  49. height: 40px;
  50. width: 40px;
  51. margin: 20px 0 0 20px;
  52. animation: spin3 2s infinite;
  53. position: absolute;
  54. }
  55. .loader img{
  56. margin: 10px 0 0 10px;
  57. height: 70px;
  58. width: 80px;
  59. position: absolute;
  60. z-index: -1;
  61. animation: imgSpin 3s linear infinite;
  62. }
  63. @keyframes spin1{
  64. 0% { transform: rotate(0deg); }
  65. 100% { transform: rotate(360deg); }
  66. }
  67. @keyframes spin2{
  68. 0% { transform: rotate(0deg); }
  69. 100% { transform: rotate(720deg); }
  70. }
  71. @keyframes spin3{
  72. 0% { transform: rotate(0deg); }
  73. 100% { transform: rotate(1080deg); }
  74. }
  75. @keyframes imgSpin{
  76. 0% {
  77. transform: rotateY(0deg);
  78. }
  79. 100% {
  80. transform: rotateY(360deg);
  81. }
  82. }
  83. /* General style that should apply to all pages */
  84. h1 {
  85. text-align: center;
  86. padding-bottom: 13px;
  87. }
  88. h3 {
  89. text-align: center;
  90. font-weight: 500;
  91. color: gray;
  92. font-size: 20px;
  93. }
  94. button{
  95. outline: 0;
  96. }
  97. button::-moz-focus-inner{
  98. border: 0;
  99. }
  100. .link {
  101. cursor: pointer;
  102. color: gray;
  103. text-decoration: none;
  104. }
  105. .link:hover {
  106. color: #ff636b;
  107. text-decoration: underline;
  108. cursor: pointer;
  109. }
  110. form{
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: center;
  114. border: 2px solid rgb(0, 27, 45);
  115. padding: 50px;
  116. border-radius: 10px;
  117. margin: 10px;
  118. background: rgb(240, 252, 255);
  119. font-size: 16px;
  120. margin-top: 40px;
  121. width: 550px;
  122. justify-content: space-evenly;
  123. height: auto;
  124. }
  125. .button{
  126. display: initial;
  127. background: rgb(255, 99, 107);
  128. border: none;
  129. text-decoration: none;
  130. border-radius: 4px;
  131. padding: 10px 29px;
  132. color: white;
  133. cursor: pointer;
  134. transition: 0.3s;
  135. text-align: center;
  136. font-size: 18px;
  137. font-weight: bold;
  138. margin-right: 33px;
  139. }
  140. .buttonWithBorder {
  141. background: white;
  142. border: rgb(255, 99, 107) solid 2px;
  143. color: rgb(255, 99, 107);
  144. margin: 0;
  145. margin-top: 18px;
  146. margin-bottom: 12px;
  147. padding-top: 14px;
  148. padding-bottom: 14px;
  149. }
  150. .button:hover{
  151. background: rgb(243, 77, 86);
  152. color: white;
  153. }
  154. .button-small{
  155. background: none;
  156. border: 2px solid rgb(255, 99, 107);
  157. text-decoration: none;
  158. border-radius: 10px;
  159. padding: 3px 5px;
  160. color: #001b2d;
  161. cursor: pointer;
  162. font-size: 15px;
  163. box-shadow: 1px 1px 1px black;
  164. margin: 0 2px;
  165. transition: 0.3s;
  166. }
  167. .public-buttons {
  168. position: inherit;
  169. align-self: center;
  170. margin-right: 39px;
  171. }
  172. .button-small:hover{
  173. background: rgb(0, 27, 45);
  174. color: rgb(240, 252, 255);
  175. }
  176. .buttonDisabled{
  177. background: gray;
  178. text-decoration: none;
  179. border-radius: 10px;
  180. padding: 10px 5px;
  181. color: rgb(0, 27, 45);
  182. cursor: default;
  183. font-size: 25px;
  184. text-align: center;
  185. }
  186. .line-break{
  187. border: 1px solid rgb(255, 99, 107);
  188. margin: 30px 0;
  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. .button-join {
  253. font-size: medium;
  254. color:white;
  255. text-decoration: blink;
  256. }
  257. /* Banner partial */
  258. .banner{
  259. width: 100%;
  260. text-align: center;
  261. list-style-type: none;
  262. font-weight: bold;
  263. color: white;
  264. }
  265. .banner .notification{
  266. background: rgb(201, 201, 201);
  267. list-style-type: none;
  268. padding: 3px;
  269. color: black;
  270. }
  271. .banner .error{
  272. background: rgb(255, 99, 107);
  273. list-style-type: none;
  274. padding: 5px;
  275. color: white;
  276. }
  277. /* Footer Partial */
  278. .spacer{
  279. flex: 1;
  280. }
  281. .footer{
  282. display: flex;
  283. flex-direction: column;
  284. align-items: center;
  285. padding: 10px;
  286. background: rgb(240, 252, 255);
  287. }
  288. .footer > *{
  289. margin: 5px;
  290. }
  291. .footer div > *{
  292. margin: 0 25px;
  293. }
  294. @media screen and (max-width: 600px){
  295. .button{
  296. font-size: 15px;
  297. }
  298. .truncateLong{
  299. max-width: 100px;
  300. white-space: nowrap;
  301. overflow: hidden;
  302. text-overflow: ellipsis;
  303. }
  304. }
  305. label {
  306. margin-top:20px ;
  307. }