From 1a2c1d005bf7de2528f73638fb24d31da812aad5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:40:13 +0800
Subject: [PATCH] 增加模型
---
widgets/legends/css/style.css | 47 ++++++++++++++++++++++++++++++++---------------
1 files changed, 32 insertions(+), 15 deletions(-)
diff --git a/widgets/legends/css/style.css b/widgets/legends/css/style.css
index 86b5c21..36e2c7d 100644
--- a/widgets/legends/css/style.css
+++ b/widgets/legends/css/style.css
@@ -1,11 +1,11 @@
.jimu-widget-legends {
position: absolute !important;
font-size: 14px;
- height: 320px !important;
+ max-height: 330px !important;
line-height: 32px;
- width: 280px !important;
+ width: 300px !important;
right: 60px !important;
- bottom: 40px !important;
+ bottom: 38px !important;
left: auto !important;
top: auto !important;
/* 240px */
@@ -17,21 +17,37 @@
/* cursor : pointer; */
z-index: 15 !important;
box-sizing: border-box;
- padding: 0 20px 0 20px!important;
+ padding: 0 6px 0 6px!important;
+ /* overflow: auto; */
+ transition: all 0.5s;
}
.jimu-widget-legends .title {
- margin: 10px 0 7px 0;
- font-size: 1.1rem;
+ /* margin: 10px 0 7px 0; */
+ font-size: 18px;
+}
+
+.jimu-widget-legends .main {
+ max-height: 278px !important;
+ overflow: auto;
+ transition: all 0.5s;
}
.jimu-widget-legends .main .m-init {
width: 100%;
- height: 2rem;
+ /* height: 1.5rem; */
+ /* border: 1px solid springgreen; */
flex-direction: row;
display: flex;
align-items: center;
- font-size: 1.1rem;
+ font-size: 15px;
+}
+
+.jimu-widget-legends .main .m-i-child {
+ width: 83%;
+ display: block;
+ position: relative;
+ left: 16%;
}
.jimu-widget-legends .main .m-init i {
@@ -39,21 +55,22 @@
font-style: normal;
}
-.jimu-widget-legends .main .m-init i:nth-child(1) {
+.jimu-widget-legends .main .m-init-h {
display: inline-block;
width: 20px;
- height: 1.5rem;
+ /* height: 0.6rem; */
/* border: 1px solid springgreen; */
background-size: 100%;
- margin-right: 15px;
+ margin-right: 15px !important;
}
.jimu-widget-legends .main .m-init img {
- width: 30px;
- position: relative;
- top: -5.5px;
+ width: 24px;
+ margin-right: 5px !important;
+ /* position: relative;
+ top: -5.5px; */
}
.jimu-widget-legends .main .m-i-child i:nth-child(1) {
- margin-right: 31px !important;
+ /* margin-right: 30px !important; */
}
\ No newline at end of file
--
Gitblit v1.9.3