element-ui.scss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. .el-collapse {
  2. .collapse__title {
  3. font-weight: 600;
  4. padding: 0 8px;
  5. font-size: 1.2em;
  6. line-height: 1.1em;
  7. }
  8. .el-collapse-item__content {
  9. padding: 0 8px;
  10. }
  11. }
  12. .el-divider--horizontal {
  13. margin-bottom: 10px;
  14. margin-top: 10px;
  15. }
  16. .el-breadcrumb__inner,
  17. .el-breadcrumb__inner a {
  18. font-weight: 400 !important;
  19. }
  20. .el-upload {
  21. input[type='file'] {
  22. display: none !important;
  23. }
  24. }
  25. .el-upload__input {
  26. display: none;
  27. }
  28. .cell {
  29. .el-tag {
  30. margin-right: 0px;
  31. }
  32. }
  33. .small-padding {
  34. .cell {
  35. padding-left: 5px;
  36. padding-right: 5px;
  37. }
  38. }
  39. .fixed-width {
  40. .el-button--mini {
  41. padding: 7px 10px;
  42. width: 60px;
  43. }
  44. }
  45. .status-col {
  46. .cell {
  47. padding: 0 10px;
  48. text-align: center;
  49. .el-tag {
  50. margin-right: 0px;
  51. }
  52. }
  53. }
  54. /*-------------Dialog-------------**/
  55. .el-overlay {
  56. overflow: hidden;
  57. .el-overlay-dialog {
  58. display: flex;
  59. align-items: center;
  60. justify-content: center;
  61. width: 100%;
  62. height: 100%;
  63. .el-dialog {
  64. margin: 0 auto !important;
  65. .el-dialog__body {
  66. padding: 15px !important;
  67. }
  68. .el-dialog__header {
  69. padding: 16px 16px 8px 16px;
  70. box-sizing: border-box;
  71. border-bottom: 1px solid var(--brder-color);
  72. margin-right: 0;
  73. }
  74. }
  75. }
  76. }
  77. .el-dialog__body {
  78. max-height: calc(90vh - 111px) !important;
  79. overflow-y: auto;
  80. overflow-x: hidden;
  81. }
  82. // refine element ui upload
  83. .upload-container {
  84. .el-upload {
  85. width: 100%;
  86. .el-upload-dragger {
  87. width: 100%;
  88. height: 200px;
  89. }
  90. }
  91. }
  92. // dropdown
  93. .el-dropdown-menu {
  94. a {
  95. display: block;
  96. }
  97. }
  98. // fix date-picker ui bug in filter-item
  99. .el-range-editor.el-input__inner {
  100. display: inline-flex !important;
  101. }
  102. // to fix el-date-picker css style
  103. .el-range-separator {
  104. box-sizing: content-box;
  105. }
  106. .el-menu--collapse > div > .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  107. display: none;
  108. }
  109. .el-dropdown .el-dropdown-link {
  110. color: var(--el-color-primary) !important;
  111. }
  112. /* 当 el-form 的 inline 属性为 true 时 */
  113. /* 设置 label 的宽度默认为 68px */
  114. .el-form--inline .el-form-item__label {
  115. width: 68px;
  116. }
  117. /* 设置 el-select 的宽度默认为 240px */
  118. .el-form--inline .el-select {
  119. width: 240px;
  120. }
  121. /* 设置 el-input 的宽度默认为 240px */
  122. .el-form--inline .el-input {
  123. width: 240px;
  124. }
  125. .custom-popper {
  126. background: #081b41;
  127. border: 1px solid #126cf7;
  128. .el-select-dropdown__item {
  129. font-size: 30px;
  130. color: #eaf3fc;
  131. &:hover {
  132. color: #126cf7;
  133. font-weight: normal;
  134. background: #081b41;
  135. }
  136. }
  137. .el-select-dropdown__item.is-hovering {
  138. background: #081b41;
  139. }
  140. .el-select-dropdown__item.is-selected {
  141. color: #126cf7;
  142. font-weight: normal;
  143. background: #081b41;
  144. }
  145. }
  146. .custom-color-picker {
  147. .el-color-dropdown__link-btn {
  148. display: none;
  149. }
  150. }
  151. .custom-select {
  152. .el-select__wrapper {
  153. box-shadow: none !important;
  154. background-color: rgba(26, 144, 255, 0.15) !important;
  155. border: 4px solid rgba(26, 144, 255, 0.15) !important;
  156. border-radius: 0;
  157. position: relative;
  158. padding: 4px 24px !important;
  159. &::before {
  160. content: '';
  161. position: absolute;
  162. top: 0;
  163. left: 0;
  164. width: 12px;
  165. height: 12px;
  166. background: url('@/assets/images/inputIcon1.png') no-repeat;
  167. background-size: 100% 100%;
  168. }
  169. &::after {
  170. content: '';
  171. position: absolute;
  172. right: 0;
  173. bottom: 0;
  174. width: 12px;
  175. height: 12px;
  176. background: url('@/assets/images/inputIcon2.png') no-repeat;
  177. background-size: 100% 100%;
  178. }
  179. .el-select__placeholder {
  180. color: #a0c7dc;
  181. font-size: 36px;
  182. height: 80px;
  183. line-height: 80px;
  184. }
  185. .el-select__suffix {
  186. &::after {
  187. content: '';
  188. width: 28px;
  189. height: 48px;
  190. background: url('@/assets/images/select.png') no-repeat;
  191. background-size: 100% 100%;
  192. }
  193. .el-icon {
  194. display: none;
  195. }
  196. }
  197. }
  198. .el-select__wrapper.is-hovering, .el-select__wrapper.is-focused {
  199. color: #b1cae0 !important;
  200. background-color: #0d1d4e !important;
  201. border: 4px solid #2C81FF !important;
  202. }
  203. }
  204. .custom-select-popper {
  205. .el-scrollbar {
  206. background-color: rgba(5, 18, 53, 0.85) !important;
  207. border: 4px solid #2C81FF !important;
  208. border-radius: 0;
  209. box-shadow:inset 0 0 40px rgba(26, 144, 255, 0.5) !important;
  210. .el-select-dropdown__item {
  211. color: #b1cae0;
  212. font-size: 36px;
  213. height: 80px;
  214. line-height: 80px;
  215. }
  216. .el-select-dropdown__item.is-selected, .el-select-dropdown__item.is-hovering {
  217. color: #7af0e9;
  218. background-color: #1c335f;
  219. font-weight: normal;
  220. }
  221. }
  222. .custom-tabs {
  223. width: 100%;
  224. }
  225. }
  226. .custom-select2 {
  227. .el-select__wrapper {
  228. box-shadow: none !important;
  229. background-color: transparent !important;
  230. border: none !important;
  231. border-radius: 0;
  232. position: relative;
  233. padding: 4px 24px !important;
  234. .el-select__placeholder {
  235. color: #edfaff;
  236. font-size: 38px;
  237. height: 80px;
  238. line-height: 80px;
  239. }
  240. .el-select__suffix {
  241. &::after {
  242. content: '';
  243. width: 33px;
  244. height: 15px;
  245. background: url('@/assets/images/map/rightMenu/down2.png') no-repeat;
  246. background-size: 100% 100%;
  247. }
  248. .el-icon {
  249. display: none;
  250. }
  251. }
  252. }
  253. .el-select__wrapper.is-hovering, .el-select__wrapper.is-focused {
  254. color: #edfaff !important;
  255. background-color: transparent !important;
  256. border: none !important;
  257. }
  258. }
  259. .custom-select-popper2 {
  260. .el-scrollbar {
  261. background-color: rgba(5, 18, 53, 0.85) !important;
  262. border: 4px solid #2C81FF !important;
  263. border-radius: 0;
  264. box-shadow:inset 0 0 40px rgba(26, 144, 255, 0.5) !important;
  265. .el-select-dropdown__item {
  266. color: #b1cae0;
  267. font-size: 38px;
  268. height: 80px;
  269. line-height: 80px;
  270. }
  271. .el-select-dropdown__item.is-selected, .el-select-dropdown__item.is-hovering {
  272. color: #7af0e9;
  273. background-color: #1c335f;
  274. font-weight: normal;
  275. }
  276. }
  277. .custom-tabs {
  278. width: 100%;
  279. }
  280. }
  281. .custom-input {
  282. position: relative;
  283. .el-input__icon {
  284. font-size: 32px;
  285. color: #a7ccdf;
  286. }
  287. .el-input__wrapper {
  288. box-shadow: none;
  289. background-color: #0a3b87;
  290. border: 1px solid #0d63c2;
  291. }
  292. .el-input__inner {
  293. font-size: 32px;
  294. color: #a7ccdf;
  295. font-family: PingFang SC;
  296. height: 55px;
  297. line-height: 55px;
  298. &::placeholder {
  299. color: #a7ccdf;
  300. }
  301. }
  302. &::before {
  303. content: '';
  304. position: absolute;
  305. top: 0;
  306. left: 0;
  307. z-index: 2;
  308. width: 12px;
  309. height: 12px;
  310. background: url('@/assets/images/inputIcon1.png') no-repeat;
  311. background-size: 100% 100%;
  312. }
  313. &::after {
  314. content: '';
  315. position: absolute;
  316. right: 0;
  317. bottom: 0;
  318. z-index: 2;
  319. width: 12px;
  320. height: 12px;
  321. background: url('@/assets/images/inputIcon2.png') no-repeat;
  322. background-size: 100% 100%;
  323. }
  324. }
  325. .custom-input2 {
  326. position: relative;
  327. .el-input__wrapper {
  328. box-shadow: none;
  329. background-color: #0d2f5d;
  330. border: 1px solid #0a59a8;
  331. }
  332. .el-input__inner {
  333. font-size: 32px;
  334. color: #a8b9cd;
  335. font-family: PingFang SC;
  336. height: 55px;
  337. line-height: 55px;
  338. &::placeholder {
  339. color: #a8b9cd;
  340. }
  341. }
  342. &::before {
  343. content: '';
  344. position: absolute;
  345. top: 0;
  346. left: 0;
  347. z-index: 2;
  348. width: 12px;
  349. height: 12px;
  350. background: url('@/assets/images/inputIcon1.png') no-repeat;
  351. background-size: 100% 100%;
  352. }
  353. &::after {
  354. content: '';
  355. position: absolute;
  356. right: 0;
  357. bottom: 0;
  358. z-index: 2;
  359. width: 12px;
  360. height: 12px;
  361. background: url('@/assets/images/inputIcon2.png') no-repeat;
  362. background-size: 100% 100%;
  363. }
  364. }
  365. .custom-textarea {
  366. position: relative;
  367. &::before {
  368. content: '';
  369. position: absolute;
  370. top: 0;
  371. left: 0;
  372. z-index: 2;
  373. width: 12px;
  374. height: 12px;
  375. background: url('@/assets/images/inputIcon1.png') no-repeat;
  376. background-size: 100% 100%;
  377. }
  378. &::after {
  379. content: '';
  380. position: absolute;
  381. right: 0;
  382. bottom: 0;
  383. z-index: 2;
  384. width: 12px;
  385. height: 12px;
  386. background: url('@/assets/images/inputIcon2.png') no-repeat;
  387. background-size: 100% 100%;
  388. }
  389. }