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;
}
.yse-events{
-webkit-pointer-events: auto;
-moz-pointer-events: auto;
-ms-pointer-events: auto;
-o-pointer-events: auto;
pointer-events: auto;
text-decoration: none;
}
.yse-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;
}
.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;
}
.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: 10px;
width: 10px;
}
::-webkit-scrollbar-thumb {
/* 滚动条里面小方块 */
background: #689D9B;
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;
}
// 自定义popper样式 复核对比
.v-select-popper {
background: linear-gradient(0deg, #2a746c 0%, #22569c 100%);
.el-select-dropdown__item{
color: #fff;
text-align: center;
font-size: 16px;
position: relative;
&::after{
content: '';
position: absolute;
bottom: 0;
left: 10%;
width: 80%;
height: 1px;
background: url("@/assets/img/checkComparison/select_line.png")
no-repeat center center / 100% 100%;
}
}
.el-select-dropdown__item:last-child{
&::after{
background: none;
}
}
.el-select-dropdown__item.is-hovering{
background: linear-gradient(0deg, #94d0ff 0%, #2a746c 100%);
}
.el-popper__arrow:before{
background: #22569C !important;
}
}
// 自定义popper样式 编辑农事
.v-select-popper-ns {
background: #032c39;
.el-select-dropdown__item{
color: #00FFF0;
}
.el-select-dropdown__item.is-hovering{
background: #032c39;
}
.is-selected{
color: #00FFF0 !important;
background-color: rgba(81, 233, 240, 0.1) !important;
}
.el-popper__arrow:before{
background: #032c39 !important;
}
}
// 农事自定义dialog样式
.v-dialog{
background: rgba(12,41,50,1);
border: 1px solid #06a0c2;
padding: 0;
// height: 89%;
.el-dialog__header{
padding-bottom: 0;
}
.dialog-header {
font-weight: normal;
font-size: 17px;
color: #00fff0;
border-bottom: 1px solid rgba(6, 160, 194, 0.5);
background: #004054;
padding: 10px 17px;
display: flex;
align-items: center;
justify-content: space-between;
.close-icon{
cursor: pointer;
}
}
.el-dialog__footer{
padding-top: 0;
}
}
//态势tootip样式
.v-echarts-tooltip{
text-align: center;
font-weight: bold;
div{
color: #00FFF0;
font-size: 11px;
padding: 4px 8px 2px 8px;
background: rgba(32, 64, 73, 0.8);
}
span{
font-size: 12px;
display: inline-block;
padding: 2px 8px 4px 8px;
}
}
@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; /* 字体风格 */
}
.watermark {
position: absolute;
bottom: 0;
background: rgba(20, 46, 1, 0.34);
width: 100%;
padding: 6px 22px;
display: flex;
align-items: center;
box-sizing: border-box;
color: #ffffff;
justify-content: center;
.region {
background: url("@/assets/img/round_bg.png") no-repeat center center /
100% 100%;
width: 83px;
height: 83px;
font-size: 28px;
text-stroke: 2px #003c4e;
-webkit-text-stroke: 2px #003c4e;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1%;
}
.center {
color: #fffffe;
display: flex;
align-items: center;
-webkit-text-stroke: 1.4px #003c4e;
margin-right: 1.5%;
.line {
width: 2px;
height: 60px;
background: #ffffff;
border-radius: 0px 6px 0px 0px;
border: 2px solid #003c4e;
margin-right: 1.5%;
}
.time {
font-size: 20px;
font-weight: 400;
margin-right: 3%;
.year {
-webkit-text-stroke: 1.2px #003c4e;
}
.divider {
width: 42px;
height: 1px;
background: #ffffff;
border: 1.5px solid #003c4e;
}
.date {
font-size: 52px;
-webkit-text-stroke: 2px #003c4e;
}
}
.code {
font-weight: bold;
font-size: 28px;
padding-left: 15px;
margin-right: 1.5%;
width: 288px;
div {
position: relative;
&::before {
content: "";
position: absolute;
left: -20px;
top: 15px;
width: 9px;
height: 9px;
background: linear-gradient(0deg, #4facfe 0%, #00f2fe 100%);
border-radius: 50%;
border: 1.5px solid #003c4e;
}
}
}
.weather {
font-weight: bold;
font-size: 30px;
display: flex;
.temperature {
display: flex;
align-items: center;
.num {
margin-left: 5px;
line-height: 24px;
img {
height: 9px;
margin-bottom: 5px;
}
}
}
}
}
.right {
display: flex;
.circle {
width: 98px;
height: 98px;
border-radius: 50%;
text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
font-size: 25px;
color: #fffefe;
box-sizing: border-box;
padding: 12px;
text-align: center;
margin-left: 10px;
}
.yellow {
padding: 12px 9px;
line-height: 65px;
border: 2px solid #ffc000;
background: rgba(116, 96, 83, 0.4);
}
.blue {
border: 2px solid #b9e1ff;
background: rgba(16, 89, 119, 0.4);
}
}
}
.watermark-style {
position: absolute;
background: rgba(20, 46, 1, 0.34);
width: 100%;
bottom: 0;
padding: 12px 18px 8px 18px;
display: flex;
align-items: center;
box-sizing: border-box;
color: #ffffff;
justify-content: space-between;
.left{
display: flex;
align-items: center;
}
.region {
width: 50px;
height: 50px;
font-size: 17px;
background: url("@/assets/img/round_bg.png") no-repeat center center /
100% 100%;
line-height: 50px;
text-align: center;
margin-right: 15px;
}
.date{
font-size: 30px;
color: #FFFFFE;
font-weight: bold;
-webkit-text-stroke: 0.6px #003c4e;
margin-right: 12px;
}
.whq{
font-size: 22px;
}
.code{
display: flex;
margin-right: 14px;
.code-txt{
font-weight: bold;
font-size: 22px;
margin-left: 25px;
position: relative;
&::before{
content: '';
position: absolute;
left: -15px;
top: 12px;
width: 6px;
height: 6px;
background: linear-gradient(0deg, #4FACFE 0%, #00F2FE 100%);
border-radius: 50%;
border: 2px solid #21494f;
}
}
}
.weather{
display: flex;
.temperature{
display: flex;
align-items: center;
font-size: 22px;
margin-right: 10px;
img{
width: 28px;
height: 28px;
margin-right: 4px;
}
}
}
.right{
display: flex;
font-size: 17px;
.block{
border: 1px solid rgba(255, 255, 255, 0.64);
border-radius: 4px;
padding: 8px 12px;
&.mr{
margin-right: 8px;
}
}
}
}