From 1b22efb7fa9d35c531e5f4ff2e6d600c23a6546d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 30 Jun 2021 10:36:35 +0800
Subject: [PATCH] 左边导航更改

---
 widgets/LeftNavigationBar/css/style.css |   86 ++++++++++++++++++++++++++++++-------------
 1 files changed, 60 insertions(+), 26 deletions(-)

diff --git a/widgets/LeftNavigationBar/css/style.css b/widgets/LeftNavigationBar/css/style.css
index 8fb6b6f..8de1403 100644
--- a/widgets/LeftNavigationBar/css/style.css
+++ b/widgets/LeftNavigationBar/css/style.css
@@ -1,9 +1,9 @@
 .jimu-widget-LeftNavigationBar {
   position: absolute !important;
   /* font-size: 14px; */
-  height: 100% !important;
+  height: 0 !important;
   /* height: calc(100%) !important; */
-  width: 250px !important;
+  width: 0 !important;
   right: auto !important;
   bottom: auto !important;
   /* left: -250px !important; */
@@ -16,7 +16,7 @@
   border-radius: 6px 6px 6px 6px;
   /* text-align   : center; */
   /* cursor       : pointer; */
-  z-index: 16 !important;
+  /* z-index: -10 !important; */
   box-sizing: border-box;
   /* padding: 0 20px 0 20px!important; */
   /* display: flex;
@@ -24,18 +24,18 @@
   justify-content: center; */
   box-shadow: 5px 5px 13px -10px rgba(0, 0, 0, .5);
   transition: all 0.5s;
+  /* display: none; */
 }
 
+/* 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-but {
   width: 23px;
   height: 60px;
-  /* border: 1px solid springgreen; */
   border-radius: 0 10px 10px 0;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
-  /* left: calc((100% + 23px) / 2); */
   left: calc(100% - 1px);
   top: calc(50%);
   background-color: #fff;
@@ -43,28 +43,61 @@
   cursor: pointer;
   float: left;
   z-index: 17 !important;
+}*/
+
+.jimu-widget-LeftNavigationBar .left-navigation-bar-but {
+  background: #fff;
+  box-shadow: 0 0 8px #fff;
+  width: 32px;
+  height: 32px;
+  border-radius: 14%;
+  padding: 0;
+  vertical-align: middle;
+  z-index: 0;
+  box-sizing: border-box;
+  display: inline-block;
+  position: fixed;
+  border: 1px solid #444;
+  border-color: #fff;
+  fill: #edffff;
+  margin: 1px 2px;
+  cursor: pointer;
+  overflow: hidden;
+  user-select: none;
+  top: 72px;
+  left: 10px;
+  z-index: 16 !important;
 }
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-but img {
-  width: 20px;
+  width: 30px;
 }
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main {
-  position: relative;
-  width: 100%;
-  height: 100%;
-  padding: 10px;
+  position: fixed;
+  
+  width: 0px;
+  height: 0px;
+  /* height: 200px; */
+  /* max-height: 1000px; */
+  padding: 0px;
+
+  background-color: #fff;
+  z-index: 15 !important;
+  top: 72px;
+  left: 60px;
+  border-radius: 5px;
+  box-shadow: 0 0 8px #fff;
+  transition: all 0.5s;
+  display: none;
   /* border: 1px saddlebrown solid; */
 }
 
-.jimu-widget-LeftNavigationBar #test1 {
-  margin-top: 20px;
-}
-
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search {
-  position: absolute;
-  top: 16px;
+  /* position: relative; */
+  /* top: 16px; */
   width: calc(100% - 20px);
+  margin: 0 0 20px 10px;
   height: 40px;
   /* padding: 10px; */
   border: 1px rgba(0, 0, 0, .2) solid;
@@ -109,15 +142,16 @@
 }
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main #left-tree-list {
-  position: absolute;
-  top: 72px;
+  /* position: relative; */
+  /* top: 72px; */
   width: calc(100% - 20px);
-  height: calc(100% - 82px);
+  /* height: calc(100% - 82px); */
+  margin: 0 0 5px 10px;
+  max-height: 300px;
   overflow-y: auto;
   overflow-x: hidden;
+  /* border: 1px saddlebrown solid; */
 }
-
-
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main #test1 {
   height: calc(100% - 58px);
@@ -127,7 +161,6 @@
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main .layui-tree-entry {
   height: auto !important;
 }
-
 
 .left-navigation-bar-main-down:after {
   content: "";
@@ -149,11 +182,12 @@
   background-color: #2ab9ec
 }
 
-.layui-form-checked[lay-skin=primary] i{
+.layui-form-checked[lay-skin=primary] i {
   background-color: #36A0FD !important;
 }
-.layui-tree-spread .layui-tree-iconArrow:after{
-  border-color: #c0c4cc transparent  transparent transparent  !important;
+
+.layui-tree-spread .layui-tree-iconArrow:after {
+  border-color: #c0c4cc transparent transparent transparent !important;
 }
 
 .jimu-widget-LeftNavigationBar .layui-tree-main {
@@ -164,6 +198,6 @@
 .jimu-widget-LeftNavigationBar .layui-tree-txt {
   width: calc(100% - 28px);
   overflow: hidden;
-  text-overflow:ellipsis;
+  text-overflow: ellipsis;
   white-space: nowrap;
 }
\ No newline at end of file

--
Gitblit v1.9.3