From 2b8e498c0550d8e8bf17a9dafddb136cc7bd1e1a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 01 Jul 2021 10:28:35 +0800
Subject: [PATCH] 导航样式
---
widgets/LeftNavigationBar/css/style.css | 159 +++++++++++++++++++++++++---------------------------
1 files changed, 76 insertions(+), 83 deletions(-)
diff --git a/widgets/LeftNavigationBar/css/style.css b/widgets/LeftNavigationBar/css/style.css
index e2fe027..cbb52dd 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,75 @@
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; */
+ right: 10px;
+ z-index: 16 !important;
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-but img {
- width: 20px;
+ width: 30px;
+}
+
+.jimu-widget-LeftNavigationBar #l-n-b-m-search-closeOUR {
+ position: absolute;
+ right: 5px;
+ top: 5px;
+ cursor: pointer;
+ font-size: 18px;
+}
+
+.jimu-widget-LeftNavigationBar #l-n-b-m-search-closeOUR:hover {
+ color: red;
}
.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: 10px; */
+ right: 60px;
+ /* 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;
- width: calc(100% - 20px);
+ /* position: relative; */
+ /* top: 16px; */
+ width: calc(100% - 30px);
+ margin: 0 0 20px 10px;
height: 40px;
/* padding: 10px; */
border: 1px rgba(0, 0, 0, .2) solid;
@@ -109,15 +156,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 +175,6 @@
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .layui-tree-entry {
height: auto !important;
}
-
.left-navigation-bar-main-down:after {
content: "";
@@ -149,11 +196,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 {
@@ -162,63 +210,8 @@
}
.jimu-widget-LeftNavigationBar .layui-tree-txt {
- width: calc(100% - 48px);
+ width: calc(100% - 28px);
overflow: hidden;
- text-overflow:ellipsis;
+ text-overflow: ellipsis;
white-space: nowrap;
-}
-
-.jimu-widget-LeftNavigationBar .layui-btn-group {
- visibility: visible;
-}
-
-.jimu-widget-LeftNavigationBar .layui-btn-group .layui-icon {
- margin-top: 4px;
- width: 20px;
- height: 20px;
-
- background: url(../../../images/工具(用以切换图层的透明度).png) no-repeat;
-}
-
-.jimu-widget-LeftNavigationBar .layui-btn-group .layui-icon:before {
- content: "";
-}
-
-.jimu-widget-LeftNavigationBar .tree-layer-opcity {
- display: none;
- position: absolute;
- top: 240px;
- left: 280px;
- width: 260px;
- height: auto;
- background: #Fff;
- border-radius: 5px;
- box-shadow: 0 0 8px #fff;
-}
-
-.jimu-widget-LeftNavigationBar .tree-layer-opcity h3 {
- margin: 0;
- height: 36px;
- line-height: 36px;
- text-align: center;
-}
-
-
-.jimu-widget-LeftNavigationBar .tree-layer-opcity .close {
- position: absolute;
- top: 4px;
- right: 4px;
-}
-
-.jimu-widget-LeftNavigationBar .tree-layer-opcity li>div:first-child {
- padding: 0 10px;
- line-height: 28px;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
-}
-
-.jimu-widget-LeftNavigationBar .tree-layer-opcity li>div:last-child {
- margin: 10px 10px;
- width: calc(100% - 20px);
}
\ No newline at end of file
--
Gitblit v1.9.3