reset.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /* reset */
  2. html,
  3. body,
  4. h1,
  5. h2,
  6. h3,
  7. h4,
  8. h5,
  9. h6,
  10. div,
  11. dl,
  12. dt,
  13. dd,
  14. ul,
  15. ol,
  16. li,
  17. p,
  18. blockquote,
  19. pre,
  20. hr,
  21. figure,
  22. table,
  23. caption,
  24. th,
  25. td,
  26. form,
  27. fieldset,
  28. legend,
  29. input,
  30. button,
  31. textarea,
  32. menu {
  33. margin: 0;
  34. padding: 0;
  35. }
  36. header,
  37. footer,
  38. section,
  39. article,
  40. aside,
  41. nav,
  42. hgroup,
  43. address,
  44. figure,
  45. figcaption,
  46. menu,
  47. details {
  48. display: block;
  49. }
  50. table {
  51. border-collapse: collapse;
  52. border-spacing: 0;
  53. }
  54. caption,
  55. th {
  56. text-align: left;
  57. font-weight: normal;
  58. }
  59. html,
  60. body,
  61. fieldset,
  62. img,
  63. iframe,
  64. abbr {
  65. border: 0;
  66. }
  67. i,
  68. cite,
  69. em,
  70. var,
  71. address,
  72. dfn {
  73. font-style: normal;
  74. }
  75. [hidefocus],
  76. summary {
  77. outline: 0;
  78. }
  79. li {
  80. list-style: none;
  81. }
  82. h1,
  83. h2,
  84. h3,
  85. h4,
  86. h5,
  87. h6,
  88. small {
  89. font-size: 100%;
  90. }
  91. sup,
  92. sub {
  93. font-size: 83%;
  94. }
  95. pre,
  96. code,
  97. kbd,
  98. samp {
  99. font-family: inherit;
  100. }
  101. q:before,
  102. q:after {
  103. content: none;
  104. }
  105. textarea {
  106. overflow: auto;
  107. resize: none;
  108. }
  109. label,
  110. summary {
  111. cursor: default;
  112. }
  113. a,
  114. button {
  115. cursor: pointer;
  116. }
  117. h1,
  118. h2,
  119. h3,
  120. h4,
  121. h5,
  122. h6,
  123. em,
  124. strong,
  125. b {
  126. font-weight: bold;
  127. }
  128. del,
  129. ins,
  130. u,
  131. s,
  132. a,
  133. a:hover {
  134. text-decoration: none;
  135. }
  136. body,
  137. textarea,
  138. input,
  139. button,
  140. select,
  141. keygen,
  142. legend {
  143. font: 12px/1.14 arial, \5b8b\4f53;
  144. color: #333;
  145. outline: 0;
  146. }
  147. body {
  148. background: #fff;
  149. }
  150. a,
  151. a:hover {
  152. color: #333;
  153. }
  154. /* 修改 element-UI */
  155. body .el-scrollbar__wrap {
  156. overflow-x: hidden;
  157. }
  158. .el-select-dropdown .el-scrollbar {
  159. padding-bottom: 14px;
  160. }
  161. /*滚动条样式*/
  162. ::-webkit-scrollbar {
  163. width: 8px;
  164. height: 8px;
  165. }
  166. ::-webkit-scrollbar-thumb {
  167. border-radius: 10px;
  168. background: #dddddd;
  169. }
  170. ::-webkit-scrollbar-track {
  171. border-radius: 10px;
  172. background: #eeeeee;
  173. }
  174. .marsBlackPanel {
  175. min-width: 90px;
  176. min-height: 35px;
  177. position: absolute;
  178. left: 16px;
  179. bottom: 31px;
  180. cursor: default;
  181. border-radius: 4px;
  182. opacity: 0.96;
  183. border: 1px solid #14171c;
  184. box-shadow: 0px 2px 21px 0px rgba(33, 34, 39, 0.55);
  185. border-radius: 4px;
  186. box-sizing: border-box;
  187. background: linear-gradient(0deg, #1e202a 0%, #0d1013 100%);
  188. }
  189. .marsBlackPanel::before {
  190. content: "";
  191. width: calc(100% + 22px);
  192. height: 39px;
  193. position: absolute;
  194. bottom: -39px;
  195. left: -22px;
  196. background: url("./static/iamges/popupLbl.png") 0px 0px no-repeat;
  197. background-position: 0px 0px;
  198. }
  199. .marsBlackPanel-text {
  200. width: 100%;
  201. height: 100%;
  202. min-height: 33px;
  203. text-align: center;
  204. padding: 10px 5px 0 5px;
  205. margin: 0;
  206. font-size: 14px;
  207. font-weight: 400;
  208. color: #ffffff;
  209. border: 1px solid #ffffff4f;
  210. -webkit-box-sizing: border-box;
  211. box-sizing: border-box;
  212. white-space: nowrap;
  213. }
  214. .marsBlackPanel-highlight {
  215. border: 2px solid yellow;
  216. }
  217. .animation-spaceInDown {
  218. animation-duration: 1s;
  219. animation-fill-mode: both;
  220. animation-name: spaceInDown;
  221. }
  222. @keyframes spaceInDown {
  223. 0% {
  224. opacity: 0;
  225. transform-origin: 0% 100%;
  226. transform: scale(0.2) translate(0, 200%);
  227. }
  228. 100% {
  229. opacity: 1;
  230. transform-origin: 0% 100%;
  231. transform: scale(1) translate(0, 0);
  232. }
  233. }