派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-07 7b2f20f1299306f087d89aa202b52708df7ec4e6
src/assets/css/map/map-panel-style.less
@@ -1,5 +1,15 @@
@import "_map-variable";
/*全局设置***********/
h1,h2,h3,h4,h5,h6,ul,li,p{
  padding: 0;
  margin: 0;
  list-style: none;
}
.el-button--primary {
  color: @color;
  background-color: @background-color;
@@ -12,7 +22,6 @@
    text-align: center;
    height: 20px;
    line-height: 20px;
    color: @color;
    cursor: pointer;
    -ms-flex-negative: 0;
@@ -37,7 +46,7 @@
  .el-dialog__title {
    padding: .03125rem .08333rem;
    color: @color;
    color: @color-title;
    cursor: pointer;
    flex-shrink: 0;
  }
@@ -157,13 +166,17 @@
}
.tools-panel-content {
  border: 1px solid @background-color-tools;
  background: @background-color-tools;
  //position: absolute;
  //top: 60px;
  //left: 55px;
  background: @background-color;
  border: 0.00521rem solid @color-shadow;
  padding: 0;
  width: 90px;
  //width: 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-left: 55px;
  .el-button {
    padding: 0;
@@ -180,6 +193,119 @@
  }
}
.el-popper[x-placement^=bottom] .popper__arrow::after {
  border-bottom-color: @background-color-tools;
.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{
}
.active-button{
  border: 0.00521rem solid #fff700 !important;
  box-shadow: 0 0 0.03rem #fff700 !important;
  color:#fff700 !important;
}
/***************Company 图层 悬浮框样式。*********************************/
.company-bindTooltip{
  background:none;
  border:none;
  color:red;
  font-size: 16px;
  font-weight: 900 !important;
  text-shadow: 0 0 5px #fff;
  box-shadow: 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%;
}
/***********************************************动画效果************/
.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;
  }
}