global.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. $color-primary:#5882EF;
  2. @import './element.scss';
  3. * { margin: 0; padding: 0;box-sizing: border-box; }
  4. body {
  5. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  6. Microsoft YaHei, SimSun, sans-serif;
  7. font-size: 14px;
  8. -webkit-font-smoothing: antialiased;
  9. }
  10. .fr-second-toolbar {
  11. display: none !important;
  12. }
  13. img {
  14. object-fit: contain !important;
  15. image-rendering: -moz-crisp-edges;
  16. image-rendering: -o-crisp-edges;
  17. image-rendering: -webkit-optimize-contrast;
  18. image-rendering: crisp-edges;
  19. -ms-interpolation-mode: nearest-neighbor;
  20. }
  21. a {
  22. text-decoration: none;
  23. background-color: transparent
  24. }
  25. a:hover, a:active {
  26. outline-width: 0;
  27. text-decoration: none
  28. }
  29. #app {
  30. width: 100%;
  31. position: absolute;
  32. top: 0px;
  33. bottom: 0px;
  34. /* left:0; */
  35. }
  36. .el-submenu [class^="fa"] {
  37. vertical-align: baseline;
  38. margin-right: 10px;
  39. }
  40. .el-menu-item [class^="fa"] {
  41. vertical-align: baseline;
  42. margin-right: 10px;
  43. }
  44. .toolbar {
  45. font: 14px "微软雅黑";
  46. color: $color-primary;
  47. background: #fff;
  48. padding: 10px 15px;
  49. margin: 10px 0px;
  50. .el-form-item {
  51. margin-bottom: 10px;
  52. }
  53. }
  54. .headTip {
  55. padding: 10px 15px;
  56. margin: 10px auto;
  57. font: 14px "微软雅黑";
  58. color: #fff;
  59. background: $color-primary;
  60. }
  61. .fade-enter-active,
  62. .fade-leave-active {
  63. transition: all 0.2s ease;
  64. }
  65. .fade-enter,
  66. .fade-leave-active {
  67. opacity: 0;
  68. }
  69. p[data-f-id="pbf"] {
  70. display: none;
  71. }
  72. iframe {
  73. border: none;
  74. }
  75. .el-table .success-row {
  76. background: #eaeaea;
  77. }
  78. .editsty {
  79. font-size: 14px;
  80. color: #409eff;
  81. cursor: pointer;
  82. }
  83. .deletesty {
  84. font-size: 14px;
  85. color: red;
  86. cursor: pointer;
  87. }
  88. .disty {
  89. font-size: 14px;
  90. color: #999;
  91. cursor: not-allowed;
  92. }
  93. .warnsty {
  94. font-size: 14px;
  95. color: #FF9900;
  96. }
  97. .successty {
  98. font-size: 14px;
  99. color: #1BB940;
  100. }
  101. .el-card__header {
  102. border: none !important;
  103. box-shadow: 0 3px 6px rgba(37, 37, 239, 0.1) !important;
  104. }
  105. .el-pagination.is-background .el-pager li {
  106. background: #fff;
  107. // border: 1px solid #8F9BB3;
  108. }
  109. .el-pagination.is-background .el-pager li:not(.disabled).active {
  110. border-color: #409eff;
  111. }
  112. .el-pagination.is-background .btn-next,
  113. .el-pagination.is-background .btn-prev {
  114. // border: 1px solid #8F9BB3;
  115. background: #fff;
  116. }
  117. .clearfix:after {
  118. content: "";
  119. height: 0;
  120. clear: both;
  121. visibility: hidden;
  122. display: block;
  123. zoom: 1;
  124. }
  125. .text_oneLine {
  126. overflow: hidden;
  127. text-overflow: ellipsis;
  128. white-space: nowrap;
  129. }
  130. /* 控制文字显示两行 */
  131. .text_twoLine {
  132. overflow:hidden;
  133. text-overflow:ellipsis;
  134. display:-webkit-box;
  135. -webkit-box-orient:vertical;
  136. -webkit-line-clamp:2;
  137. }
  138. /* .el-popover */
  139. .el-checkbox__input.is-disabled + span.el-checkbox__label {
  140. color: #666 !important;
  141. }
  142. .el-form-item__label {
  143. font-size: 15px;
  144. }
  145. .el-collapse-item__header {
  146. border: none;
  147. font-size: 16px;
  148. color: #333;
  149. font-weight: bold;
  150. position: relative;
  151. margin-bottom: 20px;
  152. }
  153. /* 省市选择禁用统一element样式 */
  154. .distpicker-address-wrapper select:disabled {
  155. cursor: not-allowed;
  156. background: #f5f7fa;
  157. border-color: #e4e7ed;
  158. color: #c0c4cc;
  159. opacity: 1;
  160. }
  161. .distpicker-address-wrapper select {
  162. font-size: 14px !important;
  163. }
  164. /* img preview */
  165. .el-image-viewer__mask {
  166. opacity: 0.8;
  167. }
  168. .el-image-viewer__canvas .el-image-viewer__img {
  169. position: absolute;
  170. // left: 40%;
  171. // top: 40%;
  172. // transform: translate(-50%,-50%);
  173. width: 1200px;
  174. max-height: 100vh;
  175. overflow-y: scroll;
  176. }
  177. .el-image-viewer__next,
  178. .el-image-viewer__prev {
  179. width: 62px;
  180. height: 110px;
  181. border: none;
  182. font-size: 80px;
  183. background: transparent;
  184. color: #858585;
  185. }
  186. .el-image-viewer__close {
  187. width: 66px;
  188. height: 66px;
  189. color: #fff;
  190. font-size: 48px;
  191. }
  192. .el-popconfirm .el-popconfirm__action {
  193. margin-top: 10px;
  194. }
  195. /*修改滚动条样式*/
  196. div::-webkit-scrollbar {
  197. width: 6px;
  198. height: 6px;
  199. }
  200. div::-webkit-scrollbar-track {
  201. background: rgb(239, 239, 239);
  202. border-radius: 2px;
  203. }
  204. div::-webkit-scrollbar-thumb {
  205. background: #ccc;
  206. border-radius: 10px;
  207. }
  208. div::-webkit-scrollbar-thumb:hover {
  209. background: #888;
  210. }
  211. div::-webkit-scrollbar-corner {
  212. background: #666;
  213. }
  214. .customName:hover {
  215. text-decoration: underline;
  216. }
  217. /**/
  218. .el-select-dropdown__wrap {
  219. max-height: 358px !important;
  220. }
  221. /* 日期选择 */
  222. .mx-datepicker {
  223. width: 280px !important;
  224. }
  225. .mx-calendar-content .cell.active {
  226. background-color: #409EFF !important;
  227. }
  228. .mx-datepicker .mx-input {
  229. height: 40px;
  230. border-color: #DCDFE6;
  231. box-shadow: none;
  232. }
  233. .mx-input {
  234. &::placeholder {
  235. color: #bbb;
  236. }
  237. &:hover {
  238. border-color: #C0C4CC !important;
  239. }
  240. }
  241. /*修改滚动条样式*/
  242. ul::-webkit-scrollbar {
  243. width: 6px;
  244. height: 6px;
  245. }
  246. ul::-webkit-scrollbar-track {
  247. background: rgb(239, 239, 239);
  248. border-radius: 2px;
  249. }
  250. ul::-webkit-scrollbar-thumb {
  251. background: #ccc;
  252. border-radius: 10px;
  253. }
  254. ul::-webkit-scrollbar-thumb:hover {
  255. background: #888;
  256. }
  257. ul::-webkit-scrollbar-corner {
  258. background: #666;
  259. }
  260. textarea {
  261. font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  262. }
  263. // 英文图表标识
  264. .chartEn-mark{
  265. position: absolute;
  266. top: 0;
  267. left: 0;
  268. border-right: 25px solid transparent;
  269. border-top: 21px solid #409EFF;
  270. border-bottom: 21px solid transparent;
  271. border-left: 25px solid #409EFF;
  272. color: white;
  273. height: 0;
  274. width: 0;
  275. white-space: nowrap;
  276. display: flex;
  277. justify-content: flex-end;
  278. align-items: flex-end;
  279. font-size: 16px;
  280. }
  281. .ficc-package {
  282. display: inline-block;
  283. font-size: 12px;
  284. padding:0 5px;
  285. border-radius: 5px;
  286. color: #3994fb;
  287. background-color: #dcecfc;
  288. }
  289. .clear:after{ display:block; height:0; content:""; clear:both; }
  290. .highcharts-range-selector-group{ display:none; }
  291. .highcharts-legend-item tspan{ font-size:14px; font-weight:400; color:#960000; }