@import "_map-variable";
|
|
.leaflet-container,
|
html, body {
|
// font-family: 'Microsoft YaHei';
|
font: 12px/1.5 "Microsoft YaHei", Arial, Helvetica, sans-serif;
|
}
|
|
/*全局设置***********/
|
h1, h2, h3, h4, h5, h6, ul, li, p {
|
padding: 0;
|
margin: 0;
|
list-style: none;
|
}
|
|
i {
|
font-style: normal
|
}
|
|
.el-button--primary {
|
color: @color;
|
background-color: @background-color;
|
border-color: @color;
|
}
|
|
.el-tabs {
|
.el-tabs__item {
|
padding: 0 10px;
|
text-align: center;
|
height: 20px;
|
line-height: 20px;
|
color: @color;
|
cursor: pointer;
|
-ms-flex-negative: 0;
|
flex-shrink: 0;
|
}
|
}
|
|
.el-tabs__header {
|
font-size: .08333rem;
|
line-height: .10938rem;
|
|
background: rgba(0, 255, 246, .14);
|
|
// background: rgba(0,255,246,.14);
|
}
|
|
.el-dialog {
|
border: 0.00521rem solid @color;
|
box-shadow: 0 0 0.03rem @color;
|
background: rgba(0, 16, 30, 0.8);
|
border-radius: 0.05208rem;
|
|
.el-dialog__title {
|
padding: .03125rem .08333rem;
|
color: @color-title;
|
cursor: pointer;
|
flex-shrink: 0;
|
}
|
}
|
|
.select-down {
|
border: none !important;
|
background-color: @background-color;
|
margin: 0;
|
|
//.el-scrollbar{
|
//
|
// background-color: @background-color !important;
|
// }
|
// .el-scrollbar__view .el-select-dropdown__list{
|
// background-color: @background-color !important;
|
// }
|
.el-select-dropdown__item.hover {
|
background-color: @background-color-light;
|
}
|
|
.el-select-dropdown__item {
|
color: @color;
|
//background-color: @background-color;
|
}
|
|
// .el-select-dropdown{
|
// border: none !important;
|
// background-color: @background-color !important;
|
// }
|
// .el-select-dropdown__empty{
|
// color: @color;
|
// background-color: @background-color;
|
// }
|
.popper__arrow::after {
|
border-bottom-color: @color;
|
}
|
}
|
|
.el-tabs {
|
.el-tabs__item {
|
height: 40px;
|
line-height: 40px;
|
}
|
}
|
|
.el-table th, .el-table tr {
|
background-color: transparent;
|
}
|
|
.el-table {
|
color: @color;
|
background: transparent;
|
|
thead {
|
color: #ffffff;
|
font-weight: 500;
|
}
|
|
thead.is-group th {
|
background: transparent;
|
padding: 0
|
}
|
|
.el-table__expanded-cell {
|
background: transparent;
|
}
|
}
|
|
.map-input {
|
input {
|
border-radius: 0;
|
background-color: @background-color-light;
|
border: solid 1px @color;
|
}
|
}
|
|
.map-tooltip.is-dark {
|
font-size: .08333rem;
|
color: @color-highlight;
|
background: @background-color;
|
border-radius: .03rem;
|
padding: .05rem;
|
}
|
|
.map-btn-unactive {
|
color: @color;
|
border: .00521rem solid @color;
|
box-shadow: 0 0 .03rem @color;
|
}
|
|
.map-btn-active {
|
color: @color-highlight;
|
border: .00521rem solid @color-highlight;
|
box-shadow: 0 0 .03rem @color-highlight;
|
}
|
|
.map-btn-background {
|
background: @background-color;
|
//border: .00521rem solid @color;
|
//box-shadow: 0 0 .03rem @color;
|
//border-radius: .05208rem;
|
}
|
|
.map-background {
|
//color: @color;
|
border: .00521rem solid @color;
|
box-shadow: 0 0 .03rem @color;
|
background: @background-color;
|
//padding: .05rem !important;
|
border-radius: .05208rem;
|
}
|
|
.map-under-line {
|
height: 1px;
|
background: @background-color-split;
|
margin-block-start: 0;
|
margin-block-end: 0;
|
}
|
|
.tools-panel-content {
|
//position: absolute;
|
//top: 60px;
|
//left: 55px;
|
background: @background-color;
|
border: 0.00521rem solid @color-shadow;
|
padding: 0;
|
//width: 90px;
|
display: flex;
|
flex-wrap: wrap;
|
justify-content: space-evenly;
|
margin-left: 55px;
|
|
.el-button {
|
padding: 0;
|
margin: 5px;
|
width: 30px;
|
height: 30px;
|
background: @background-color-tools;
|
vertical-align: middle !important;
|
|
img {
|
width: 16px;
|
height: 16px;
|
}
|
}
|
}
|
|
.leaflet-control-easyPrint .leaflet-bar .leaflet-control {
|
display: none;
|
}
|
|
.popper__arrow {
|
display: none !important;
|
}
|
|
.el-tabs--card > .el-tabs__header .el-tabs__nav {
|
border: none;
|
}
|
|
.el-tabs--card > .el-tabs__header .el-tabs__item {
|
border: none;
|
margin-left: 10px;
|
}
|
|
.el-scrollbar__wrap {
|
|
}
|
|
.el-scrollbar__wrap::-webkit-scrollbar {
|
/*滚动条整体样式*/
|
width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
|
height: 1px;
|
}
|
|
.el-scrollbar__wrap::-webkit-scrollbar-thumb {
|
/*滚动条里面小方块*/
|
border-radius: 10px;
|
background: none;
|
}
|
|
.el-scrollbar__wrap::-webkit-scrollbar-track {
|
/*滚动条里面轨道*/
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
background: none;
|
border-radius: 10px;
|
}
|
|
#el-scrollbar__wrap::-webkit-scrollbar-button { /*滚动条两端的按钮,可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果(位置2)*/
|
background: #74D334;
|
}
|
|
/*******************操作按钮点击选中整体样式******************************/
|
.el-button {
|
|
}
|
|
.hover-bottom:hover,
|
.hover-bottom.hover{
|
box-shadow: 0 0 0.03rem #fff700 inset !important;
|
color: #fff700 !important;
|
cursor: pointer;
|
}
|
.active-button {
|
border: 0.00521rem solid #fff700 !important;
|
box-shadow: 0 0 0.03rem #fff700 !important;
|
color: #fff700 !important;
|
}
|
|
/***************Company 图层 悬浮框样式。*********************************/
|
.company-bindTooltip {
|
position: absolute;
|
top: 0;
|
left: 0;
|
display: flex;
|
justify-content: center;
|
justify-items: center;
|
|
img {
|
display: block;
|
width: 30px;
|
height: 30px;
|
margin-left: -15px;
|
margin-top: -15px
|
}
|
|
ul {
|
width: 120px;
|
margin-left: -60px;
|
text-align: center;
|
display: flex;
|
position: absolute;
|
top: 20px;
|
left: 0;
|
|
li {
|
position: absolute;
|
top: 0;
|
left: 0;
|
width: 100%;
|
font-weight: 900;
|
text-shadow: 0 0 4px #fff;
|
color: red;
|
font-size: 16px;
|
height: 20px;
|
line-height: 18px;
|
overflow: visible;
|
}
|
}
|
}
|
|
/*.company-bindTooltip {
|
//background: @background-color-split;
|
background: none;
|
border: none;
|
color: red;
|
//font-size: 16px;
|
box-shadow: none;
|
text-shadow: 0 0 5px #fff;
|
filter:Dropshadow(offx=1,offy=0,color=white)
|
Dropshadow(offx=0,offy=1,color=white)
|
Dropshadow(offx=0,offy=-1,color=white)
|
Dropshadow(offx=-1,offy=0,color=white);
|
box-shadow: none;
|
-webkit-text-stroke: 0.1px #fff;
|
font: 16px "Microsoft YaHei", Arial, Helvetica, sans-serif;
|
ul{
|
position: relative;
|
li:not(:first-child){
|
position: absolute;
|
top:0;
|
left:0;
|
width: 100%;
|
font-weight: 900;
|
}
|
li{
|
text-shadow: 0 0 4px #fff;
|
}
|
}
|
}*/
|
.company-bindTooltip:before {
|
display: none;
|
}
|
|
.company-bindTooltip-hover h3 {
|
text-align: center;
|
border-bottom: 1px solid #0B3B6D;
|
margin: 0;
|
padding: 0;
|
}
|
|
.company-bindTooltip-hover ul {
|
list-style: none;
|
margin: 0;
|
padding: 0;
|
//width: 260px;
|
//display: flex;
|
flex-wrap: wrap;
|
}
|
|
.company-bindTooltip-hover ul li {
|
margin: 0;
|
padding: 3px 0;
|
//width: 50%;
|
}
|
|
/*************** PublicTable 表格样式。*********************************/
|
|
.el-table {
|
border: 1px solid #396d83 !important;
|
|
.el-table__body-wrapper::-webkit-scrollbar {
|
width: 0;
|
height: 0;
|
background: none;
|
}
|
.cell {
|
padding: 0 3px !important;
|
i {
|
display: block;
|
font-style: normal;
|
font-size: 10px;
|
line-height: 12px;
|
}
|
}
|
}
|
|
.el-table--border th {
|
border-right: none;
|
border-left: 1px solid #ddd;
|
}
|
|
.el-table--border th.gutter {
|
border-left: none
|
}
|
|
.el-table .cell, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
|
text-align: center;
|
}
|
|
.el-table th > .cell {
|
color: #00fff6;
|
}
|
|
.el-table__row > td {
|
border: none;
|
}
|
|
.el-table::before { //去掉最下面的那一条线
|
height: 0;
|
}
|
|
.el-table td, .el-table th.is-leaf {
|
font-size: 0.08rem;
|
}
|
.el-table td, .el-table th.is-leaf {
|
border-bottom: none;
|
}
|
|
.el-table .warning-row {
|
background: #27304d;
|
}
|
|
.el-table .success-row {
|
background: #30455f;
|
}
|
|
.el-table tbody tr:hover > td {
|
background-color: #28304d !important;
|
}
|
|
//修改表格高度
|
.el-table td {
|
padding: 0 !important;
|
font-size: 0.01rem !important;
|
}
|
|
/***********************************************动画效果************/
|
.transition {
|
transition: all .5s;
|
/* transform-origin: top left;*/
|
animation: bounce-in .2s;
|
}
|
|
@keyframes bounce-in {
|
0% {
|
transform: scale(0);
|
opacity: 0;
|
}
|
100% {
|
transform: scale(1);
|
opacity: 1;
|
}
|
}
|
|
/**map 页面图标按钮*/
|
.iconBtn {
|
width: 0.26rem;
|
height: 0.26rem;
|
text-align: center;
|
background: rgba(0, 16, 30, 0.5);
|
cursor: pointer;
|
color: #00fff6;
|
border: 0.00521rem solid #00fff6;
|
box-shadow: 0 0 0.03rem #00fff6;
|
display: flex;
|
flex-direction: column;
|
justify-content: center;
|
justify-items: center;
|
border-radius: 0.03rem;
|
|
.icon {
|
width: 20px;
|
margin: 0 auto;
|
font-size: 20px;
|
}
|
|
}
|
|
.panel-title {
|
color: @color-title;
|
font-size: 18px;
|
padding: 10px;
|
text-align: center;
|
border-bottom: 1px solid @background-color-split;
|
}
|
|
.el-tabs__header .is-top {
|
|
}
|
|
.el-picker-panel {
|
background: @background-color;
|
border-color: @color;
|
color: @color;
|
|
.el-picker-panel__body-wrapper {
|
background: @background-color;
|
}
|
|
.el-input__inner {
|
background: @background-color;
|
border-color: @color;
|
}
|
|
.el-date-table td.today span {
|
color: @color-highlight;
|
}
|
|
.el-picker-panel__footer {
|
background: @background-color;
|
border-top-color: @color;
|
}
|
|
.el-date-table th {
|
border-bottom-color: @color;
|
}
|
|
.el-button {
|
background: @background-color;
|
color: @color;
|
border-color: @color;
|
}
|
|
.el-button--text {
|
padding: 7px 15px;
|
}
|
|
.el-button:hover {
|
background: @background-color;
|
color: @color-highlight;
|
border-color: @color-highlight;
|
}
|
|
.el-input__inner {
|
color: #fff;
|
text-align: center;
|
}
|
|
.el-date-picker__time-header {
|
border-bottom-color: @background-color-split;
|
}
|
|
.el-date-picker__header-label {
|
color: #fff
|
}
|
}
|
|
.el-select-dropdown {
|
background: @background-color;
|
border-color: @color;
|
color: @color;
|
|
.el-select-dropdown__item {
|
color: #fff;
|
}
|
|
.el-select-dropdown__item.hover {
|
background: @background-color;
|
box-shadow: 0 0 5px @color-highlight inset;
|
}
|
|
.el-select-dropdown__item.selected {
|
color: @color-highlight;
|
}
|
}
|
|
/***********************************************右侧管线相关************/
|
.el-tabs__header {
|
background: none;
|
}
|
|
.el-tabs--top .el-tabs__item.is-top:nth-child(2) {
|
padding-left: 20px;
|
}
|
|
.el-tabs--border-card {
|
background: none;
|
border: none;
|
box-shadow: none;
|
}
|
|
.el-tabs--border-card > .el-tabs__header {
|
background: none;
|
border-bottom: none;
|
margin: 0;
|
}
|
|
.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
|
color: #409EFF;
|
background: none;
|
border: none;
|
}
|
|
.el-tabs--border-card > .el-tabs__header .el-tabs__item {
|
border: none;
|
}
|
|
.panel-right ::-webkit-scrollbar-thumb {
|
background: none;
|
border: none;
|
}
|
|
.el-card {
|
margin-top: 15px;
|
background: rgba(0, 16, 30, 0.5);
|
border: 0.00521rem solid @color;
|
box-shadow: 0 0 0.03rem @color;
|
}
|
|
.clearfix {
|
display: inline-block;
|
color: #ffffff;
|
margin: 15px 0;
|
}
|
|
.fixed-table {
|
background: rgba(0, 16, 30, 1) !important;
|
}
|