common.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 14px;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28. display: block;
  29. }
  30. body {
  31. line-height: 1;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. * {
  49. box-sizing: border-box;
  50. }
  51. a {
  52. text-decoration: unset;
  53. }
  54. html, body {
  55. background-color: #060B2E;
  56. height: 100%;
  57. width: 100%;
  58. min-width:1920px;
  59. min-height:1080px;
  60. }
  61. .header-wrapper {
  62. display: flex;
  63. justify-content: center;
  64. background-color: #08133D;
  65. position:relative;
  66. }
  67. .header-wrapper:hover .nav-bar {
  68. top:0px;
  69. }
  70. .header-wrapper .title {
  71. text-align: center;
  72. line-height: 80px;
  73. font-size: 2.6em;
  74. color: #69F8FE;
  75. position:relative;
  76. width:623px
  77. }
  78. .header-wrapper .title svg{
  79. position:absolute;
  80. left:-140px;
  81. top:-2px;
  82. }
  83. .header-wrapper .title:after{
  84. content:'';
  85. width:100%;
  86. height:2px;
  87. background-color:#fff;
  88. position:absolute;
  89. bottom:-10px;
  90. left:0px;
  91. }
  92. .nav-bar {
  93. position: absolute;
  94. left: 0;
  95. top: -90px;
  96. height: 90px;
  97. background-color: #0E1E51;
  98. transition: top 0.75s;
  99. display: flex;
  100. align-items: center;
  101. padding: 0 16px;
  102. width:100%;
  103. }
  104. .login-content{
  105. position:absolute;
  106. right:50px;
  107. top:0;
  108. height:100%;
  109. display:flex;
  110. align-items:center;
  111. }
  112. .login-content .login-href{
  113. color:#fff;
  114. cursor:pointer;
  115. margin-right:30px;
  116. }
  117. .login-content .logout-href{
  118. color:#fff;
  119. cursor:pointer;
  120. margin-right:30px;
  121. }
  122. .login-content .select-input{
  123. min-width:80px;
  124. max-width:300px;
  125. height: 32px;
  126. position: relative;
  127. vertical-align: middle;
  128. padding: 2px;
  129. background-color: #001346;
  130. color: #fff;
  131. text-shadow: none;
  132. border-radius: 4px;
  133. transition: box-shadow 0.25s ease;
  134. border: 1px solid #0b52e0;
  135. z-index: 2;
  136. display: flex;
  137. align-items: center;
  138. padding-right: 20px;
  139. }
  140. .login-content .select-input:before {
  141. content: "";
  142. position: absolute;
  143. width: 0;
  144. height: 0;
  145. border: 6px solid transparent;
  146. border-top-color: #fff;
  147. top: 12px;
  148. right: 4px;
  149. cursor: pointer;
  150. z-index: -2;
  151. }
  152. .login-content .select-input .muchang-list{
  153. position:absolute;
  154. left:0px;
  155. top:100%;
  156. width:100%;
  157. display:none;
  158. background-color: #001346;
  159. border-radius: 0 0 6px 6px;
  160. 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);
  161. }
  162. .login-content .select-input .muchang-list li{
  163. text-align:center;
  164. height:30px;
  165. line-height:30px;
  166. cursor:pointer;
  167. padding:0 10px;
  168. }
  169. .login-content .select-input .muchang-list li:hover{
  170. background-color:#528DFF
  171. }
  172. .login-content .select-input .muchang-title{
  173. width:100%;
  174. height:100%;
  175. padding-left: 10px;
  176. color: #fff;
  177. display:flex;
  178. align-items:center;
  179. font-size:0.9em;
  180. cursor:pointer;
  181. }
  182. .nav-bar .item {
  183. cursor: pointer;
  184. padding: 10px 30px;
  185. color: #ffffff;
  186. font-size: 22px;
  187. border-right: 2px solid transparent;
  188. border-image: linear-gradient(0, #0A214A, #6DDFE9, #0A214A) 1;
  189. }
  190. .nav-bar .item:last-child {
  191. border-right: 0;
  192. }
  193. .nav-bar .item.active {
  194. /*color: #6DDFE9; */
  195. background: linear-gradient(to top, #69F8FE,#f4f4f4);
  196. -webkit-background-clip: text;
  197. color: transparent;
  198. font-weight:bold;
  199. }