血透系统pad前端

reset.scss 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. html {
  2. -webkit-text-size-adjust: 100%;
  3. -ms-text-size-adjust: 100%;
  4. font-size: 50px;
  5. }
  6. input[type="submit"],
  7. input[type="reset"],
  8. input[type="button"],
  9. input {
  10. -webkit-appearance: none;
  11. resize: none;
  12. }
  13. button {
  14. outline: none;
  15. border: none;
  16. }
  17. img {
  18. border: none;
  19. }
  20. /* 初始化开始*/
  21. * {
  22. margin: 0;
  23. padding: 0;
  24. box-sizing: border-box;
  25. }
  26. body {
  27. background-color: #ebf1f7;
  28. color: $pgh-color;
  29. font-family: "Microsoft YaHei";
  30. }
  31. em,
  32. i,
  33. b {
  34. font-weight: normal;
  35. font-style: normal;
  36. }
  37. a {
  38. text-decoration: none;
  39. }
  40. a:hover {
  41. text-decoration: none;
  42. }
  43. li {
  44. list-style: none;
  45. }
  46. ul,
  47. li {
  48. padding: 0;
  49. margin: 0;
  50. }
  51. h1,
  52. h2,
  53. h3,
  54. h4,
  55. h5,
  56. h6 {
  57. font-weight: normal;
  58. }
  59. .clearfix:after {
  60. content: "";
  61. display: block;
  62. visibility: hidden;
  63. height: 0;
  64. clear: both;
  65. }
  66. .clearfix {
  67. zoom: 1;
  68. }
  69. .fl {
  70. float: left;
  71. }
  72. .fr {
  73. float: right;
  74. }
  75. input::-webkit-input-placeholder,
  76. textarea::-webkit-input-placeholder {
  77. color: $font-color;
  78. }
  79. input:-moz-placeholder,
  80. textarea:-moz-placeholder {
  81. color: $font-color;
  82. }
  83. input::-moz-placeholder,
  84. textarea::-moz-placeholder {
  85. color: $font-color;
  86. }
  87. input:-ms-input-placeholder,
  88. textarea:-ms-input-placeholder {
  89. color: $font-color;
  90. }
  91. //去掉黄色背景
  92. input:-webkit-autofill {
  93. -webkit-box-shadow: 0 0 0px 1000px white inset;
  94. }
  95. /* 初始化结束 */
  96. /* 针对缺省样式 (必须的) */
  97. ::-webkit-scrollbar {
  98. width: 6px;
  99. height: 10px;
  100. }
  101. /* 滚动条的滑轨背景颜色 */
  102. ::-webkit-scrollbar-track {
  103. background-color: #fff;
  104. border-radius: 3px;
  105. -moz-border-radius: 3px;
  106. -webkit-border-radius: 3px;
  107. }
  108. /* 滑块颜色 */
  109. ::-webkit-scrollbar-thumb {
  110. background: #cfd9df;
  111. border-radius: 3px;
  112. -moz-border-radius: 3px;
  113. -webkit-border-radius: 3px;
  114. }
  115. /*内层轨道的颜色*/
  116. ::-webkit-scrollbar-track-piece {
  117. background-color: #fff;
  118. border-radius: 3px;
  119. -moz-border-radius: 3px;
  120. -webkit-border-radius: 3px;
  121. }
  122. /* 滑轨两头的监听按钮颜色 */
  123. ::-webkit-scrollbar-button {
  124. background-color: #eee;
  125. width: 0;
  126. height: 0;
  127. }
  128. /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
  129. ::-webkit-scrollbar-corner {
  130. background-color: #eee;
  131. }