From 25ce610f6ecca7325e7a743dc032c4a76559c63d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 02 Jul 2021 09:10:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap

---
 widgets/Layermanagement/css/style.css |  206 +++++++++++++++++++++++++++++---------------------
 1 files changed, 119 insertions(+), 87 deletions(-)

diff --git a/widgets/Layermanagement/css/style.css b/widgets/Layermanagement/css/style.css
index c53755e..48ac6ca 100644
--- a/widgets/Layermanagement/css/style.css
+++ b/widgets/Layermanagement/css/style.css
@@ -1,121 +1,153 @@
 .jimu-widget-Layermanagement {
-    position: relative;
-    font-size: 14px;
-    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;
+    color: #555;
+}
+
+.jimu-widget-Layermanagement .layer-tab {
+    position: fixed;
+    top: 20px;
+    right: 100px;
+    z-index: 16 !important;
+    width: 90px;
+    height: 36px;
+    line-height: 36px;
+    display: flex;
+    align-items: center;
+    justify-content: center;
     cursor: pointer;
-    z-index: 10 !important;
+    background: rgba(254, 254, 254, 1);
+    font-size: 14px;
 }
 
-.layer-management {
+.jimu-widget-Layermanagement .layer-tab>div {
     width: 100%;
+    height: 24px;
+    border-right: 1px solid #DDDDDD;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    cursor: pointer;
 }
 
-.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;
-    vertical-align: middle;
-}
-
-.layer-management .menu-switch span:hover {
+.jimu-widget-Layermanagement .layer-tab:hover .v-a-o-title {
     text-decoration: underline;
 }
 
-.layer-management .ztree-demo-background {
+.jimu-widget-Layermanagement .layer-tab .v-a-o-title {
+    color: #838383 !important;
+    position: relative;
+    left: 3px;
+}
+
+.jimu-widget-Layermanagement .layer-tab i {
+    width: 14px;
+    height: 14px;
+    margin-right: 4px;
+    vertical-align: middle;
+    background: url(../../../images/图层管理.png) no-repeat;
+    background-size: 100% 100%;
+}
+
+.jimu-widget-Layermanagement .layer-list {
     display: none;
     position: fixed;
-    top: 98px;
+    top: 66px;
     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;
+    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 .layer-list-box {
+    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;
+    position: fixed;
+    top: 66px;
+    right: 340px;
+    width: 260px;
+    height: auto;
+    background: #Fff;
+    border-radius: 5px;
+    box-shadow: 0 0 8px #fff;
 }
 
-#layermanagement {
-    height: 100%;
+.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;
+    text-overflow: ellipsis;
+    white-space: nowrap;
 }
 
-
-#layermanagement iframe {
-    height: 95% !important;
+.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