index.scss 4.8 KB

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