派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-13 d7c0f79217217f90546f4b3113bd85f86c42e4f8
src/assets/css/map/map-panel-style.less
@@ -1,9 +1,11 @@
@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;
@@ -11,7 +13,9 @@
  list-style: none;
}
i{font-style: normal}
i {
  font-style: normal
}
.el-button--primary {
  color: @color;
@@ -217,29 +221,35 @@
.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,
.active-button{
  border: 0.00521rem solid #fff700 !important;
@@ -255,7 +265,15 @@
  display: flex;
  justify-content: center;
  justify-items: center;
  img{display: block;width: 30px;height: 30px;margin-left: -15px;margin-top: -15px}
  img {
    display: block;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -15px
  }
  ul{
    width: 120px;
    margin-left: -60px;
@@ -264,6 +282,7 @@
    position: absolute;
    top:20px;
    left:0;
    li{
      position: absolute;
      top:0;
@@ -279,6 +298,7 @@
    }
  }
}
/*.company-bindTooltip {
  //background: @background-color-split;
  background: none;
@@ -338,13 +358,16 @@
.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;
@@ -353,26 +376,34 @@
    }
  }
}
.el-table--border th{
  border-right: none;
  border-left: 1px solid #ddd;
}
.el-table--border th.gutter{border-left: none}
.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 {
  border: 1px #396d83 solid;
  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;
}
@@ -384,9 +415,11 @@
.el-table .success-row {
  background: #30455f;
}
.el-table tbody tr:hover>td {
  background-color:#28304d !important;
}
//修改表格高度
.el-table td {
  padding: 0!important;
@@ -399,6 +432,7 @@
 /* transform-origin: top left;*/
  animation: bounce-in .2s;
}
@keyframes bounce-in {
  0% {
    transform: scale(0);
@@ -409,6 +443,7 @@
    opacity: 1;
  }
}
/**map 页面图标按钮*/
.iconBtn {
  width:0.26rem;
@@ -424,6 +459,7 @@
  justify-content: center;
  justify-items: center;
  border-radius: 0.03rem;
  .icon{
    width: 20px;
    margin: 0 auto;
@@ -431,6 +467,7 @@
  }
}
.panel-title{
  color: @color-title;
  font-size: 18px;
@@ -447,57 +484,105 @@
  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-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;
}