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/Layermanagement/css/style.css | 214 +++++++++++++++++++++++++++++------------------------
1 files changed, 118 insertions(+), 96 deletions(-)
diff --git a/widgets/Layermanagement/css/style.css b/widgets/Layermanagement/css/style.css
index c53755e..b426d55 100644
--- a/widgets/Layermanagement/css/style.css
+++ b/widgets/Layermanagement/css/style.css
@@ -1,121 +1,143 @@
.jimu-widget-Layermanagement {
- position: relative;
- font-size: 14px;
+ color: #555;
+}
+
+.jimu-widget-Layermanagement .layer-tab {
+ position: fixed;
+ top: 72px;
+ right: 10px;
+}
+
+.jimu-widget-Layermanagement .layer-tab button {
+ background: #fff;
+ box-shadow: 0 0 8px #fff;
+ width: 32px;
height: 32px;
- line-height: 32px;
- width: 100%; /* 240px */
- background: rgba(44, 46, 46, 0.7);
- color: #fff;
- border-right: 1px solid #000;
- text-align: center;
- cursor: pointer;
- z-index: 10 !important;
-}
-
-.layer-management {
- width: 100%;
-}
-
-.layer-management .menu-switch {
- width: 72px;
- height: 32px;
- line-height: 32px;
-}
-
-.layer-management .menu-switch i {
- display: inline-block;
- width: 16px;
- height: 16px;
- background: url(../../../images/menu.png) no-repeat;
- background-size: 16px;
+ border-radius: 14%;
+ padding: 0;
vertical-align: middle;
+ z-index: 0;
+ box-sizing: border-box;
+ display: inline-block;
+ position: relative;
+ border: 1px solid #444;
+ border-color: #fff;
+ fill: #edffff;
+ margin: 1px 2px;
+ cursor: pointer;
+ overflow: hidden;
+ user-select: none;
}
-.layer-management .menu-switch span:hover {
- text-decoration: underline;
+.jimu-widget-Layermanagement .layer-tab button:focus {
+
+ outline: none !important;
+
}
-.layer-management .ztree-demo-background {
+.jimu-widget-Layermanagement .layer-list {
display: none;
position: fixed;
- top: 98px;
- right: 10px;
- /* bottom: 25px; */
- height: 64%;
- width: 240px;
- background: rgba(31, 39, 48, .7);
- border: 1px solid rgb(69, 154, 251);
- border-radius: 4px;
- color: #fff;
+ top: 72px;
+ right: 60px;
+ width: 320px;
+ min-height: 80px;
+ background: #fff;
+ border-radius: 5px;
+ box-shadow: 0 0 8px #fff;
}
-.layer-management .ztree-demo-background .ztree {
- position: absolute;
- top: 47px;
- bottom: 10px;
- overflow: auto;
- width: 100%;
- height: auto;
+.jimu-widget-Layermanagement .layer-list ul {
+ max-height: 360px;
+ overflow-y: auto;
}
-.layer-management .ztree-demo-background .layer-tag-bar {
- width: 100%;
- height: 46px;
- line-height: 46px;
- border-bottom: 1px solid rgb(69, 154, 251);
-}
-
-.layer-management .ztree-demo-background .layer-tag-bar img {
- float: left;
- margin-top: 8px;
- margin-left: 8px;
- vertical-align: middle;
- height: 32px;
- width: 32px;
-}
-
-.layer-management .ztree-demo-background .layer-tag-bar span {
- float: left;
- font-size: 18px;
- margin-left: 6px;
-
-}
-
-.layer-management .ztree-demo-background .layer-tag-bar i {
- float: right;
- height: 100%;
- width: 46px;
- font-size: 46px;
- font-weight: 400;
- font-style: normal;
+.jimu-widget-Layermanagement .layer-list h3 {
+ position: relative;
+ margin: 0;
+ line-height: 40px;
+ height: 40px;
+ font-size: 16px;
+ font-weight: normal;
text-align: center;
- cursor: pointer;
}
-.layer-management a {
- color: #fff !important;
+.jimu-widget-Layermanagement .layer-list h3 .sign-head-th-xx {
+ position: absolute;
+ right: 0px;
}
-.layer-management .ztree li span {
- color: rgb(228, 228, 228);
+.jimu-widget-Layermanagement .layer-list li {
+ padding: 0 10px;
}
-#treeDemo a.curSelectedNode {
- background-color: transparent !important;
+.jimu-widget-Layermanagement .layer-list li>div {
+ display: flex;
+ align-items: center;
+ height: 36px;
+}
+
+.jimu-widget-Layermanagement .layer-list li>div span {
+ width: calc(100% - 102px);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.jimu-widget-Layermanagement .layer-list .control-btn {
+ padding: 0 !important;
+ width: 24px !important;
+ height: 24px !important;
+ line-height: 24px !important;
+ margin-left: 10px;
+}
+
+.jimu-widget-Layermanagement .layer-list .layui-btn {
border: none;
}
-#treeDemo li ul li a span.button.ico_docu {
- background-size: 16px !important;
+.jimu-widget-Layermanagement .layer-list .control-btn img{
+ margin: auto;
+ width: 16px;
+ height: 16px;
+}
+
+
+.jimu-widget-Layermanagement .tree-layer-opcity {
display: none;
-}
-
-#layermanagement {
- height: 100%;
+ position: fixed;
+ top: 72px;
+ right: 390px;
+ width: 260px;
+ height: auto;
+ background: #Fff;
+ border-radius: 5px;
+ box-shadow: 0 0 8px #fff;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity h3 {
+ margin: 0;
+ height: 36px;
+ line-height: 36px;
+ text-align: center;
+ }
+
+
+ .jimu-widget-Layermanagement .tree-layer-opcity .close {
+ position: absolute;
+ top: 4px;
+ right: 4px;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity li>div:first-child {
+ padding: 0 10px;
+ line-height: 28px;
overflow: hidden;
-}
-
-
-#layermanagement iframe {
- height: 95% !important;
-}
\ No newline at end of file
+ text-overflow:ellipsis;
+ white-space: nowrap;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity li>div:last-child {
+ margin: 10px 10px;
+ width: calc(100% - 20px);
+ }
\ No newline at end of file
--
Gitblit v1.9.3