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 | 136 +++++++++++++++++++++++++++++++++------------
1 files changed, 100 insertions(+), 36 deletions(-)
diff --git a/widgets/LeftNavigationBar/css/style.css b/widgets/LeftNavigationBar/css/style.css
index 705adb2..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: calc(100% - 25px) !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,27 +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;
- top: -50px;
- 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 {
- width: 100%;
+ /* 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;
@@ -86,25 +134,37 @@
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search input::-webkit-input-placeholder {
- color: #000;
+ color: #afafaf;
font-size: 14px;
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search input::-moz-placeholder {
/* Mozilla Firefox 19+ */
- color: #000;
+ color: #afafaf;
font-size: 14px;
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search input:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
- color: #000;
+ color: #afafaf;
font-size: 14px;
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search input::-ms-input-placeholder {
- color: #000;
+ color: #afafaf;
font-size: 14px;
+}
+
+.jimu-widget-LeftNavigationBar .left-navigation-bar-main #left-tree-list {
+ /* position: relative; */
+ /* top: 72px; */
+ width: calc(100% - 20px);
+ /* 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 {
@@ -115,22 +175,6 @@
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .layui-tree-entry {
height: auto !important;
}
-
-.layui-tree-iconArrow:after {
- /* border-color: #c0c4cc transparent transparent transparent !important; */
- /* border-color: attr(data-attr) !important; */
-}
-
-/* #11 .layui-tree-iconArrow:after{
- border-color: #c0c4cc transparent transparent transparent !important;
-} */
-
-/* .downsAfter {
- border-color: #c0c4cc transparent transparent transparent !important;
-}
-.rightsAfter {
- border-color: #c0c4cc transparent transparent transparent !important;
-} */
.left-navigation-bar-main-down:after {
content: "";
@@ -150,4 +194,24 @@
.left-navigation-bar-main-current {
background-color: #2ab9ec
+}
+
+.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;
+}
+
+.jimu-widget-LeftNavigationBar .layui-tree-main {
+ width: calc(100% - 22px);
+ padding: 0;
+}
+
+.jimu-widget-LeftNavigationBar .layui-tree-txt {
+ width: calc(100% - 28px);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
\ No newline at end of file
--
Gitblit v1.9.3