From 0163b28ce3a2e0186b82e02fd8f98f8d9ee55340 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:41:48 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
---
widgets/legends/css/style.css | 32 +++++++++++++++++++++++++++-----
1 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/widgets/legends/css/style.css b/widgets/legends/css/style.css
index 99d7e7d..6048a05 100644
--- a/widgets/legends/css/style.css
+++ b/widgets/legends/css/style.css
@@ -5,21 +5,21 @@
line-height: 32px;
width: 300px !important;
right: 60px !important;
- bottom: 5px !important;
+ bottom: 38px !important;
left: auto !important;
top: auto !important;
/* 240px */
background: rgba(0, 0, 0, 0.5);
color: #fff;
/* border-right : 1px solid rgba(0, 0, 0, 0.3); */
- border-radius: 6px 6px 6px 6px;
+ border-radius: 8px;
/* text-align : center; */
/* cursor : pointer; */
z-index: 15 !important;
box-sizing: border-box;
- padding: 0 6px 0 6px!important;
+ padding: 0 8px 8px 8px!important;
/* overflow: auto; */
- transition: all 2s;
+ transition: all 0.5s;
}
.jimu-widget-legends .title {
@@ -28,8 +28,9 @@
}
.jimu-widget-legends .main {
- max-height: 300px !important;
+ max-height: 278px !important;
overflow: auto;
+ transition: all 0.5s;
}
.jimu-widget-legends .main .m-init {
@@ -72,4 +73,25 @@
.jimu-widget-legends .main .m-i-child i:nth-child(1) {
/* margin-right: 30px !important; */
+}
+
+.jimu-widget-legends .layer-legends li {
+ height: 36px;
+ line-height: 36px;
+}
+.jimu-widget-legends .layer-legends li .m-init-h {
+ width: auto;
+ margin-right: 10px !important;
+}
+
+.jimu-widget-legends .layer-legends li .m-init-h img {
+ width: auto;
+ height: 28px;
+ margin: 0 !important;
+}
+
+.jimu-widget-legends .layer-legends li span{
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
\ No newline at end of file
--
Gitblit v1.9.3