common.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html,
  6. body,
  7. div,
  8. span,
  9. applet,
  10. object,
  11. iframe,
  12. h1,
  13. h2,
  14. h3,
  15. h4,
  16. h5,
  17. h6,
  18. p,
  19. blockquote,
  20. pre,
  21. a,
  22. abbr,
  23. acronym,
  24. address,
  25. big,
  26. cite,
  27. code,
  28. del,
  29. dfn,
  30. em,
  31. img,
  32. ins,
  33. kbd,
  34. q,
  35. s,
  36. samp,
  37. small,
  38. strike,
  39. strong,
  40. sub,
  41. sup,
  42. tt,
  43. var,
  44. b,
  45. u,
  46. i,
  47. center,
  48. dl,
  49. dt,
  50. dd,
  51. ol,
  52. ul,
  53. li,
  54. fieldset,
  55. form,
  56. label,
  57. legend,
  58. table,
  59. caption,
  60. tbody,
  61. tfoot,
  62. thead,
  63. tr,
  64. th,
  65. td,
  66. article,
  67. aside,
  68. canvas,
  69. details,
  70. embed,
  71. figure,
  72. figcaption,
  73. footer,
  74. header,
  75. hgroup,
  76. menu,
  77. nav,
  78. output,
  79. ruby,
  80. section,
  81. summary,
  82. time,
  83. mark,
  84. audio,
  85. video {
  86. margin: 0;
  87. padding: 0;
  88. border: 0;
  89. font-size: 14px;
  90. font: inherit;
  91. vertical-align: baseline;
  92. }
  93. /* HTML5 display-role reset for older browsers */
  94. article,
  95. aside,
  96. details,
  97. figcaption,
  98. figure,
  99. footer,
  100. header,
  101. hgroup,
  102. menu,
  103. nav,
  104. section {
  105. display: block;
  106. }
  107. body {
  108. line-height: 1;
  109. }
  110. ol,
  111. ul {
  112. list-style: none;
  113. }
  114. blockquote,
  115. q {
  116. quotes: none;
  117. }
  118. blockquote:before,
  119. blockquote:after,
  120. q:before,
  121. q:after {
  122. content: '';
  123. content: none;
  124. }
  125. table {
  126. border-collapse: collapse;
  127. border-spacing: 0;
  128. }
  129. * {
  130. box-sizing: border-box;
  131. }
  132. a {
  133. text-decoration: unset;
  134. }
  135. html,
  136. body {
  137. background-color: #060B2E;
  138. height: 100%;
  139. width: 100%;
  140. min-width: 1920px;
  141. min-height: 1080px;
  142. }
  143. .header-wrapper {
  144. display: flex;
  145. justify-content: center;
  146. background-color: #08133D;
  147. position: relative;
  148. }
  149. .header-wrapper:hover .nav-bar {
  150. top: 0px;
  151. }
  152. .header-wrapper .title {
  153. text-align: center;
  154. line-height: 80px;
  155. font-size: 2.6em;
  156. color: #69F8FE;
  157. position: relative;
  158. width: 623px
  159. }
  160. .header-wrapper .title svg {
  161. position: absolute;
  162. left: -140px;
  163. top: -2px;
  164. }
  165. .header-wrapper .title:after {
  166. content: '';
  167. width: 100%;
  168. height: 2px;
  169. background-color: #fff;
  170. position: absolute;
  171. bottom: -10px;
  172. left: 0px;
  173. }
  174. .nav-bar {
  175. position: absolute;
  176. left: 0;
  177. top: -90px;
  178. height: 90px;
  179. background-color: #0E1E51;
  180. transition: top 0.75s;
  181. display: flex;
  182. align-items: center;
  183. padding: 0 16px;
  184. width: 100%;
  185. }
  186. .login-content {
  187. position: absolute;
  188. right: 50px;
  189. top: 0;
  190. height: 100%;
  191. display: flex;
  192. align-items: center;
  193. }
  194. .login-content .login-href {
  195. color: #fff;
  196. cursor: pointer;
  197. margin-right: 30px;
  198. }
  199. .login-content .logout-href {
  200. color: #fff;
  201. cursor: pointer;
  202. margin-right: 30px;
  203. }
  204. .login-content .select-input {
  205. min-width: 80px;
  206. max-width: 300px;
  207. height: 32px;
  208. position: relative;
  209. vertical-align: middle;
  210. padding: 2px;
  211. background-color: #001346;
  212. color: #fff;
  213. text-shadow: none;
  214. border-radius: 4px;
  215. transition: box-shadow 0.25s ease;
  216. border: 1px solid #0b52e0;
  217. z-index: 2;
  218. display: flex;
  219. align-items: center;
  220. padding-right: 20px;
  221. }
  222. .login-content .select-input:before {
  223. content: "";
  224. position: absolute;
  225. width: 0;
  226. height: 0;
  227. border: 6px solid transparent;
  228. border-top-color: #fff;
  229. top: 12px;
  230. right: 4px;
  231. cursor: pointer;
  232. z-index: -2;
  233. }
  234. .login-content .select-input .muchang-list {
  235. position: absolute;
  236. left: 0px;
  237. top: 100%;
  238. width: 100%;
  239. display: none;
  240. background-color: #001346;
  241. border-radius: 0 0 6px 6px;
  242. box-shadow: 0px -5px 5px 0px rgba(255, 255, 255, 0.1), -5px 0px 5px 0px rgba(255, 255, 255, 0.1), 5px 0px 5px 0px rgba(255, 255, 255, 0.1), 0px 5px 5px 0px rgba(255, 255, 255, 0.1);
  243. }
  244. .login-content .select-input .muchang-list li {
  245. text-align: center;
  246. height: 30px;
  247. line-height: 30px;
  248. cursor: pointer;
  249. padding: 0 10px;
  250. }
  251. .login-content .select-input .muchang-list li:hover {
  252. background-color: #528DFF
  253. }
  254. .login-content .select-input .muchang-title {
  255. width: 100%;
  256. height: 100%;
  257. padding-left: 10px;
  258. color: #fff;
  259. display: flex;
  260. align-items: center;
  261. font-size: 0.9em;
  262. cursor: pointer;
  263. }
  264. .nav-bar .item {
  265. cursor: pointer;
  266. padding: 10px 30px;
  267. color: #ffffff;
  268. font-size: 22px;
  269. border-right: 2px solid transparent;
  270. border-image: linear-gradient(0, #0A214A, #6DDFE9, #0A214A) 1;
  271. }
  272. .nav-bar .item:last-child {
  273. border-right: 0;
  274. }
  275. .nav-bar .item.active {
  276. /*color: #6DDFE9; */
  277. background: linear-gradient(to top, #69F8FE, #f4f4f4);
  278. -webkit-background-clip: text;
  279. color: transparent;
  280. font-weight: bold;
  281. }
  282. body::-webkit-scrollbar {
  283. /*滚动条整体样式*/
  284. width: 10px;
  285. /*高宽分别对应横竖滚动条的尺寸*/
  286. height: 10px;
  287. scrollbar-arrow-color: #00f;
  288. }
  289. body::-webkit-scrollbar-thumb {
  290. /*滚动条里面小方块*/
  291. border-radius: 6px;
  292. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  293. background: rgba(6,11,46, 1);
  294. scrollbar-arrow-color: red;
  295. }
  296. body::-webkit-scrollbar-track {
  297. /*滚动条里面轨道*/
  298. -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.8);
  299. border-radius: 0;
  300. background: rgba(255, 255, 255, 0.8);
  301. }