common.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. html {
  2. width: 100%;
  3. height: 100%;
  4. background: #fff;
  5. transition: color 300ms, background-color 300ms;
  6. &.dark {
  7. filter: contrast(100%) invert(100%);
  8. img {
  9. filter: hue-rotate(180deg);
  10. }
  11. }
  12. }
  13. body {
  14. width: 100%;
  15. height: 100%;
  16. line-height: 24px;
  17. font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
  18. }
  19. img {
  20. vertical-align: middle;
  21. }
  22. h1, h2, h3, h4, h5, h6 {
  23. font-weight: 400;
  24. }
  25. .ve_header_row_class_name,
  26. .el-table__fixed-right-patch {
  27. background: $main-bg-color !important;
  28. }
  29. .ve_header_cell_class_name {
  30. background: $main-bg-color !important;
  31. }
  32. .ve_cell_class_name {
  33. background: $base-color !important;
  34. border-color: $base-color !important;
  35. }
  36. .ve_row_class_name {
  37. background: $base-color !important;
  38. }
  39. .ve_p_10 {
  40. padding: 10px;
  41. }
  42. //滚动条的宽度
  43. ::-webkit-scrollbar {
  44. width: 6px;
  45. height: 6px;
  46. }
  47. //滚动条的滑块
  48. ::-webkit-scrollbar-thumb {
  49. background-color: rgba(144, 147, 153, 0.3);
  50. border-radius: 3px;
  51. }
  52. .ve_select_option_slot {
  53. font-size: 12px;
  54. float: left;
  55. line-height: initial;
  56. padding-bottom: 10px;
  57. opacity: 0.7;
  58. }
  59. .ve_option_box {
  60. width: calc(50% - 132px);
  61. }
  62. .size-watch {
  63. width: 100%;
  64. height: 100%;
  65. // display: none;
  66. position: absolute;
  67. top: 0;
  68. z-index: -1;
  69. visibility: hidden;
  70. margin: 0;
  71. padding: 0;
  72. border: 0;
  73. }
  74. .ve_flex_col {
  75. display: flex;
  76. flex-direction: column;
  77. height: calc(100vh - #{$nav-height} - 80px);
  78. }
  79. .no-events{
  80. -webkit-pointer-events: none;
  81. -moz-pointer-events: none;
  82. -ms-pointer-events: none;
  83. -o-pointer-events: none;
  84. pointer-events: none;
  85. }
  86. .yse-events{
  87. -webkit-pointer-events: auto;
  88. -moz-pointer-events: auto;
  89. -ms-pointer-events: auto;
  90. -o-pointer-events: auto;
  91. pointer-events: auto;
  92. text-decoration: none;
  93. }
  94. .yse-events input{
  95. -webkit-pointer-events: auto;
  96. -moz-pointer-events: auto;
  97. -ms-pointer-events: auto;
  98. -o-pointer-events: auto;
  99. pointer-events: auto;
  100. text-decoration: none;
  101. }
  102. .pure-events{
  103. -webkit-pointer-events: auto;
  104. -moz-pointer-events: auto;
  105. -ms-pointer-events: auto;
  106. -o-pointer-events: auto;
  107. pointer-events: auto;
  108. }
  109. .inline{
  110. display: inline;
  111. }
  112. .general-font1{
  113. font-family:"microsoft yahei",Georgia,Serif;
  114. color: whitesmoke;
  115. }
  116. .general-font2{
  117. font-family:"KaiTi",Georgia,Serif;
  118. color: whitesmoke;
  119. }
  120. .label-bg{
  121. background-color: #ffffff50;
  122. border-radius: 5px;
  123. }
  124. .cursor-default{
  125. cursor:default;
  126. }
  127. .cursor-pointer{
  128. cursor:pointer;
  129. }
  130. div{
  131. font-family: PingFangSC-Medium, PingFang SC;
  132. }
  133. .coord-box{
  134. color: whitesmoke;
  135. font-size: 14px;
  136. z-index: 100;
  137. text-align: center;
  138. padding:5px;
  139. border: 1px #192C30 solid;
  140. border-radius: 5px;
  141. background-color: #3E5B7850;
  142. }
  143. .title-box{
  144. height: 40px;
  145. padding-top: 10px;
  146. }
  147. .title-box .line{
  148. display: inline;
  149. width: 2px;
  150. margin-top: 2px;
  151. background: #4CD9B6;
  152. }
  153. .title-box .text{
  154. padding-left: 10px;
  155. display: inline;
  156. font-weight: bold;
  157. color: #494e55;
  158. a{
  159. font-weight: bold;
  160. color: #494e55;
  161. text-decoration: none;
  162. }
  163. }
  164. .title-box .buttons{
  165. float: right;
  166. width: 50%;
  167. display: flex;
  168. flex-direction: row-reverse;
  169. }
  170. .imgNoClick{
  171. -webkit-user-drag: none;
  172. -khtml-user-drag: none;
  173. -moz-user-drag: none;
  174. -o-user-drag: none;
  175. user-drag: none;
  176. }
  177. .tooltip1{
  178. width: 150px;
  179. height: 90px;
  180. background: rgba(3,44,57,0.9);
  181. border-radius: 4px;
  182. border: 1px solid rgba(81,233,240,0.3);
  183. display: flex;
  184. flex-direction: column;
  185. align-items: center;
  186. div{
  187. color: #FFFFFF;
  188. width: 80%;
  189. font-size: 14px;
  190. height: 30px;
  191. line-height: 30px;
  192. }
  193. }
  194. .my-dialog{
  195. background-color: #F4F4F400;
  196. }
  197. .chart_box{
  198. position: absolute;
  199. top:80px;
  200. bottom: 0px;
  201. left: 20px;
  202. right: 20px;
  203. display: flex;
  204. flex-direction: column;
  205. justify-content: space-around;
  206. .chart_row1{
  207. box-sizing: border-box;
  208. padding-top: 19px;
  209. height: 33%;
  210. display: flex;
  211. justify-content: space-between;
  212. }
  213. .chart_row2{
  214. height: 33%;
  215. display: flex;
  216. justify-content: space-between;
  217. }
  218. .chart_row3{
  219. height: 33%;
  220. display: flex;
  221. justify-content: space-between;
  222. }
  223. }
  224. .chart_col1{
  225. width: 23%;
  226. height: 100%;
  227. display: flex;
  228. flex-direction: row;
  229. justify-content: center;
  230. position: relative;
  231. }
  232. .chart_col2{
  233. width: 48%;
  234. height: 100%;
  235. display: flex;
  236. flex-direction: row;
  237. justify-content: center;
  238. position: relative;
  239. }
  240. ::-webkit-scrollbar {
  241. display: block !important;
  242. /* 滚动条整体样式 */
  243. height: 10px;
  244. width: 10px;
  245. }
  246. ::-webkit-scrollbar-thumb {
  247. /* 滚动条里面小方块 */
  248. background: #689D9B;
  249. border-radius: 6px;
  250. }
  251. ::-webkit-scrollbar-track {
  252. /* 滚动条里面轨道 */
  253. background: #ededed00;
  254. }
  255. .my-dialog{
  256. background-color: #F4F4F400;
  257. }
  258. .green-btn{
  259. color:#ffffff;
  260. font-weight: bold;
  261. background-color: #13C4CD;
  262. border-color: #13C4CD50;
  263. }
  264. .green-tabs{
  265. .el-tabs{
  266. --el-tabs-header-height:25px;
  267. }
  268. .el-tabs__item{
  269. padding-right: 0px;
  270. color:#00FFF070;
  271. }
  272. .el-tabs__nav{
  273. justify-content: flex-start;
  274. }
  275. .el-tabs__nav-wrap::after{
  276. background-color: #51E9F030;
  277. }
  278. .el-tabs__active-bar{
  279. background-color:#00FFF0;
  280. }
  281. .el-tabs__item.is-active{
  282. color:#00FFF0;
  283. }
  284. }
  285. .custom_btn1{
  286. width: 80px;
  287. height: 36px;
  288. line-height: 36px;
  289. text-align: center;
  290. background-image: url("@/assets/img/mini_btn_bg.png");
  291. background-size: 100% 100%;
  292. border-radius: 4px;
  293. cursor:pointer;
  294. color: #ffffff;
  295. }
  296. .custom_btn2{
  297. width: 80px;
  298. height: 36px;
  299. background: #13C4CD;
  300. border-radius: 4px;
  301. line-height: 36px;
  302. text-align: center;
  303. cursor:pointer;
  304. color: #ffffff;
  305. }
  306. .smallpagination{
  307. --el-pagination-font-size: 14px;
  308. --el-pagination-bg-color: none;
  309. --el-pagination-text-color: none;
  310. --el-pagination-border-radius: 2px;
  311. --el-pagination-button-color: none;
  312. --el-pagination-button-width: 32px;
  313. --el-pagination-button-height: 32px;
  314. --el-pagination-button-disabled-bg-color:none;
  315. --el-pagination-button-disabled-color:none;
  316. --el-pagination-button-bg-color: none;
  317. --el-pagination-hover-color: #00FFF0;;
  318. --el-pagination-font-size-small: 12px;
  319. --el-pagination-button-width-small: 24px;
  320. --el-pagination-button-height-small: 24px;
  321. --el-pagination-item-gap: 16px;
  322. }
  323. .m-2{
  324. padding: 0px;
  325. width: 25px;
  326. height: 25px;
  327. text-align: center;
  328. }
  329. .ol-zoom{
  330. /*隐藏地图左上角的+-号*/
  331. display: none;
  332. }
  333. // 自定义popper样式 复核对比
  334. .v-select-popper {
  335. background: linear-gradient(0deg, #2a746c 0%, #22569c 100%);
  336. .el-select-dropdown__item{
  337. color: #fff;
  338. text-align: center;
  339. font-size: 16px;
  340. position: relative;
  341. &::after{
  342. content: '';
  343. position: absolute;
  344. bottom: 0;
  345. left: 10%;
  346. width: 80%;
  347. height: 1px;
  348. background: url("@/assets/img/checkComparison/select_line.png")
  349. no-repeat center center / 100% 100%;
  350. }
  351. }
  352. .el-select-dropdown__item:last-child{
  353. &::after{
  354. background: none;
  355. }
  356. }
  357. .el-select-dropdown__item.is-hovering{
  358. background: linear-gradient(0deg, #94d0ff 0%, #2a746c 100%);
  359. }
  360. .el-popper__arrow:before{
  361. background: #22569C !important;
  362. }
  363. }
  364. // 自定义popper样式 编辑农事
  365. .v-select-popper-ns {
  366. background: #032c39;
  367. .el-select-dropdown__item{
  368. color: #00FFF0;
  369. }
  370. .el-select-dropdown__item.is-hovering{
  371. background: #032c39;
  372. }
  373. .is-selected{
  374. color: #00FFF0 !important;
  375. background-color: rgba(81, 233, 240, 0.1) !important;
  376. }
  377. .el-popper__arrow:before{
  378. background: #032c39 !important;
  379. }
  380. }
  381. // 农事自定义dialog样式
  382. .v-dialog{
  383. background: rgba(12,41,50,1);
  384. border: 1px solid #06a0c2;
  385. padding: 0;
  386. // height: 89%;
  387. .el-dialog__header{
  388. padding-bottom: 0;
  389. }
  390. .dialog-header {
  391. font-weight: normal;
  392. font-size: 17px;
  393. color: #00fff0;
  394. border-bottom: 1px solid rgba(6, 160, 194, 0.5);
  395. background: #004054;
  396. padding: 10px 17px;
  397. display: flex;
  398. align-items: center;
  399. justify-content: space-between;
  400. .close-icon{
  401. cursor: pointer;
  402. }
  403. }
  404. .el-dialog__footer{
  405. padding-top: 0;
  406. }
  407. }
  408. //态势tootip样式
  409. .v-echarts-tooltip{
  410. text-align: center;
  411. font-weight: bold;
  412. div{
  413. color: #00FFF0;
  414. font-size: 11px;
  415. padding: 4px 8px 2px 8px;
  416. background: rgba(32, 64, 73, 0.8);
  417. }
  418. span{
  419. font-size: 12px;
  420. display: inline-block;
  421. padding: 2px 8px 4px 8px;
  422. }
  423. }
  424. @font-face {
  425. font-family: 'PangMenZhengDao'; /* 定义字体名称 */
  426. src: url('@/assets/font/PangMenZhengDao.TTF') format('truetype');
  427. font-weight: normal; /* 字体粗细 */
  428. font-style: normal; /* 字体风格 */
  429. }
  430. @font-face {
  431. font-family: 'SOURCEHANTIFINE'; /* 定义字体名称 */
  432. src: url('@/assets/font/SOURCEHANSANSCN-NORMAL.OTF') format('truetype');
  433. font-weight: normal; /* 字体粗细 */
  434. font-style: normal; /* 字体风格 */
  435. }
  436. @font-face {
  437. font-family: 'HANTI'; /* 定义字体名称 */
  438. src: url('@/assets/font/HANTI.TTF') format('truetype');
  439. font-weight: normal; /* 字体粗细 */
  440. font-style: normal; /* 字体风格 */
  441. }
  442. .watermark {
  443. position: absolute;
  444. bottom: 0;
  445. background: rgba(20, 46, 1, 0.34);
  446. width: 100%;
  447. padding: 6px 22px;
  448. display: flex;
  449. align-items: center;
  450. box-sizing: border-box;
  451. color: #ffffff;
  452. justify-content: center;
  453. .region {
  454. background: url("@/assets/img/round_bg.png") no-repeat center center /
  455. 100% 100%;
  456. width: 83px;
  457. height: 83px;
  458. font-size: 28px;
  459. text-stroke: 2px #003c4e;
  460. -webkit-text-stroke: 2px #003c4e;
  461. font-weight: bold;
  462. display: flex;
  463. align-items: center;
  464. justify-content: center;
  465. margin-right: 1%;
  466. }
  467. .center {
  468. color: #fffffe;
  469. display: flex;
  470. align-items: center;
  471. -webkit-text-stroke: 1.4px #003c4e;
  472. margin-right: 1.5%;
  473. .line {
  474. width: 2px;
  475. height: 60px;
  476. background: #ffffff;
  477. border-radius: 0px 6px 0px 0px;
  478. border: 2px solid #003c4e;
  479. margin-right: 1.5%;
  480. }
  481. .time {
  482. font-size: 20px;
  483. font-weight: 400;
  484. margin-right: 3%;
  485. .year {
  486. -webkit-text-stroke: 1.2px #003c4e;
  487. }
  488. .divider {
  489. width: 42px;
  490. height: 1px;
  491. background: #ffffff;
  492. border: 1.5px solid #003c4e;
  493. }
  494. .date {
  495. font-size: 52px;
  496. -webkit-text-stroke: 2px #003c4e;
  497. }
  498. }
  499. .code {
  500. font-weight: bold;
  501. font-size: 28px;
  502. padding-left: 15px;
  503. margin-right: 1.5%;
  504. width: 288px;
  505. div {
  506. position: relative;
  507. &::before {
  508. content: "";
  509. position: absolute;
  510. left: -20px;
  511. top: 15px;
  512. width: 9px;
  513. height: 9px;
  514. background: linear-gradient(0deg, #4facfe 0%, #00f2fe 100%);
  515. border-radius: 50%;
  516. border: 1.5px solid #003c4e;
  517. }
  518. }
  519. }
  520. .weather {
  521. font-weight: bold;
  522. font-size: 30px;
  523. display: flex;
  524. .temperature {
  525. display: flex;
  526. align-items: center;
  527. .num {
  528. margin-left: 5px;
  529. line-height: 24px;
  530. img {
  531. height: 9px;
  532. margin-bottom: 5px;
  533. }
  534. }
  535. }
  536. }
  537. }
  538. .right {
  539. display: flex;
  540. .circle {
  541. width: 98px;
  542. height: 98px;
  543. border-radius: 50%;
  544. text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
  545. font-size: 25px;
  546. color: #fffefe;
  547. box-sizing: border-box;
  548. padding: 12px;
  549. text-align: center;
  550. margin-left: 10px;
  551. }
  552. .yellow {
  553. padding: 12px 9px;
  554. line-height: 65px;
  555. border: 2px solid #ffc000;
  556. background: rgba(116, 96, 83, 0.4);
  557. }
  558. .blue {
  559. border: 2px solid #b9e1ff;
  560. background: rgba(16, 89, 119, 0.4);
  561. }
  562. }
  563. }
  564. .watermark-style {
  565. position: absolute;
  566. background: rgba(20, 46, 1, 0.34);
  567. width: 100%;
  568. bottom: 0;
  569. padding: 12px 18px 8px 18px;
  570. display: flex;
  571. align-items: center;
  572. box-sizing: border-box;
  573. color: #ffffff;
  574. justify-content: space-between;
  575. .left{
  576. display: flex;
  577. align-items: center;
  578. }
  579. .region {
  580. width: 50px;
  581. height: 50px;
  582. font-size: 17px;
  583. background: url("@/assets/img/round_bg.png") no-repeat center center /
  584. 100% 100%;
  585. line-height: 50px;
  586. text-align: center;
  587. margin-right: 15px;
  588. }
  589. .date{
  590. font-size: 30px;
  591. color: #FFFFFE;
  592. font-weight: bold;
  593. -webkit-text-stroke: 0.6px #003c4e;
  594. margin-right: 12px;
  595. }
  596. .whq{
  597. font-size: 22px;
  598. }
  599. .code{
  600. display: flex;
  601. margin-right: 14px;
  602. .code-txt{
  603. font-weight: bold;
  604. font-size: 22px;
  605. margin-left: 25px;
  606. position: relative;
  607. &::before{
  608. content: '';
  609. position: absolute;
  610. left: -15px;
  611. top: 12px;
  612. width: 6px;
  613. height: 6px;
  614. background: linear-gradient(0deg, #4FACFE 0%, #00F2FE 100%);
  615. border-radius: 50%;
  616. border: 2px solid #21494f;
  617. }
  618. }
  619. }
  620. .weather{
  621. display: flex;
  622. .temperature{
  623. display: flex;
  624. align-items: center;
  625. font-size: 22px;
  626. margin-right: 10px;
  627. img{
  628. width: 28px;
  629. height: 28px;
  630. margin-right: 4px;
  631. }
  632. }
  633. }
  634. .right{
  635. display: flex;
  636. font-size: 17px;
  637. .block{
  638. border: 1px solid rgba(255, 255, 255, 0.64);
  639. border-radius: 4px;
  640. padding: 8px 12px;
  641. &.mr{
  642. margin-right: 8px;
  643. }
  644. }
  645. }
  646. }