From fe0ee7d8da7d7e28ff2ccbcb17ce54ecdb2b5d09 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期三, 14 四月 2021 13:59:36 +0800
Subject: [PATCH] 修改废水废气弹框样式。
---
src/assets/css/map/map-panel-style.less | 300 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 265 insertions(+), 35 deletions(-)
diff --git a/src/assets/css/map/map-panel-style.less b/src/assets/css/map/map-panel-style.less
index 161c604..9a403a6 100644
--- a/src/assets/css/map/map-panel-style.less
+++ b/src/assets/css/map/map-panel-style.less
@@ -1,9 +1,11 @@
@import "_map-variable";
+
.leaflet-container,
-html,body{
- // font-family: 'Microsoft YaHei';
+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,6 +13,9 @@
list-style: none;
}
+i {
+ font-style: normal
+}
.el-button--primary {
color: @color;
@@ -110,6 +115,7 @@
thead.is-group th {
background: transparent;
+ padding: 0
}
.el-table__expanded-cell {
@@ -213,53 +219,107 @@
margin-left: 10px;
}
-.el-scrollbar__wrap{
+.el-scrollbar__wrap {
}
+
.el-scrollbar__wrap::-webkit-scrollbar {
/*婊氬姩鏉℃暣浣撴牱寮�*/
- width : 5px; /*楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/
+ width: 5px; /*楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/
height: 1px;
}
+
.el-scrollbar__wrap::-webkit-scrollbar-thumb {
/*婊氬姩鏉¢噷闈㈠皬鏂瑰潡*/
- border-radius : 10px;
+ 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;
+ 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{
+.el-button {
}
-.active-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;
+ 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;
+ //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: .5px #fff;
+ 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){
@@ -273,8 +333,8 @@
text-shadow: 0 0 4px #fff;
}
}
-}
-.company-bindTooltip:before{
+}*/
+.company-bindTooltip:before {
display: none;
}
@@ -301,27 +361,56 @@
}
/*************** PublicTable 琛ㄦ牸鏍峰紡銆�*********************************/
-.cell {
- padding: 0;
+
+.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 {
- /* padding-left: 10px; */
+
text-align: center;
}
-.el-table th>.cell {
+
+.el-table th > .cell {
color: #00fff6;
}
-.el-table__row>td{
+
+.el-table__row > td {
border: none;
}
-.el-table::before {//鍘绘帀鏈�涓嬮潰鐨勯偅涓�鏉$嚎
+
+.el-table::before { //鍘绘帀鏈�涓嬮潰鐨勯偅涓�鏉$嚎
height: 0;
}
+
.el-table td, .el-table th.is-leaf {
- border: none;
font-size: 0.08rem;
}
+
.el-table .warning-row {
background: #28304d;
}
@@ -329,15 +418,24 @@
.el-table .success-row {
background: #30455f;
}
-.el-table tbody tr:hover>td {
- background-color:#28304d !important;
+
+.el-table tbody tr:hover > td {
+ background-color: #28304d !important;
}
+
+//淇敼琛ㄦ牸楂樺害
+.el-table td {
+ padding: 0 !important;
+ font-size: 0.01rem !important;
+}
+
/***********************************************鍔ㄧ敾鏁堟灉************/
-.transition{
+.transition {
transition: all .5s;
- /* transform-origin: top left;*/
+ /* transform-origin: top left;*/
animation: bounce-in .2s;
}
+
@keyframes bounce-in {
0% {
transform: scale(0);
@@ -348,9 +446,10 @@
opacity: 1;
}
}
+
/**map 椤甸潰鍥炬爣鎸夐挳*/
.iconBtn {
- width:0.26rem;
+ width: 0.26rem;
height: 0.26rem;
text-align: center;
background: rgba(0, 16, 30, 0.5);
@@ -363,14 +462,16 @@
justify-content: center;
justify-items: center;
border-radius: 0.03rem;
- .icon{
+
+ .icon {
width: 20px;
margin: 0 auto;
font-size: 20px;
}
}
-.panel-title{
+
+.panel-title {
color: @color-title;
font-size: 18px;
padding: 10px;
@@ -379,5 +480,134 @@
}
.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;
}
--
Gitblit v1.8.0