shared.css 5.8 KB

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