派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-13 efc4fcf8e7e8d607d59e8f4967a720f787dbe249
src/assets/css/map/map-panel-style.less
@@ -1,5 +1,9 @@
@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;
@@ -7,6 +11,7 @@
  list-style: none;
}
i{font-style: normal}
.el-button--primary {
  color: @color;
@@ -53,6 +58,7 @@
.select-down {
  border: none !important;
  background-color: @background-color;
  margin: 0;
  //.el-scrollbar{
  //
@@ -105,6 +111,7 @@
  thead.is-group th {
    background: transparent;
    padding:0
  }
  .el-table__expanded-cell {
@@ -234,6 +241,7 @@
.el-button{
}
.hover-bottom:hover,
.active-button{
  border: 0.00521rem solid #fff700 !important;
  box-shadow: 0 0 0.03rem #fff700 !important;
@@ -241,14 +249,68 @@
}
/***************Company 图层 悬浮框样式。*********************************/
.company-bindTooltip {
.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;
  font-weight: 900 !important;
  text-shadow: 0 0 5px #fff;
  //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 {
@@ -262,24 +324,44 @@
  list-style: none;
  margin: 0;
  padding: 0;
  width: 260px;
  display: flex;
  //width: 260px;
  //display: flex;
  flex-wrap: wrap;
}
.company-bindTooltip-hover ul li {
  margin: 0;
  padding: 3px 0;
  width: 50%;
  //width: 50%;
}
/*************** PublicTable 表格样式。*********************************/
.cell {
  padding: 0;
.el-table{
  border-bottom: 1px solid #fff;
  .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 {
  /* padding-left: 10px; */
  text-align: center;
}
.el-table th>.cell {
@@ -292,8 +374,9 @@
  height: 0;
}
.el-table td, .el-table th.is-leaf {
  border: none;
  font-size: 0.08rem;
}
.el-table .warning-row {
  background: #28304d;
}
@@ -301,6 +384,15 @@
.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;
@@ -335,6 +427,77 @@
  .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;
  }
  }