app.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. // Fonts
  2. @import "fonts";
  3. // Variables
  4. @import "variables";
  5. // Loading
  6. @import "loading";
  7. body {
  8. font-family: -apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
  9. color: #333;
  10. font-size: 14px;
  11. margin: 0;
  12. padding: 0;
  13. -webkit-font-smoothing: antialiased;
  14. }
  15. div, span {
  16. outline: 0;
  17. }
  18. em, i {
  19. font-style: normal;
  20. }
  21. dd, dl, dt, li, ol, ul {
  22. margin: 0;
  23. padding: 0;
  24. list-style: none;
  25. }
  26. .z-row {
  27. text-rendering: optimizespeed;
  28. display: flex;
  29. align-items: stretch;
  30. flex-flow: row wrap
  31. }
  32. .z-row.gap .z-1,.z-row.gap .z-3,.z-row.gap .z-4,.z-row.gap .z-6,.z-row.gap .z-8,.z-row.gap .z-12,.z-row.gap .z-16,.z-row.gap .z-18,.z-row.gap .z-20,.z-row.gap .z-21,.z-row.gap .z-col {
  33. padding: .35rem .5rem
  34. }
  35. .z-row>.z-row {
  36. width: 100%
  37. }
  38. .z-1,.z-3,.z-4,.z-6,.z-8,.z-12,.z-16,.z-18,.z-20,.z-21,.z-col {
  39. display: inline-block;
  40. zoom: 1;
  41. box-sizing: border-box;
  42. vertical-align: top;
  43. text-rendering: auto
  44. }
  45. .z-1 {
  46. flex-grow: 1;
  47. flex-shrink: 1;
  48. flex-basis: 0;
  49. max-width: 100%
  50. }
  51. .z-3 {
  52. width: 12.5%;
  53. max-width: 12.5%
  54. }
  55. .z-4 {
  56. width: 16.6667%;
  57. max-width: 16.6667%
  58. }
  59. .z-6 {
  60. width: 25%
  61. }
  62. .z-8 {
  63. width: 33.3333%
  64. }
  65. .z-12 {
  66. width: 50%
  67. }
  68. .z-16 {
  69. width: 66.6667%
  70. }
  71. .z-18 {
  72. width: 75%
  73. }
  74. .z-20 {
  75. width: 83.3333%
  76. }
  77. .z-21 {
  78. width: 87.5%
  79. }
  80. .w-box {
  81. -webkit-box-sizing: content-box;
  82. box-sizing: content-box;
  83. * {
  84. -webkit-box-sizing: content-box;
  85. box-sizing: content-box;
  86. }
  87. }
  88. .w-main {
  89. position: absolute;
  90. color: #000000;
  91. top: 0;
  92. left: 0;
  93. min-width: 100%;
  94. min-height: 100%;
  95. padding: 0;
  96. margin: 0;
  97. background: no-repeat center;
  98. background-size: cover;
  99. .w-nav {
  100. position: fixed;
  101. left: 0;
  102. right: 0;
  103. top: 40px;
  104. font-size: 14px;
  105. background-color: rgba(255, 255, 255, 0.9);
  106. z-index: 12;
  107. color: #606266;
  108. height: 32px;
  109. line-height: 34px;
  110. .nav-row {
  111. margin: 0 32px;
  112. display: flex;
  113. flex-direction: row;
  114. align-items: center;
  115. &:before,
  116. &:after {
  117. display: table;
  118. content: "";
  119. }
  120. &:after {
  121. clear: both;
  122. }
  123. span {
  124. margin: 0 12px 0 0;
  125. cursor: pointer;
  126. }
  127. span + span {
  128. padding-left: 12px;
  129. border-left: 1px solid #ccc;
  130. }
  131. .icon {
  132. font-size: 16px;
  133. margin-right: 2px;
  134. }
  135. .w-nav-left {
  136. white-space: nowrap;
  137. padding-right: 24px;
  138. }
  139. .w-nav-flex {
  140. flex: 1;
  141. }
  142. .w-nav-right {
  143. white-space: nowrap;
  144. overflow: hidden;
  145. overflow-x: auto;
  146. -webkit-backface-visibility: hidden;
  147. -webkit-overflow-scrolling: touch;
  148. -webkit-perspective: 1000;
  149. }
  150. }
  151. }
  152. }