index.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. @font-face {
  8. font-family: SourceHanSansCnRegular;
  9. src: url(../font//SourceHanSansCN-Regular.otf);
  10. }
  11. body {
  12. height: 100%;
  13. -moz-osx-font-smoothing: grayscale;
  14. -webkit-font-smoothing: antialiased;
  15. text-rendering: optimizeLegibility;
  16. font-family: SourceHanSansCnRegular, SimSun, '宋体';
  17. }
  18. .el-select-dropdown__empty{
  19. display: none !important;
  20. }
  21. label {
  22. font-weight: 700;
  23. }
  24. html {
  25. height: 100%;
  26. box-sizing: border-box;
  27. }
  28. #app {
  29. height: 100%;
  30. }
  31. *,
  32. *:before,
  33. *:after {
  34. box-sizing: inherit;
  35. }
  36. .no-padding {
  37. padding: 0px !important;
  38. }
  39. .padding-content {
  40. padding: 4px 0;
  41. }
  42. a:focus,
  43. a:active {
  44. outline: none;
  45. }
  46. a,
  47. a:focus,
  48. a:hover {
  49. cursor: pointer;
  50. color: inherit;
  51. text-decoration: none;
  52. }
  53. div:focus {
  54. outline: none;
  55. }
  56. .fr {
  57. float: right;
  58. }
  59. .fl {
  60. float: left;
  61. }
  62. .pr-5 {
  63. padding-right: 5px;
  64. }
  65. .pl-5 {
  66. padding-left: 5px;
  67. }
  68. .block {
  69. display: block;
  70. }
  71. .pointer {
  72. cursor: pointer;
  73. }
  74. .inlineBlock {
  75. display: block;
  76. }
  77. .clearfix {
  78. &:after {
  79. visibility: hidden;
  80. display: block;
  81. font-size: 0;
  82. content: ' ';
  83. clear: both;
  84. height: 0;
  85. }
  86. }
  87. aside {
  88. background: #eef1f6;
  89. padding: 8px 24px;
  90. margin-bottom: 20px;
  91. border-radius: 2px;
  92. display: block;
  93. line-height: 32px;
  94. font-size: 16px;
  95. color: #2c3e50;
  96. -webkit-font-smoothing: antialiased;
  97. -moz-osx-font-smoothing: grayscale;
  98. a {
  99. color: #337ab7;
  100. cursor: pointer;
  101. &:hover {
  102. color: rgb(32, 160, 255);
  103. }
  104. }
  105. }
  106. //main-container全局样式
  107. .app-container {
  108. padding: 16px;
  109. height: 100%;
  110. box-sizing: border-box;
  111. }
  112. .components-container {
  113. margin: 30px 50px;
  114. position: relative;
  115. }
  116. .pagination-container {
  117. margin-top: 30px;
  118. }
  119. .text-center {
  120. text-align: center;
  121. }
  122. .sub-navbar {
  123. height: 50px;
  124. line-height: 50px;
  125. position: relative;
  126. width: 100%;
  127. text-align: right;
  128. padding-right: 20px;
  129. transition: 600ms ease position;
  130. background: linear-gradient(
  131. 90deg,
  132. rgba(32, 182, 249, 1) 0%,
  133. rgba(32, 182, 249, 1) 0%,
  134. rgba(33, 120, 241, 1) 100%,
  135. rgba(33, 120, 241, 1) 100%
  136. );
  137. .subtitle {
  138. font-size: 20px;
  139. color: #fff;
  140. }
  141. &.draft {
  142. background: #d0d0d0;
  143. }
  144. &.deleted {
  145. background: #d0d0d0;
  146. }
  147. }
  148. .link-type,
  149. .link-type:focus {
  150. color: #337ab7;
  151. cursor: pointer;
  152. &:hover {
  153. color: rgb(32, 160, 255);
  154. }
  155. }
  156. .filter-container {
  157. padding-bottom: 10px;
  158. .filter-item {
  159. display: inline-block;
  160. vertical-align: middle;
  161. margin-bottom: 10px;
  162. }
  163. }
  164. .amap-logo {
  165. display: none !important;
  166. }
  167. .amap-copyright {
  168. display: none !important;
  169. }
  170. .amap-info-content {
  171. background: transparent;
  172. padding: 0;
  173. border-radius: 10px;
  174. }
  175. .dashed-divider {
  176. width: 100%;
  177. height: 1px;
  178. margin: 10px 0;
  179. background-image: linear-gradient(
  180. to right,
  181. #ccc 0%,
  182. #ccc 50%,
  183. transparent 50%
  184. );
  185. background-size: 8px 1px;
  186. background-repeat: repeat-x;
  187. }