123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- html {
- width: 100%;
- height: 100%;
- background: #fff;
- transition: color 300ms, background-color 300ms;
- &.dark {
- filter: contrast(100%) invert(100%);
- img {
- filter: hue-rotate(180deg);
- }
- }
- }
- body {
- width: 100%;
- height: 100%;
- line-height: 24px;
- font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
- }
- img {
- vertical-align: middle;
- }
- h1, h2, h3, h4, h5, h6 {
- font-weight: 400;
- }
- .ve_header_row_class_name,
- .el-table__fixed-right-patch {
- background: $main-bg-color !important;
- }
- .ve_header_cell_class_name {
- background: $main-bg-color !important;
- }
- .ve_cell_class_name {
- background: $base-color !important;
- border-color: $base-color !important;
- }
- .ve_row_class_name {
- background: $base-color !important;
- }
- .ve_p_10 {
- padding: 10px;
- }
- //滚动条的宽度
- ::-webkit-scrollbar {
- width: 6px;
- height: 6px;
- }
- //滚动条的滑块
- ::-webkit-scrollbar-thumb {
- background-color: rgba(144, 147, 153, 0.3);
- border-radius: 3px;
- }
- .ve_select_option_slot {
- font-size: 12px;
- float: left;
- line-height: initial;
- padding-bottom: 10px;
- opacity: 0.7;
- }
- .ve_option_box {
- width: calc(50% - 132px);
- }
- .size-watch {
- width: 100%;
- height: 100%;
- // display: none;
- position: absolute;
- top: 0;
- z-index: -1;
- visibility: hidden;
- margin: 0;
- padding: 0;
- border: 0;
- }
- .ve_flex_col {
- display: flex;
- flex-direction: column;
- height: calc(100vh - #{$nav-height} - 80px);
- }
- .no-events{
- -webkit-pointer-events: none;
- -moz-pointer-events: none;
- -ms-pointer-events: none;
- -o-pointer-events: none;
- pointer-events: none;
- }
- .yes-events{
- -webkit-pointer-events: auto;
- -moz-pointer-events: auto;
- -ms-pointer-events: auto;
- -o-pointer-events: auto;
- pointer-events: auto;
- text-decoration: none;
- }
- .yes-events input{
- -webkit-pointer-events: auto;
- -moz-pointer-events: auto;
- -ms-pointer-events: auto;
- -o-pointer-events: auto;
- pointer-events: auto;
- text-decoration: none;
- }
- .pure-events{
- -webkit-pointer-events: auto;
- -moz-pointer-events: auto;
- -ms-pointer-events: auto;
- -o-pointer-events: auto;
- pointer-events: auto;
- }
- .inline{
- display: inline;
- }
- .general-font1{
- font-family:"microsoft yahei",Georgia,Serif;
- color: whitesmoke;
- }
- .general-font2{
- font-family:"KaiTi",Georgia,Serif;
- color: whitesmoke;
- }
- .label-bg{
- background-color: #ffffff50;
- border-radius: 5px;
- }
- .cursor-default{
- cursor: default;
- }
- .cursor-pointer{
- cursor: pointer;
- }
- div{
- font-family: PingFangSC-Medium, PingFang SC;
- }
- .PhotoSlider__Wrapper {
- z-index: 3000 !important;
- }
- .coord-box{
- color: whitesmoke;
- font-size: 14px;
- z-index: 100;
- text-align: center;
- padding:5px;
- border: 1px #192C30 solid;
- border-radius: 5px;
- background-color: #3E5B7850;
- }
- .title-box{
- height: 40px;
- padding-top: 10px;
- }
- .title-box .line{
- display: inline;
- width: 2px;
- margin-top: 2px;
- background: #4CD9B6;
- }
- .title-box .text{
- padding-left: 10px;
- display: inline;
- font-weight: bold;
- color: #494e55;
- a{
- font-weight: bold;
- color: #494e55;
- text-decoration: none;
- }
- }
- .title-box .buttons{
- float: right;
- width: 50%;
- display: flex;
- flex-direction: row-reverse;
- }
- .imgNoClick{
- -webkit-user-drag: none;
- -khtml-user-drag: none;
- -moz-user-drag: none;
- -o-user-drag: none;
- user-drag: none;
- }
- .tooltip1{
- width: 150px;
- height: 90px;
- background: rgba(3,44,57,0.9);
- border-radius: 4px;
- border: 1px solid rgba(81,233,240,0.3);
- display: flex;
- flex-direction: column;
- align-items: center;
- div{
- color: #FFFFFF;
- width: 80%;
- font-size: 14px;
- height: 30px;
- line-height: 30px;
- }
- }
- .my-dialog{
- background-color: #F4F4F400;
- }
- //隐藏高德地图logo和版权
- .amap-logo ,.amap-copyright{
- display: none;
- opacity: 0 !important;
- }
- .chart_box{
- position: absolute;
- top:80px;
- bottom: 0px;
- left: 20px;
- right: 20px;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- .chart_row1{
- box-sizing: border-box;
- padding-top: 19px;
- height: 33%;
- display: flex;
- justify-content: space-between;
- }
- .chart_row2{
- height: 33%;
- display: flex;
- justify-content: space-between;
- }
- .chart_row3{
- height: 33%;
- display: flex;
- justify-content: space-between;
- }
- }
- .chart_col1{
- width: 23%;
- height: 100%;
- display: flex;
- flex-direction: row;
- justify-content: center;
- position: relative;
- }
- .chart_col2{
- width: 48%;
- height: 100%;
- display: flex;
- flex-direction: row;
- justify-content: center;
- position: relative;
- }
- ::-webkit-scrollbar {
- display: block !important;
- /* 滚动条整体样式 */
- height: 4px;
- width: 4px;
- }
- ::-webkit-scrollbar-thumb {
- /* 滚动条里面小方块 */
- background: #444444;
- border-radius: 6px;
- }
- ::-webkit-scrollbar-track {
- /* 滚动条里面轨道 */
- background: #ededed00;
- }
- .my-dialog{
- background-color: #F4F4F400;
- }
- .green-btn{
- color:#ffffff;
- font-weight: bold;
- background-color: #13C4CD;
- border-color: #13C4CD50;
- }
- .green-tabs{
- .el-tabs{
- --el-tabs-header-height:25px;
- }
- .el-tabs__item{
- padding-right: 0px;
- color:#00FFF070;
- }
- .el-tabs__nav{
- justify-content: flex-start;
- }
- .el-tabs__nav-wrap::after{
- background-color: #51E9F030;
- }
- .el-tabs__active-bar{
- background-color:#00FFF0;
- }
- .el-tabs__item.is-active{
- color:#00FFF0;
- }
- }
- .custom_btn1{
- width: 80px;
- height: 36px;
- line-height: 36px;
- text-align: center;
- background-image: url("@/assets/img/mini_btn_bg.png");
- background-size: 100% 100%;
- border-radius: 4px;
- cursor:pointer;
- color: #ffffff;
- }
- .custom_btn2{
- width: 80px;
- height: 36px;
- background: #13C4CD;
- border-radius: 4px;
- line-height: 36px;
- text-align: center;
- cursor:pointer;
- color: #ffffff;
- }
- .smallpagination{
- --el-pagination-font-size: 14px;
- --el-pagination-bg-color: none;
- --el-pagination-text-color: none;
- --el-pagination-border-radius: 2px;
- --el-pagination-button-color: none;
- --el-pagination-button-width: 32px;
- --el-pagination-button-height: 32px;
- --el-pagination-button-disabled-bg-color:none;
- --el-pagination-button-disabled-color:none;
- --el-pagination-button-bg-color: none;
- --el-pagination-hover-color: #00FFF0;;
- --el-pagination-font-size-small: 12px;
- --el-pagination-button-width-small: 24px;
- --el-pagination-button-height-small: 24px;
- --el-pagination-item-gap: 16px;
- }
- .m-2{
- padding: 0px;
- width: 25px;
- height: 25px;
- text-align: center;
- }
- .ol-zoom{
- /*隐藏地图左上角的+-号*/
- display: none;
- }
- @font-face {
- font-family: 'PangMenZhengDao'; /* 定义字体名称 */
- src: url('@/assets/font/PangMenZhengDao.TTF') format('truetype');
- font-weight: normal; /* 字体粗细 */
- font-style: normal; /* 字体风格 */
- }
- @font-face {
- font-family: 'SOURCEHANTIFINE'; /* 定义字体名称 */
- src: url('@/assets/font/SOURCEHANSANSCN-NORMAL.OTF') format('truetype');
- font-weight: normal; /* 字体粗细 */
- font-style: normal; /* 字体风格 */
- }
- @font-face {
- font-family: 'HANTI'; /* 定义字体名称 */
- src: url('@/assets/font/HANTI.TTF') format('truetype');
- font-weight: normal; /* 字体粗细 */
- font-style: normal; /* 字体风格 */
- }
- // 图表右上角
- .common-select {
- min-width: 46px;
- width: 100%;
- .el-select__wrapper {
- background: none;
- box-shadow: 0 0 0 1px rgba(102, 102, 102, 0.4) inset;
- &.is-hovering:not(.is-focused) {
- box-shadow: 0 0 0 1px rgba(102, 102, 102, 0.4) inset;
- }
- .el-select__placeholder {
- color: #fff;
- display: contents;
- }
- }
- }
- // 暗色主题dialog自定义样式
- .dialog-dark{
- .el-dialog{
- background: #232323;
- border: 1px solid #666666;
- border-radius: 8px;
- }
- }
- // 暗色主题table自定义样式
- .table-dark{
- --el-table-border-color:#444444;
- --el-table-border:1px solid #444444;
- border-radius: 4px;
- --el-table-row-hover-bg-color:rgba(68, 68, 68,0.4);
- th.el-table__cell{
- background-color: #2c2c2c;
- }
- tr{
- background-color: #2c2c2c;
- color: rgba(255 ,255 ,255 ,0.6);
- }
- td.el-table__cell, .el-table th.el-table__cell.is-leaf{
- border-bottom: 1px solid #444444;
- color: #ffffff;
- }
- .el-table__body-wrapper{
- background-color: #2c2c2c;
- .el-table__empty-text{
- color: #fff;
- }
- }
- }
- //element 全局颜色修改
- .el-button{
- --el-button-border-color:rgba(255, 255, 255, 0.4);
- --el-button-bg-color:none;
- --el-button-hover-bg-color:none;
- --el-button-hover-border-color:rgba(255, 255, 255, 0.4);
- --el-button-hover-text-color:#fff;
- --el-button-active-border-color:rgba(255, 255, 255, 0.4);
- color: #fff;
- }
- .el-button--primary{
- --el-button-border-color:#2199F8;
- --el-button-bg-color:#2199F8;
- --el-button-hover-bg-color:#2199F8;
- --el-button-hover-border-color:#2199F8;
- --el-button-hover-text-color:#fff;
- --el-button-active-border-color:#2199F8;
- --el-button-active-bg-color:#2199F8;
- }
|