style.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. @font-face {
  2. font-family: Scada;
  3. font-weight: normal;
  4. font-style: normal;
  5. src: url(/assets/fonts/Scada-Regular.ttf);
  6. }
  7. @font-face {
  8. font-family: Scada;
  9. font-weight: normal;
  10. font-style: italic;
  11. src: url(/assets/fonts/Scada-Italic.ttf);
  12. }
  13. @font-face {
  14. font-family: Scada;
  15. font-weight: bold;
  16. font-style: normal;
  17. src: url(/assets/fonts/Scada-Bold.ttf);
  18. }
  19. @font-face {
  20. font-family: Scada;
  21. font-weight: bold;
  22. font-style: italic;
  23. src: url(/assets/fonts/Scada-BoldItalic.ttf);
  24. }
  25. * {
  26. margin: 0;
  27. box-sizing: border-box;
  28. }
  29. body {
  30. font-family: Scada;
  31. font-size: 16px;
  32. line-height: 1.4;
  33. width: 1100px;
  34. height: 100vh;
  35. margin-left: auto;
  36. margin-right: auto;
  37. background-color: #f5f5f5;
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. header {
  42. display: -webkit-box;
  43. display: -webkit-flex;
  44. display: -ms-flexbox;
  45. display: flex;
  46. }
  47. header > .site-info {
  48. position: relative;
  49. }
  50. header > .site-info > .beta {
  51. position: absolute;
  52. top: 1px;
  53. left: 1px;
  54. z-index: 1;
  55. }
  56. header > .site-info > .version {
  57. font-size: 10px;
  58. position: absolute;
  59. bottom: 8px;
  60. left: 10px;
  61. color: #666699;
  62. z-index: 1;
  63. }
  64. header > div > .logo {
  65. height: 100%;
  66. width: 295px;
  67. display: -webkit-box;
  68. display: -webkit-flex;
  69. display: -ms-flexbox;
  70. display: flex;
  71. -webkit-box-align: center;
  72. -webkit-align-items: center;
  73. -ms-flex-align: center;
  74. align-items: center;
  75. -webkit-box-pack: center;
  76. -webkit-justify-content: center;
  77. -ms-flex-pack: center;
  78. justify-content: center;
  79. }
  80. header > div > .logo object {
  81. width: 150px;
  82. height: 144px;
  83. }
  84. header > div > .logo .logo-link-to-main {
  85. display: none;
  86. }
  87. header > .header-org-name {
  88. border-left: 0;
  89. text-shadow: 1px 1px 4px #d6d6d6;
  90. color: #5a5a5a;
  91. text-align: center;
  92. padding: 5px;
  93. flex-grow: 1;
  94. display: flex;
  95. flex-direction: column;
  96. justify-content: space-evenly;
  97. }
  98. header > .header-org-name > .org-type {
  99. font-size: 14px;
  100. }
  101. header > .header-org-name > .org-caption {
  102. font-size: 35px;
  103. font-weight: 700;
  104. }
  105. header > .header-org-name > .org-caption > span {
  106. color: black;
  107. }
  108. header > .header-org-name > .org-caption-by {
  109. font-size: 20px;
  110. }
  111. header {
  112. flex-shrink: 0;
  113. }
  114. .navbar {
  115. background-color: #ffffff;
  116. box-shadow: inset 0 0 16px #f0f0f0;
  117. border-radius: 10px;
  118. padding: 5px;
  119. margin-bottom: 15px;
  120. }
  121. nav {
  122. display: flex;
  123. justify-content: space-between;
  124. width: 50%;
  125. margin: auto;
  126. }
  127. nav > a {
  128. text-decoration: none;
  129. color: #515151;
  130. font-size: 18px;
  131. }
  132. nav > a:hover {
  133. color: #e91e63;
  134. }
  135. main {
  136. background-color: white;
  137. height: 100%;
  138. overflow: hidden;
  139. position: relative;
  140. border-radius: 20px;
  141. box-shadow: 0 0 16px #e8e8e8;
  142. }
  143. footer {
  144. height: 40px;
  145. flex-shrink: 0;
  146. color: rgb(70, 70, 70);
  147. display: flex;
  148. justify-content: center;
  149. align-items: center;
  150. }
  151. .body {
  152. display: grid;
  153. grid-template-columns: 200px 1fr;
  154. grid-template-rows: 1fr;
  155. grid-gap: 20px;
  156. }
  157. .login {
  158. position: fixed;
  159. top: 0;
  160. right: 20%;
  161. display: block;
  162. padding: 20px 5px 5px 5px;
  163. border-bottom-left-radius: 10px;
  164. border-bottom-right-radius: 10px;
  165. background-color: #2196F3;
  166. color: white;
  167. cursor: pointer;
  168. }
  169. p {
  170. margin: 10px 0;
  171. }
  172. .page {
  173. position: absolute;
  174. top: 0;
  175. left: 0;
  176. right: 0;
  177. bottom: 0;
  178. display: none;
  179. flex-direction: row;
  180. justify-content: center;
  181. align-items: center;
  182. background-color: white;
  183. }
  184. .page.active {
  185. z-index: 10;
  186. display: flex;
  187. }
  188. .page.active.left {
  189. z-index: 11;
  190. left: -100%;
  191. right: 100%;
  192. transition: left 400ms linear, right 400ms linear;
  193. }
  194. .page.active.right {
  195. z-index: 11;
  196. left: 100%;
  197. right: -100%;
  198. transition: left 400ms linear, right 400ms linear;
  199. }
  200. .page.active.up {
  201. z-index: 11;
  202. top: -100%;
  203. bottom: 100%;
  204. transition: top 400ms linear, bottom 400ms linear;
  205. }
  206. .page.active.down {
  207. z-index: 11;
  208. top: 100%;
  209. bottom: -100%;
  210. transition: top 400ms linear, bottom 400ms linear;
  211. }
  212. .page > * {
  213. width: 40vh;
  214. }
  215. .page h2 {
  216. color: rgb(99, 99, 99);
  217. font-size: 40px;
  218. }
  219. .page p {
  220. color: rgb(44, 44, 44);
  221. font-size: 18px;
  222. }
  223. .page button {
  224. border: 2px solid #2196F3;
  225. border-radius: 10px;
  226. width: 50%;
  227. padding: 5px;
  228. font-size: 16px;
  229. font-family: Scada;
  230. color: #ffffff;
  231. background-color: #2196F3;
  232. margin-top: 10px;
  233. outline: none;
  234. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  235. }
  236. .page button:hover {
  237. color: #2196F3;
  238. background-color: #ffffff;
  239. cursor: pointer;
  240. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  241. }
  242. .page-dots {
  243. position: absolute;
  244. bottom: 0;
  245. left: 0;
  246. right: 0;
  247. display: flex;
  248. justify-content: center;
  249. z-index: 20;
  250. }
  251. .page-dots > div {
  252. width: 16px;
  253. height: 16px;
  254. border-radius: 50%;
  255. background-color: rgba(33, 150, 243, 0.35);
  256. margin: 10px;
  257. }
  258. .page-dots > div.active {
  259. background-color: rgb(33, 150, 243);
  260. }
  261. .page-dots > div:hover:not(.active) {
  262. background-color: rgba(33, 150, 243, 0.75);
  263. cursor: pointer;
  264. }