index.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. @import './variables.module.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. @import './ruoyi.scss';
  8. @import 'animate.css';
  9. @import 'element-plus/dist/index.css';
  10. @font-face {
  11. font-family: "YouSheBiaoTiHei";
  12. src: url('../font/youshebiaotihei.ttf');
  13. font-weight: normal;
  14. font-style: normal;
  15. }
  16. @font-face {
  17. font-family: "BEBAS-1";
  18. src: url('../font/BEBAS-1.ttf');
  19. font-weight: normal;
  20. font-style: normal;
  21. }
  22. @font-face {
  23. font-family: "SourceHanSansCN";
  24. src: url('../font/SourceHanSansCN.ttf');
  25. font-weight: normal;
  26. font-style: normal;
  27. }
  28. body {
  29. height: 100%;
  30. margin: 0;
  31. -moz-osx-font-smoothing: grayscale;
  32. -webkit-font-smoothing: antialiased;
  33. text-rendering: optimizeLegibility;
  34. color: rgba(0, 0, 0, 0.85);
  35. font-family:
  36. Helvetica Neue,
  37. Helvetica,
  38. PingFang SC,
  39. Hiragino Sans GB,
  40. Microsoft YaHei,
  41. Arial,
  42. sans-serif;
  43. }
  44. label {
  45. font-weight: 700;
  46. }
  47. html {
  48. height: 100%;
  49. box-sizing: border-box;
  50. }
  51. html.dark .svg-icon,
  52. html.dark svg {
  53. fill: var(--el-text-color-regular);
  54. }
  55. #app {
  56. height: 100%;
  57. }
  58. *,
  59. *:before,
  60. *:after {
  61. box-sizing: inherit;
  62. }
  63. .no-padding {
  64. padding: 0px !important;
  65. }
  66. .padding-content {
  67. padding: 4px 0;
  68. }
  69. a:focus,
  70. a:active {
  71. outline: none;
  72. }
  73. a,
  74. a:focus,
  75. a:hover {
  76. cursor: pointer;
  77. color: inherit;
  78. text-decoration: none;
  79. }
  80. div:focus {
  81. outline: none;
  82. }
  83. .fr {
  84. float: right;
  85. }
  86. .fl {
  87. float: left;
  88. }
  89. .pr-5 {
  90. padding-right: 5px;
  91. }
  92. .pl-5 {
  93. padding-left: 5px;
  94. }
  95. .block {
  96. display: block;
  97. }
  98. .pointer {
  99. cursor: pointer;
  100. }
  101. .inlineBlock {
  102. display: block;
  103. }
  104. .clearfix {
  105. &:after {
  106. visibility: hidden;
  107. display: block;
  108. font-size: 0;
  109. content: ' ';
  110. clear: both;
  111. height: 0;
  112. }
  113. }
  114. aside {
  115. background: #eef1f6;
  116. padding: 8px 24px;
  117. margin-bottom: 20px;
  118. border-radius: 2px;
  119. display: block;
  120. line-height: 32px;
  121. font-size: 16px;
  122. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  123. sans-serif;
  124. color: #2c3e50;
  125. -webkit-font-smoothing: antialiased;
  126. -moz-osx-font-smoothing: grayscale;
  127. a {
  128. color: #337ab7;
  129. cursor: pointer;
  130. &:hover {
  131. color: rgb(32, 160, 255);
  132. }
  133. }
  134. }
  135. //main-container全局样式
  136. .app-container {
  137. padding: 20px;
  138. }
  139. // search面板样式
  140. .panel,
  141. .search {
  142. margin-bottom: 0.75rem;
  143. border-radius: 0.25rem;
  144. border: 1px solid var(--el-border-color-light);
  145. background-color: var(--el-bg-color-overlay);
  146. padding: 0.75rem;
  147. transition: all ease 0.3s;
  148. &:hover {
  149. box-shadow: 0 2px 12px #0000001a;
  150. transition: all ease 0.3s;
  151. }
  152. }
  153. .components-container {
  154. margin: 30px 50px;
  155. position: relative;
  156. }
  157. .pagination-container {
  158. margin-top: 30px;
  159. }
  160. .text-center {
  161. text-align: center;
  162. }
  163. .sub-navbar {
  164. height: 50px;
  165. line-height: 50px;
  166. position: relative;
  167. width: 100%;
  168. text-align: right;
  169. padding-right: 20px;
  170. transition: 600ms ease position;
  171. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  172. .subtitle {
  173. font-size: 20px;
  174. color: #fff;
  175. }
  176. &.draft {
  177. background: #d0d0d0;
  178. }
  179. &.deleted {
  180. background: #d0d0d0;
  181. }
  182. }
  183. .link-type,
  184. .link-type:focus {
  185. color: #337ab7;
  186. cursor: pointer;
  187. &:hover {
  188. color: rgb(32, 160, 255);
  189. }
  190. }
  191. .filter-container {
  192. padding-bottom: 10px;
  193. .filter-item {
  194. display: inline-block;
  195. vertical-align: middle;
  196. margin-bottom: 10px;
  197. }
  198. }
  199. .common-select-info {
  200. width: 100%;
  201. height: 40px;
  202. line-height: 40px;
  203. padding: 0 15px;
  204. background: #E6F7FF;
  205. border: 1px solid #BAE7FF;
  206. border-radius: 2px;
  207. display: flex;
  208. justify-content: space-between;
  209. align-items: center;
  210. font-size: 14px;
  211. margin-bottom: 15px;
  212. .info-left {
  213. display: flex;
  214. align-items: center;
  215. .info-icon {
  216. color: #2c81ff;
  217. margin-right: 5px;
  218. }
  219. .info-text1 {
  220. color: rgba(0, 0, 0, 0.65);
  221. }
  222. .info-text2 {
  223. color: #2c81ff;
  224. margin: 0 5px;
  225. }
  226. }
  227. .clear-btn {
  228. color: #2C81FF;
  229. cursor: pointer;
  230. }
  231. }
  232. .common-btn-text-primary {
  233. color: #2C81FF !important;
  234. cursor: pointer;
  235. margin: 0 4px !important;
  236. }
  237. .common-btn-text-danger{
  238. color: #F90000 !important;
  239. cursor: pointer;
  240. margin: 0 4px !important;
  241. }
  242. .common-dialog {
  243. width: 100%;
  244. height: 100%;
  245. position: absolute;
  246. top: 0;
  247. left: 0;
  248. background-color: #ffffff;
  249. display: flex;
  250. justify-content: center;
  251. padding: 0 24px 24px;
  252. z-index: 99;
  253. .common-dialog-content {
  254. border-bottom: 1px solid #e6f2ff;
  255. border-left: 1px solid #e6f2ff;
  256. border-right: 1px solid #e6f2ff;
  257. background-image: linear-gradient(to bottom, #ffffff 0%, #ebf4ff 100%);
  258. width: 100%;
  259. height: 100%;
  260. padding: 16px 24px;
  261. overflow-y: auto;
  262. .common-dialog-title-box {
  263. font-size: 20px;
  264. margin-bottom: 23.5px;
  265. font-weight: 500;
  266. display: flex;
  267. align-items: flex-end;
  268. .common-dialog-title-icon {
  269. width: 16.54px;
  270. height: 19.46px;
  271. background: url('@/assets/images/edit.png') no-repeat;
  272. background-size: 100% 100%;
  273. margin-right: 4px;
  274. margin-bottom: 2px;
  275. }
  276. }
  277. .common-dialog-box {
  278. display: flex;
  279. flex-direction: column;
  280. justify-content: center;
  281. align-items: center;
  282. }
  283. }
  284. }
  285. .dot-red {
  286. width: 6px;
  287. height: 6px;
  288. border-radius: 50%;
  289. background: #F90000;
  290. display: inline-block;
  291. margin-right: 5px;
  292. }
  293. .dot-green {
  294. width: 6px;
  295. height: 6px;
  296. border-radius: 50%;
  297. background: #61DDA2;
  298. display: inline-block;
  299. margin-right: 5px;
  300. }
  301. .dot-orange {
  302. width: 6px;
  303. height: 6px;
  304. border-radius: 50%;
  305. background: #FFA047;
  306. display: inline-block;
  307. margin-right: 5px;
  308. }
  309. .dot-blue{
  310. width: 6px;
  311. height: 6px;
  312. border-radius: 50%;
  313. background: #2C81FF;
  314. display: inline-block;
  315. margin-right: 5px;
  316. }
  317. .dot-grey {
  318. width: 6px;
  319. height: 6px;
  320. border-radius: 50%;
  321. background: #bfbfbf;
  322. display: inline-block;
  323. margin-right: 5px;
  324. }
  325. .common-flex {
  326. display: flex;
  327. justify-content: center;
  328. align-items: center;
  329. }
  330. .common-header {
  331. display: flex;
  332. justify-content: space-between;
  333. align-items: center;
  334. padding-bottom: 16px;
  335. .common-header-left {
  336. display: flex;
  337. align-items: flex-end;
  338. .common-title-icon {
  339. display: inline-block;
  340. margin-right: 8px;
  341. width: 18px;
  342. height: 17px;
  343. background: url('@/assets/images/event.png') no-repeat;
  344. background-size: 100% 100%;
  345. }
  346. .common-title-text {
  347. font-size: 20px;
  348. color: rgba(0, 0, 0, 0.85);
  349. }
  350. }
  351. .common-header-right {
  352. display: flex;
  353. align-items: flex-end;
  354. }
  355. }
  356. .detail-container {
  357. padding: 13px 26px;
  358. }
  359. .edit-icon2 {
  360. width: 15px;
  361. height: 16px;
  362. background: url('@/assets/images/edit2.png') no-repeat;
  363. background-size: 100% 100%;
  364. margin-right: 6px;
  365. display: inline-block;
  366. }
  367. .command-icon {
  368. width: 15px;
  369. height: 16px;
  370. background: url('@/assets/images/command.png') no-repeat;
  371. background-size: 100% 100%;
  372. margin-right: 6px;
  373. display: inline-block;
  374. }
  375. .close-icon {
  376. width: 16px;
  377. height: 16px;
  378. background: url('@/assets/images/close.png') no-repeat;
  379. background-size: 100% 100%;
  380. margin-right: 6px;
  381. display: inline-block;
  382. }
  383. .common-info-box {
  384. width: 100%;
  385. background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 5%, rgba(220, 239, 255, 0.15) 100%);
  386. box-shadow: 0 2px 1px 0 rgba(24, 144, 255, 0.14);
  387. border-top: 1px solid #ebf4ff;
  388. //filter: blur(20px);
  389. padding: 6px 0 13px;
  390. margin-top: 24px;
  391. .common-info-header {
  392. display: flex;
  393. align-items: center;
  394. .line-icon {
  395. display: inline-block;
  396. width: 6px;
  397. height: 17px;
  398. background-image: linear-gradient(180deg, #00FCE7 0%, #2C81FF 100%);
  399. border-radius: 0 3px 0 0;
  400. margin-right: 9px;
  401. }
  402. .common-info-title {
  403. font-weight: bold;
  404. }
  405. }
  406. .common-info-content {
  407. padding: 0 8px;
  408. display: flex;
  409. flex-wrap: wrap;
  410. width: 100%;
  411. margin-top: 8px;
  412. .common-info-item {
  413. display: flex;
  414. align-items: center;
  415. margin-top: 9px;
  416. &:nth-child(4n + 1) {
  417. width: 31%;
  418. }
  419. &:nth-child(4n + 2) {
  420. width: 23%;
  421. }
  422. &:nth-child(4n + 3) {
  423. width: 23%;
  424. }
  425. &:nth-child(4n + 4) {
  426. width: 23%;
  427. }
  428. }
  429. }
  430. }
  431. .common-link {
  432. color: #2C81FF;
  433. }
  434. .common-back-box {
  435. cursor: pointer;
  436. color: rgba(0, 0, 0, 0.45);
  437. font-size: 14px;
  438. .common-back {
  439. width: 13px;
  440. height: 10px;
  441. background: url('@/assets/images/back.png') no-repeat;
  442. background-size: 100% 100%;
  443. display: inline-block;
  444. }
  445. }
  446. .gradient-text {
  447. /* 设置字体透明 */
  448. color: transparent;
  449. /* 设置线性渐变,从红色渐变到蓝色 */
  450. background-image: linear-gradient(to bottom, #ffffff 30%, #edf7fe 50%, #5cc4fa 70%, #40a2e7 100%);
  451. /* 使用 -webkit-background-clip 属性将背景剪裁至文本形状 */
  452. -webkit-background-clip: text;
  453. /* 非Webkit内核浏览器需要使用标准前缀 */
  454. background-clip: text;
  455. /* 把当前元素设置为行内块,以便能够应用背景 */
  456. display: inline-block;
  457. font-family: 'YouSheBiaoTiHei';
  458. }
  459. .gradient-text2 {
  460. /* 设置字体透明 */
  461. color: transparent;
  462. /* 设置线性渐变,从红色渐变到蓝色 */
  463. background-image: linear-gradient(to bottom, #fff 50%, #5CC4FA 70%, #40A2E7 100%);
  464. /* 使用 -webkit-background-clip 属性将背景剪裁至文本形状 */
  465. -webkit-background-clip: text;
  466. /* 非Webkit内核浏览器需要使用标准前缀 */
  467. background-clip: text;
  468. /* 把当前元素设置为行内块,以便能够应用背景 */
  469. display: inline-block;
  470. font-family: 'YouSheBiaoTiHei';
  471. }
  472. .gradient-text3 {
  473. font-size: 14px;
  474. color: transparent;
  475. background-image: linear-gradient(to bottom, #ffffff 25%, #2b72d6 100%);
  476. -webkit-background-clip: text;
  477. background-clip: text;
  478. display: inline-block;
  479. }
  480. .common-btn-primary {
  481. width: 212px;
  482. height: 136px;
  483. background: url('@/assets/images/common/btnPrimary.png') no-repeat;
  484. background-size: 100% 100%;
  485. color: #ffffff;
  486. display: flex;
  487. justify-content: center;
  488. align-items: center;
  489. cursor: pointer;
  490. font-size: 38px;
  491. }
  492. .common-btn-primary2 {
  493. width: 332px;
  494. height: 72px;
  495. background: url('@/assets/images/common/btnPrimary2.png') no-repeat;
  496. background-size: 100% 100%;
  497. color: #ffffff;
  498. display: flex;
  499. justify-content: center;
  500. align-items: center;
  501. cursor: pointer;
  502. font-size: 38px;
  503. }
  504. .common-btn-primary3 {
  505. width: 244px;
  506. height: 120px;
  507. background: url('@/assets/images/common/btnPrimary3.png') no-repeat;
  508. background-size: 100% 100%;
  509. color: #ffffff;
  510. display: flex;
  511. justify-content: center;
  512. align-items: center;
  513. cursor: pointer;
  514. font-size: 38px;
  515. }
  516. .common-btn-danger{
  517. width: 268px;
  518. height: 72px;
  519. background: url('@/assets/images/common/btnDanger.png') no-repeat;
  520. background-size: 100% 100%;
  521. color: #ffffff;
  522. display: flex;
  523. justify-content: center;
  524. align-items: center;
  525. cursor: pointer;
  526. font-size: 38px;
  527. }
  528. .common-btn-danger2{
  529. width: 188px;
  530. height: 56px;
  531. background: url('@/assets/images/common/btnDanger2.png') no-repeat;
  532. background-size: 100% 100%;
  533. color: #ffffff;
  534. display: flex;
  535. justify-content: center;
  536. align-items: center;
  537. cursor: pointer;
  538. font-size: 38px;
  539. }
  540. .common-btn {
  541. width: 148px;
  542. height: 72px;
  543. background: url('@/assets/images/common/btn.png') no-repeat;
  544. background-size: 100% 100%;
  545. color: #ffffff;
  546. display: flex;
  547. justify-content: center;
  548. align-items: center;
  549. cursor: pointer;
  550. font-size: 38px;
  551. }
  552. .common-table {
  553. .table-header {
  554. width: 100%;
  555. min-height: 31px;
  556. background: url('@/assets/images/common/header.png') no-repeat;
  557. background-size: 100% 100%;
  558. display: flex;
  559. align-items: center;
  560. padding: 0 19px;
  561. .td-cursor {
  562. cursor: pointer;
  563. }
  564. }
  565. .tr {
  566. width: 100%;
  567. min-height: 31px;
  568. background: url('@/assets/images/common/tr.png') no-repeat;
  569. background-size: 100% 100%;
  570. display: flex;
  571. align-items: center;
  572. margin-top: 6px;
  573. padding: 2px 19px;
  574. .td {
  575. //white-space: nowrap;
  576. //overflow: hidden;
  577. //text-overflow: ellipsis;
  578. }
  579. }
  580. .td {
  581. font-size: 14px;
  582. color: #edfaff;
  583. flex: 1;
  584. padding: 0 8px;
  585. text-align: center;
  586. }
  587. .down-icon {
  588. display: inline-block;
  589. width: 33px;
  590. height: 15px;
  591. background: url('@/assets/images/map/rightMenu/rainMonitor/down.png') no-repeat;
  592. cursor: pointer;
  593. margin-left: 8px;
  594. }
  595. .asc-icon {
  596. display: inline-block;
  597. width: 33px;
  598. height: 33px;
  599. background: url('@/assets/images/common/asc.png') no-repeat;
  600. cursor: pointer;
  601. margin-left: 8px;
  602. }
  603. .desc-icon {
  604. display: inline-block;
  605. width: 33px;
  606. height: 33px;
  607. background: url('@/assets/images/common/desc.png') no-repeat;
  608. cursor: pointer;
  609. margin-left: 8px;
  610. }
  611. .unSort-icon {
  612. display: inline-block;
  613. width: 33px;
  614. height: 32px;
  615. background: url('@/assets/images/common/unSort.png') no-repeat;
  616. background-size: 100% 100%;
  617. cursor: pointer;
  618. margin-left: 8px;
  619. }
  620. }
  621. .common-btn2 {
  622. border: 3px solid #247dff;
  623. border-radius: 8px;
  624. background-color: #19326f;
  625. color: #9bc3ff;
  626. font-size: 38px;
  627. cursor: pointer;
  628. padding: 15px;
  629. }
  630. .danger-tip {
  631. background: url('@/assets/images/common/dangerBg.png') no-repeat;
  632. background-size: 100% 100%;
  633. padding: 23px 18px;
  634. display: flex;
  635. align-items: center;
  636. position: absolute;
  637. top: 260px;
  638. left: 50%;
  639. transform: translateX(-50%);
  640. color: #fff;
  641. font-size: 38px;
  642. z-index: 999;
  643. &::before {
  644. content: '';
  645. display: block;
  646. width: 40px;
  647. height: 41px;
  648. background: url('@/assets/images/common/dangerIcon.png') no-repeat;
  649. background-size: 100% 100%;
  650. margin-right: 23px;
  651. }
  652. }
  653. .common-checked {
  654. width: 14px;
  655. height: 14px;
  656. background: url('@/assets/images/common/checked.png') no-repeat;
  657. background-size: 100% 100%;
  658. cursor: pointer;
  659. }
  660. .common-checked-half {
  661. width: 14px;
  662. height: 14px;
  663. background: url('@/assets/images/common/checked2.png') no-repeat;
  664. background-size: 100% 100%;
  665. cursor: pointer;
  666. }
  667. .common-checked-active {
  668. width: 14px;
  669. height: 14px;
  670. background: url('@/assets/images/common/checked3.png') no-repeat;
  671. background-size: 100% 100%;
  672. cursor: pointer;
  673. }
  674. @keyframes slideLeft{
  675. 0% {
  676. transform: translateX(-80%);
  677. }
  678. 80% {
  679. transform: translateX(92px);
  680. }
  681. 80% {
  682. transform: translateX(0);
  683. }
  684. }
  685. @keyframes slideRight {
  686. 0% {
  687. transform: translateX(100%);
  688. }
  689. 80% {
  690. transform: translateX(-92px);
  691. }
  692. 100% {
  693. transform: translateX(0);
  694. }
  695. }
  696. .success-bg {
  697. background-color: #38c95a;
  698. }
  699. .primary-bg {
  700. background-color: #2c81ff;
  701. }
  702. .processing-bg {
  703. background-color: #ffb000;
  704. }
  705. .common-title-box {
  706. width: 100%;
  707. height: 20px;
  708. background-image: url(@/assets/images/common/titleBox.png);
  709. background-repeat: no-repeat;
  710. background-size: 140px 14px;
  711. background-position: bottom left;
  712. padding-left: 26px;
  713. color: #ffffff;
  714. font-size: 16px;
  715. }
  716. .common-title {
  717. position: absolute;
  718. top: 3px;
  719. left: 50px;
  720. font-size: 24px;
  721. }