reset.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  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,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video, input {
  18. margin: 0;
  19. padding: 0;
  20. }
  21. img{width: 100%;height: 100%;}
  22. table {
  23. border-collapse: collapse;
  24. border-spacing: 0;
  25. }
  26. /* custom */
  27. a {
  28. text-decoration: none;
  29. -webkit-backface-visibility: hidden;
  30. }
  31. li {
  32. list-style: none;
  33. }
  34. html, body {
  35. width: 100%;
  36. height: 100%;
  37. background: #e5e5e5;
  38. }
  39. body {
  40. font-size: 12px;
  41. -webkit-text-size-adjust: none;
  42. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  43. color: #333333;
  44. }
  45. .display-flex{
  46. display: -webkit-box;
  47. display: -moz-box;
  48. display: -ms-flexbox;
  49. display: -webkit-flex;
  50. display: flex;
  51. }
  52. .flex-item {
  53. -webkit-box-flex: 1;
  54. -moz-box-flex: 1;
  55. -webkit-flex: 1;
  56. -ms-flex: 1;
  57. flex: 1;
  58. box-flex:1;
  59. }
  60. .flex-direction {
  61. -webkit-box-orient: vertical;
  62. -webkit-flex-direction: column;
  63. -moz-flex-direction: column;
  64. -ms-flex-direction: column;
  65. -o-flex-direction: column;
  66. flex-direction: column;
  67. }
  68. .justify-content {
  69. -webkit-box-pack: center;
  70. -moz-justify-content: center;
  71. -webkit-justify-content: center;
  72. justify-content: center;
  73. -moz-box-pack:center;
  74. -webkit--moz-box-pack:center;
  75. box-pack:center;
  76. }
  77. .justify-content-between {
  78. -webkit-box-pack: space-between;
  79. -moz-justify-content: space-between;
  80. -webkit-justify-content: space-between;
  81. justify-content: space-between;
  82. -moz-box-pack:space-between;
  83. -webkit--moz-box-pack:space-between;
  84. box-pack:space-between;
  85. }
  86. .justify-content-around {
  87. -webkit-box-pack: space-around;
  88. -moz-justify-content: space-around;
  89. -webkit-justify-content: space-around;
  90. justify-content: space-around;
  91. -moz-box-pack:space-around;
  92. -webkit--moz-box-pack:space-around;
  93. box-pack:space-around;
  94. }
  95. .align-items {
  96. -webkit-box-align: center;
  97. -moz-align-items: center;
  98. -webkit-align-items: center;
  99. align-items: center;
  100. box-align:center;
  101. -moz-box-align:center;
  102. }
  103. .flex-wrap{
  104. -webkit-flex-wrap:wrap;
  105. -webkit-box-lines:multiple;
  106. -moz-flex-wrap:wrap;
  107. flex-wrap:wrap;
  108. }
  109. .box-sizing {
  110. -moz-box-sizing: border-box;
  111. -webkit-box-sizing: border-box;
  112. -o-box-sizing: border-box;
  113. -ms-box-sizing: border-box;
  114. box-sizing: border-box;
  115. }
  116. .opacity0 {
  117. filter:alpha(opacity=0);
  118. -moz-opacity:0;
  119. -khtml-opacity: 0;
  120. opacity: 0;
  121. }
  122. .clearfix:after {clear:both;display:block;content: " ";height:0px; line-height:0px;overflow:hidden;}
  123. .float-left{float: left;}
  124. .mpw-dock {
  125. position: fixed;
  126. right: 0;
  127. bottom: 0;
  128. left: 0;
  129. top: 0;
  130. width: 100%;
  131. background: #fff;
  132. visibility: hidden;
  133. background-color: rgba(0, 0, 0, 0.5);
  134. opacity: 0;
  135. height: 100%;
  136. z-index: 1;
  137. }
  138. .calendar_choose {
  139. position: fixed;
  140. z-index: 1002;
  141. right: 0;
  142. bottom: 0;
  143. left: 0;
  144. width: 100%;
  145. background: #fff;
  146. }
  147. .mpw-dock.is-visible {
  148. opacity: 1;
  149. visibility: visible;
  150. }