reset.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  4. */
  5. * {
  6. margin: 0;
  7. padding: 0;
  8. border: 0;
  9. }
  10. /* HTML5 display-role reset for older browsers */
  11. article,
  12. aside,
  13. details,
  14. figcaption,
  15. figure,
  16. footer,
  17. header,
  18. menu,
  19. nav,
  20. section {
  21. display: block;
  22. }
  23. body {
  24. line-height: 1;
  25. background: #F3F5FB;
  26. overflow-x: hidden;
  27. font-family: 'Microsoft YaHei';
  28. }
  29. blockquote,
  30. q {
  31. quotes: none;
  32. }
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6 {
  39. font-weight: normal;
  40. }
  41. p {
  42. font-size: 16px;
  43. line-height: 1.5;
  44. color: #666;
  45. }
  46. h1 {
  47. font-size: 16px;
  48. line-height: 1.5;
  49. font-weight: normal;
  50. }
  51. .tips {
  52. margin-top: 5px;
  53. font-size: 12px;
  54. line-height: 1.5;
  55. color: #999;
  56. }
  57. .tips-main {
  58. margin-top: 5px;
  59. font-size: 12px;
  60. line-height: 1.5;
  61. color: #eb1200;
  62. }
  63. input::-webkit-outer-spin-button,
  64. input::-webkit-inner-spin-button {
  65. -webkit-appearance: none;
  66. }
  67. input[type='number'] {
  68. -moz-appearance: textfield;
  69. }
  70. img {
  71. -webkit-user-select: none;
  72. -moz-user-select: none;
  73. -ms-user-select: none;
  74. user-select: none;
  75. }
  76. button {
  77. background: white;
  78. }
  79. blockquote:before,
  80. blockquote:after,
  81. q:before,
  82. q:after {
  83. content: none;
  84. }
  85. table {
  86. border-collapse: collapse;
  87. border-spacing: 0;
  88. }
  89. a {
  90. text-decoration: none;
  91. -webkit-backface-visibility: hidden;
  92. }
  93. li {
  94. list-style: none;
  95. }
  96. ::-webkit-scrollbar {
  97. width: 5px;
  98. height: 5px;
  99. }
  100. ::-webkit-scrollbar-track-piece {
  101. background-color: rgba(0, 0, 0, 0.2);
  102. -webkit-border-radius: 6px;
  103. }
  104. ::-webkit-scrollbar-thumb:vertical {
  105. height: 5px;
  106. background-color: rgba(125, 125, 125, 0.7);
  107. -webkit-border-radius: 6px;
  108. }
  109. ::-webkit-scrollbar-thumb:horizontal {
  110. width: 5px;
  111. background-color: rgba(125, 125, 125, 0.7);
  112. -webkit-border-radius: 6px;
  113. }
  114. html,
  115. body {
  116. width: 100%;
  117. height: 100%;
  118. }
  119. body {
  120. -webkit-text-size-adjust: none;
  121. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  122. }
  123. .icon {
  124. vertical-align: -0.15em;
  125. }
  126. .header {
  127. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  128. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  129. flex-flow: row nowrap;
  130. justify-content: space-between;
  131. align-items: center;
  132. position: fixed;
  133. background: white;
  134. border-bottom: 1px solid #dcdfe6;
  135. top: 0;
  136. height: 60px;
  137. width: calc(100vw - 200px);
  138. padding-left: 20px;
  139. z-index: 9;
  140. }
  141. .main-header {
  142. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  143. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  144. flex-flow: row nowrap;
  145. justify-content: flex-start;
  146. align-items: center;
  147. }
  148. .footer {
  149. width: 100%;
  150. /* min-width: 600px; */
  151. box-sizing: border-box;
  152. padding: 0 30px;
  153. height: 64px;
  154. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  155. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  156. flex-flow: row nowrap;
  157. justify-content: flex-end;
  158. align-items: center;
  159. background: #fff;
  160. margin-top: 3px;
  161. }
  162. .tab {
  163. width: 140px;
  164. background: #f5f5f5;
  165. height: 40px;
  166. line-height: 40px;
  167. text-align: center;
  168. }
  169. .inline {
  170. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  171. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  172. flex-flow: row nowrap;
  173. justify-content: flex-start;
  174. align-items: center;
  175. margin-left: 10px;
  176. margin-bottom: 10px;
  177. }
  178. .inline-left {
  179. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  180. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  181. flex-flow: row nowrap;
  182. justify-content: flex-start;
  183. align-items: center;
  184. margin-left: 10px;
  185. margin-bottom: 10px;
  186. }
  187. .inline-left p {
  188. flex-shrink: 0;
  189. }
  190. .inline-right {
  191. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  192. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  193. flex-flow: row nowrap;
  194. justify-content: flex-end;
  195. align-items: center;
  196. }
  197. .inline-space {
  198. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  199. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  200. flex-flow: row nowrap;
  201. justify-content: space-between;
  202. align-items: center;
  203. }
  204. .main-header {
  205. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  206. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  207. flex-flow: row nowrap;
  208. justify-content: flex-start;
  209. align-items: center;
  210. }
  211. .main {
  212. width: calc(100% - 20px);
  213. min-width: 1300px;
  214. /* margin: 15px 15px 15px; */
  215. /* background: #fff; */
  216. padding: 10px 10px 80px;
  217. box-sizing: border-box;
  218. min-height: calc(100vh - 90px);
  219. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  220. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  221. flex-flow: column nowrap;
  222. justify-content: flex-start;
  223. align-items: flex-start;
  224. }
  225. .editInfo{
  226. width:100%;
  227. }
  228. .table-header {
  229. background: #f6f6f6;
  230. color: #333;
  231. font-weight: normal;
  232. }
  233. .screen {
  234. width: calc(100% - 30px);
  235. background: #f8f8f8;
  236. padding: 10px;
  237. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  238. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  239. flex-flow: row nowrap;
  240. justify-content: flex-start;
  241. align-items: center;
  242. margin-top: 10px;
  243. flex-wrap: wrap;
  244. }
  245. .nav {
  246. position: fixed;
  247. top: 25px;
  248. left: 280px;
  249. z-index: 9999;
  250. color: white;
  251. font-size: 14px;
  252. }