reset.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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: #f5f5f5;
  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: 13px;
  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: calc(100% - 30px);
  150. min-width: 600px;
  151. padding: 50px 0 0 15px;
  152. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  153. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  154. flex-flow: row nowrap;
  155. justify-content: center;
  156. align-items: center;
  157. }
  158. .tab {
  159. width: 140px;
  160. background: #f5f5f5;
  161. height: 40px;
  162. line-height: 40px;
  163. text-align: center;
  164. }
  165. .inline {
  166. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  167. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  168. flex-flow: row nowrap;
  169. justify-content: flex-start;
  170. align-items: center;
  171. margin-left: 10px;
  172. margin-bottom: 10px;
  173. }
  174. .inline-left {
  175. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  176. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  177. flex-flow: row nowrap;
  178. justify-content: flex-start;
  179. align-items: center;
  180. margin-left: 10px;
  181. margin-bottom: 10px;
  182. }
  183. .inline-left p {
  184. flex-shrink: 0;
  185. }
  186. .inline-right {
  187. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  188. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  189. flex-flow: row nowrap;
  190. justify-content: flex-end;
  191. align-items: center;
  192. }
  193. .inline-space {
  194. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  195. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  196. flex-flow: row nowrap;
  197. justify-content: space-between;
  198. align-items: center;
  199. }
  200. .main-header {
  201. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  202. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  203. flex-flow: row nowrap;
  204. justify-content: flex-start;
  205. align-items: center;
  206. }
  207. .main {
  208. width: calc(100% - 20px);
  209. /* min-width: 1300px; */
  210. margin: 16px 0 10px 0;
  211. background: #fff;
  212. padding: 27px 32px;
  213. box-sizing: border-box;
  214. min-height: calc(100vh - 230px);
  215. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  216. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  217. flex-flow: column nowrap;
  218. justify-content: space-between;
  219. }
  220. .search-styl{
  221. margin: 16px 0 8px 12px;
  222. padding:26px 28px 26px 30px;
  223. background-color: #ffffff;
  224. border-top-left-radius: 5px;
  225. border-bottom-left-radius: 5px;
  226. }
  227. .editInfo{
  228. width:100%;
  229. }
  230. .table-header {
  231. background: #f6f6f6;
  232. color: #333;
  233. font-weight: normal;
  234. }
  235. .screen {
  236. width: calc(100% - 30px);
  237. background: #f8f8f8;
  238. padding: 10px;
  239. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  240. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  241. flex-flow: row nowrap;
  242. justify-content: flex-start;
  243. align-items: center;
  244. margin-top: 10px;
  245. flex-wrap: wrap;
  246. }
  247. .nav {
  248. position: fixed;
  249. top: 25px;
  250. left: 280px;
  251. z-index: 9999;
  252. color: white;
  253. font-size: 14px;
  254. }
  255. .bottom {
  256. width: calc(100% - 250px);
  257. height: 50px;
  258. background: white;
  259. position: fixed;
  260. bottom: 0;
  261. box-shadow: 0 2px 18px #efefef;
  262. z-index: 99;
  263. display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  264. display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  265. justify-content: center;
  266. align-items: center;
  267. }