element-ui.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  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. height: 80px;
  160. &::before {
  161. content: '';
  162. position: absolute;
  163. top: 0;
  164. left: 0;
  165. width: 12px;
  166. height: 12px;
  167. background: url('@/assets/images/inputIcon1.png') no-repeat;
  168. background-size: 100% 100%;
  169. }
  170. &::after {
  171. content: '';
  172. position: absolute;
  173. right: 0;
  174. bottom: 0;
  175. width: 12px;
  176. height: 12px;
  177. background: url('@/assets/images/inputIcon2.png') no-repeat;
  178. background-size: 100% 100%;
  179. }
  180. .el-select__placeholder {
  181. color: #a0c7dc;
  182. font-size: 38px;
  183. height: 80px;
  184. line-height: 80px;
  185. }
  186. .el-select__suffix {
  187. &::after {
  188. content: '';
  189. width: 28px;
  190. height: 48px;
  191. background: url('@/assets/images/select.png') no-repeat;
  192. background-size: 100% 100%;
  193. }
  194. .el-icon {
  195. display: none;
  196. }
  197. }
  198. }
  199. .el-select__wrapper.is-hovering, .el-select__wrapper.is-focused {
  200. color: #b1cae0 !important;
  201. background-color: #0d1d4e !important;
  202. border: 4px solid #2C81FF !important;
  203. }
  204. }
  205. .custom-select-popper {
  206. .el-scrollbar {
  207. background-color: rgba(5, 18, 53, 0.85) !important;
  208. border: 4px solid #2C81FF !important;
  209. border-radius: 0;
  210. box-shadow:inset 0 0 40px rgba(26, 144, 255, 0.5) !important;
  211. .el-select-dropdown__item {
  212. color: #b1cae0;
  213. font-size: 36px;
  214. height: 80px;
  215. line-height: 80px;
  216. }
  217. .el-select-dropdown__item.is-selected, .el-select-dropdown__item.is-hovering {
  218. color: #7af0e9;
  219. background-color: #1c335f;
  220. font-weight: normal;
  221. }
  222. }
  223. .custom-tabs {
  224. width: 100%;
  225. }
  226. }
  227. .custom-select2 {
  228. .el-select__wrapper {
  229. box-shadow: none !important;
  230. background-color: transparent !important;
  231. border: none !important;
  232. border-radius: 0;
  233. position: relative;
  234. padding: 4px 24px !important;
  235. .el-select__placeholder {
  236. color: #edfaff;
  237. font-size: 38px;
  238. height: 80px;
  239. line-height: 80px;
  240. text-align: right;
  241. }
  242. .el-select__suffix {
  243. position: relative;
  244. .el-icon {
  245. width: 33px;
  246. height: 15px;
  247. background: url('@/assets/images/map/rightMenu/down2.png') no-repeat;
  248. background-size: 100% 100%;
  249. display: inline;
  250. svg {
  251. display: none;
  252. }
  253. }
  254. }
  255. }
  256. .el-select__wrapper.is-hovering, .el-select__wrapper.is-focused {
  257. color: #edfaff !important;
  258. background-color: transparent !important;
  259. border: none !important;
  260. }
  261. }
  262. .custom-select-popper2 {
  263. .el-scrollbar {
  264. background-color: rgba(5, 18, 53, 0.85) !important;
  265. border: 4px solid #2C81FF !important;
  266. border-radius: 0;
  267. box-shadow:inset 0 0 40px rgba(26, 144, 255, 0.5) !important;
  268. .el-select-dropdown__item {
  269. color: #b1cae0;
  270. font-size: 38px;
  271. height: 80px;
  272. line-height: 80px;
  273. }
  274. .el-select-dropdown__item.is-selected, .el-select-dropdown__item.is-hovering {
  275. color: #7af0e9;
  276. background-color: #1c335f;
  277. font-weight: normal;
  278. }
  279. }
  280. .custom-tabs {
  281. width: 100%;
  282. }
  283. }
  284. .custom-input {
  285. position: relative;
  286. .el-input__icon {
  287. font-size: 32px;
  288. color: #a7ccdf;
  289. }
  290. .el-input__wrapper {
  291. box-shadow: none;
  292. background-color: rgba(26, 144, 255, 0.15) !important;
  293. border: 4px solid rgba(26, 144, 255, 0.15) !important;
  294. }
  295. .el-input__inner {
  296. font-size: 32px;
  297. color: #a7ccdf;
  298. font-family: PingFang SC;
  299. height: 72px;
  300. line-height: 72px;
  301. &::placeholder {
  302. color: #a7ccdf;
  303. }
  304. }
  305. &::before {
  306. content: '';
  307. position: absolute;
  308. top: 0;
  309. left: 0;
  310. z-index: 2;
  311. width: 12px;
  312. height: 12px;
  313. background: url('@/assets/images/inputIcon1.png') no-repeat;
  314. background-size: 100% 100%;
  315. }
  316. &::after {
  317. content: '';
  318. position: absolute;
  319. right: 0;
  320. bottom: 0;
  321. z-index: 2;
  322. width: 12px;
  323. height: 12px;
  324. background: url('@/assets/images/inputIcon2.png') no-repeat;
  325. background-size: 100% 100%;
  326. }
  327. }
  328. .custom-input2 {
  329. position: relative;
  330. .el-input__wrapper {
  331. box-shadow: none;
  332. background-color: rgba(26, 144, 255, 0.15) !important;
  333. border: 4px solid rgba(26, 144, 255, 0.15) !important;
  334. }
  335. .el-input__inner {
  336. font-size: 32px;
  337. color: #a0c7dc;
  338. font-family: PingFang SC;
  339. height: 72px;
  340. line-height: 72px;
  341. &::placeholder {
  342. color: #a0c7dc;
  343. }
  344. }
  345. &::before {
  346. content: '';
  347. position: absolute;
  348. top: 0;
  349. left: 0;
  350. z-index: 2;
  351. width: 12px;
  352. height: 12px;
  353. background: url('@/assets/images/inputIcon1.png') no-repeat;
  354. background-size: 100% 100%;
  355. }
  356. &::after {
  357. content: '';
  358. position: absolute;
  359. right: 0;
  360. bottom: 0;
  361. z-index: 2;
  362. width: 12px;
  363. height: 12px;
  364. background: url('@/assets/images/inputIcon2.png') no-repeat;
  365. background-size: 100% 100%;
  366. }
  367. }
  368. .custom-textarea {
  369. position: relative;
  370. &::before {
  371. content: '';
  372. position: absolute;
  373. top: 0;
  374. left: 0;
  375. z-index: 2;
  376. width: 12px;
  377. height: 12px;
  378. background: url('@/assets/images/inputIcon1.png') no-repeat;
  379. background-size: 100% 100%;
  380. }
  381. &::after {
  382. content: '';
  383. position: absolute;
  384. right: 0;
  385. bottom: 0;
  386. z-index: 2;
  387. width: 12px;
  388. height: 12px;
  389. background: url('@/assets/images/inputIcon2.png') no-repeat;
  390. background-size: 100% 100%;
  391. }
  392. }
  393. .el-form {
  394. .el-form-item__label {
  395. color: #fff;
  396. font-size: 38px;
  397. margin-bottom: 0;
  398. height: 64px !important;
  399. line-height: 64px !important;
  400. }
  401. }
  402. .custom-pagination {
  403. :deep(.el-pagination) {
  404. .btn-next,
  405. .btn-prev {
  406. background-color: transparent;
  407. border: none;
  408. .el-icon {
  409. font-size: 22px;
  410. color: #a7ccdf;
  411. }
  412. }
  413. .el-pager li {
  414. width: 64px;
  415. height: 64px;
  416. line-height: 64px;
  417. text-align: center;
  418. font-size: 32px;
  419. color: #a7ccdf;
  420. background-color: #0e3064;
  421. border: 1px solid #0c57a7;
  422. margin: 0 6px;
  423. &:hover {
  424. background-color: #038dff;
  425. border: 1px solid #038dff;
  426. }
  427. }
  428. .el-pager li.is-active {
  429. background-color: #038dff !important;
  430. border: 1px solid #038dff !important;
  431. }
  432. :deep(.el-pagination__total) {
  433. color: #a7ccdf;
  434. font-size: 32px;
  435. }
  436. }
  437. }
  438. .common-date-picker {
  439. position: relative;
  440. height: 55px !important;
  441. .el-input__wrapper {
  442. box-shadow: none;
  443. background-color: #0d2f5d;
  444. border: 1px solid #0a59a8;
  445. }
  446. .el-input__inner {
  447. font-size: 32px;
  448. color: #a0c7dc;
  449. font-family: PingFang SC;
  450. height: 55px;
  451. line-height: 55px;
  452. &::placeholder {
  453. color: #a0c7dc;
  454. }
  455. }
  456. .el-input__prefix {
  457. display: none;
  458. }
  459. &::before {
  460. content: '';
  461. position: absolute;
  462. top: 0;
  463. left: 0;
  464. z-index: 2;
  465. width: 12px;
  466. height: 12px;
  467. background: url('@/assets/images/inputIcon1.png') no-repeat;
  468. background-size: 100% 100%;
  469. }
  470. &::after {
  471. content: '';
  472. position: absolute;
  473. right: 0;
  474. bottom: 0;
  475. z-index: 2;
  476. width: 12px;
  477. height: 12px;
  478. background: url('@/assets/images/inputIcon2.png') no-repeat;
  479. background-size: 100% 100%;
  480. }
  481. }
  482. .common-date-popper {
  483. background: rgba(5, 18, 53, 0.85) !important;
  484. border: 4px solid #2C81FF !important;
  485. border-radius: 0 !important;
  486. .el-picker-panel {
  487. background: rgba(5, 18, 53, 0.85) !important;
  488. box-shadow:inset 0 0 40px rgba(26, 144, 255, 0.5) !important;
  489. color: #b1cae0;
  490. }
  491. .el-date-table {
  492. font-size: 38px;
  493. }
  494. .el-date-picker {
  495. width: 934px;
  496. }
  497. .el-date-picker .el-picker-panel__content {
  498. width: auto !important;
  499. }
  500. .el-date-picker__header {
  501. margin: 0 12px !important;
  502. height: 75px;
  503. line-height: 75px;
  504. }
  505. .el-date-picker__header-label {
  506. color: #b1cae0;
  507. font-size: 38px;
  508. }
  509. .el-year-table td div, .el-month-table td div {
  510. height: 95px !important;
  511. }
  512. .el-year-table td .cell, .el-month-table td .cell {
  513. color: #b1cae0;
  514. font-size: 38px;
  515. width: 95px !important;
  516. height: 95px !important;
  517. line-height: 95px !important;
  518. }
  519. .el-date-table th {
  520. color: #b1cae0;
  521. border-bottom: 2px solid #8fa4b7;
  522. width: 76px !important;
  523. height: 76px !important;
  524. line-height: 76px !important;
  525. }
  526. .el-date-picker__header--bordered {
  527. border-bottom: 2px solid #8fa4b7;
  528. }
  529. .el-date-table-cell__text {
  530. width: 76px !important;
  531. height: 76px !important;
  532. line-height: 76px !important;
  533. }
  534. .el-date-table td .el-date-table-cell {
  535. width: 95px !important;
  536. height: 95px !important;
  537. line-height: 95px !important;
  538. }
  539. .el-date-table td.available:hover {
  540. color: #7af0e9;
  541. }
  542. .el-date-table td.today .el-date-table-cell__text, .el-month-table td .cell:hover, .el-year-table td.today .cell, .el-year-table td .cell:hover {
  543. color: #7af0e9;
  544. }
  545. .el-month-table td.current:not(.disabled) .cell, .el-date-table td.current:not(.disabled) .el-date-table-cell__text,.el-year-table td.current:not(.disabled) .cell {
  546. background-color: #7af0e9;
  547. }
  548. .el-date-table td.next-month, .el-date-table td.prev-month {
  549. color: #8fa4b7;
  550. }
  551. }