index.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. @import './font.scss';
  8. body {
  9. height: 100%;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  14. }
  15. label {
  16. font-weight: 700;
  17. }
  18. html {
  19. height: 100%;
  20. box-sizing: border-box;
  21. }
  22. #app {
  23. min-height: 100vh;
  24. }
  25. *,
  26. *:before,
  27. *:after {
  28. box-sizing: inherit;
  29. }
  30. .no-padding {
  31. padding: 0px !important;
  32. }
  33. .padding-content {
  34. padding: 4px 0;
  35. }
  36. a:focus,
  37. a:active {
  38. outline: none;
  39. }
  40. a,
  41. a:focus,
  42. a:hover {
  43. cursor: pointer;
  44. color: inherit;
  45. text-decoration: none;
  46. }
  47. div:focus {
  48. outline: none;
  49. }
  50. .fr {
  51. float: right;
  52. }
  53. .fl {
  54. float: left;
  55. }
  56. .pr-5 {
  57. padding-right: 5px;
  58. }
  59. .pl-5 {
  60. padding-left: 5px;
  61. }
  62. .block {
  63. display: block;
  64. }
  65. .pointer {
  66. cursor: pointer;
  67. }
  68. .inlineBlock {
  69. display: block;
  70. }
  71. .clearfix {
  72. &:after {
  73. visibility: hidden;
  74. display: block;
  75. font-size: 0;
  76. content: ' ';
  77. clear: both;
  78. height: 0;
  79. }
  80. }
  81. aside {
  82. background: #eef1f6;
  83. padding: 8px 24px;
  84. margin-bottom: 20px;
  85. border-radius: 2px;
  86. display: block;
  87. line-height: 32px;
  88. font-size: 16px;
  89. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans',
  90. 'Droid Sans', 'Helvetica Neue', sans-serif;
  91. color: #2c3e50;
  92. -webkit-font-smoothing: antialiased;
  93. -moz-osx-font-smoothing: grayscale;
  94. a {
  95. color: #337ab7;
  96. cursor: pointer;
  97. &:hover {
  98. color: rgb(32, 160, 255);
  99. }
  100. }
  101. }
  102. //main-container全局样式
  103. .app-container {
  104. padding: 20px;
  105. }
  106. .components-container {
  107. margin: 30px 50px;
  108. position: relative;
  109. }
  110. .pagination-container {
  111. margin-top: 30px;
  112. }
  113. .text-center {
  114. text-align: center;
  115. }
  116. .sub-navbar {
  117. height: 50px;
  118. line-height: 50px;
  119. position: relative;
  120. width: 100%;
  121. text-align: right;
  122. padding-right: 20px;
  123. transition: 600ms ease position;
  124. background: linear-gradient(
  125. 90deg,
  126. rgba(32, 182, 249, 1) 0%,
  127. rgba(32, 182, 249, 1) 0%,
  128. rgba(33, 120, 241, 1) 100%,
  129. rgba(33, 120, 241, 1) 100%
  130. );
  131. .subtitle {
  132. font-size: 20px;
  133. color: #fff;
  134. }
  135. &.draft {
  136. background: #d0d0d0;
  137. }
  138. &.deleted {
  139. background: #d0d0d0;
  140. }
  141. }
  142. .link-type,
  143. .link-type:focus {
  144. color: #337ab7;
  145. cursor: pointer;
  146. &:hover {
  147. color: rgb(32, 160, 255);
  148. }
  149. }
  150. //refine vue-multiselect plugin
  151. .multiselect {
  152. line-height: 16px;
  153. }
  154. .multiselect--active {
  155. z-index: 1000 !important;
  156. }
  157. // 状态颜色
  158. .status {
  159. &.success {
  160. color: #67c23a;
  161. }
  162. &.danger {
  163. color: #f56c6c;
  164. }
  165. &.warning {
  166. color: #e6a23c;
  167. }
  168. }
  169. .hidden {
  170. .el-upload {
  171. display: none !important;
  172. }
  173. }
  174. .tableHeader {
  175. th {
  176. background-color: #f7f7f7 !important;
  177. }
  178. }
  179. // .el-badge__content.is-fixed{
  180. // top: 14px !important;
  181. // }
  182. .el-drawer__header {
  183. margin-bottom: 0 !important;
  184. }
  185. .table-cell {
  186. .cell {
  187. overflow: visible !important;
  188. .el-badge {
  189. vertical-align: 0;
  190. }
  191. }
  192. }
  193. .el-drawer {
  194. header {
  195. span {
  196. outline: none;
  197. }
  198. }
  199. button {
  200. outline: none !important;
  201. }
  202. }
  203. .reason {
  204. cursor: pointer;
  205. }
  206. .el-badge {
  207. sup {
  208. right: 15px !important;
  209. }
  210. }
  211. .review-box {
  212. .el-dialog__body {
  213. padding-bottom: 0;
  214. }
  215. }
  216. .video-upload-box {
  217. .upload-demo {
  218. ul {
  219. position: absolute;
  220. width: 100%;
  221. left: 0;
  222. }
  223. }
  224. }
  225. .file-upload-box {
  226. height: 40px;
  227. .hidden {
  228. .el-upload {
  229. display: none;
  230. }
  231. }
  232. ul {
  233. margin-top: -3px;
  234. }
  235. }
  236. .el-upload-hidden {
  237. .el-upload {
  238. display: none;
  239. }
  240. }
  241. .map-dialog {
  242. .el-dialog__body {
  243. padding-top: 0;
  244. padding-bottom: 0;
  245. }
  246. }
  247. .display {
  248. .el-input {
  249. input {
  250. &::placeholder {
  251. color: #606266;
  252. }
  253. }
  254. }
  255. }
  256. // 筛选区域
  257. .filter-container {
  258. .filter-control {
  259. display: inline-block;
  260. margin-bottom: 10px;
  261. margin-right: 10px;
  262. > span,
  263. > .el-input {
  264. display: inline-block;
  265. vertical-align: middle;
  266. }
  267. > span {
  268. margin-right: 10px;
  269. font-size: 14px;
  270. }
  271. > .el-input,
  272. > .el-select {
  273. width: 200px;
  274. }
  275. }
  276. }
  277. // 隐藏表格全选控件
  278. .hide-table-check-all {
  279. .el-table__header-wrapper {
  280. .el-checkbox {
  281. display: none;
  282. }
  283. }
  284. }
  285. // vip标记
  286. .vip-icon {
  287. display: inline-block;
  288. width: 40px;
  289. height: 32px;
  290. margin: 0 4px;
  291. background: url(~@/assets/img/vip-icon-active.png) no-repeat;
  292. background-size: 40px;
  293. vertical-align: -5px;
  294. &.close {
  295. background: url(~@/assets/img/vip-icon.png) no-repeat;
  296. }
  297. }