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/LeftNavigationBar/css/style.css | 79 ++++++++++++++++++++++++++++++++++-----
1 files changed, 68 insertions(+), 11 deletions(-)
diff --git a/widgets/LeftNavigationBar/css/style.css b/widgets/LeftNavigationBar/css/style.css
index 16a17a8..8fb6b6f 100644
--- a/widgets/LeftNavigationBar/css/style.css
+++ b/widgets/LeftNavigationBar/css/style.css
@@ -1,12 +1,13 @@
.jimu-widget-LeftNavigationBar {
position: absolute !important;
/* font-size: 14px; */
- height: calc(100% - 25px) !important;
+ height: 100% !important;
/* height: calc(100%) !important; */
width: 250px !important;
right: auto !important;
bottom: auto !important;
- left: 0 !important;
+ /* left: -250px !important; */
+ left: 0;
top: 0 !important;
/* 240px */
background: rgba(255, 255, 255, 1);
@@ -22,6 +23,7 @@
align-items: center;
justify-content: center; */
box-shadow: 5px 5px 13px -10px rgba(0, 0, 0, .5);
+ transition: all 0.5s;
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-but {
@@ -49,7 +51,6 @@
.jimu-widget-LeftNavigationBar .left-navigation-bar-main {
position: relative;
- top: -50px;
width: 100%;
height: 100%;
padding: 10px;
@@ -61,7 +62,9 @@
}
.jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search {
- width: 100%;
+ position: absolute;
+ top: 16px;
+ width: calc(100% - 20px);
height: 40px;
/* padding: 10px; */
border: 1px rgba(0, 0, 0, .2) solid;
@@ -84,29 +87,83 @@
}
.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 .layui-tree-entry{
+
+.jimu-widget-LeftNavigationBar .left-navigation-bar-main #left-tree-list {
+ position: absolute;
+ top: 72px;
+ width: calc(100% - 20px);
+ height: calc(100% - 82px);
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+
+
+
+.jimu-widget-LeftNavigationBar .left-navigation-bar-main #test1 {
+ height: calc(100% - 58px);
+ overflow: auto;
+}
+
+.jimu-widget-LeftNavigationBar .left-navigation-bar-main .layui-tree-entry {
height: auto !important;
}
-.layui-tree-iconArrow:after{
- border-color: #c0c4cc transparent transparent transparent !important;
+
+
+.left-navigation-bar-main-down:after {
+ content: "";
+ position: absolute;
+ left: 4px;
+ top: 3px;
+ z-index: 100;
+ width: 0;
+ height: 0;
+ border-width: 5px;
+ border-style: solid;
+ border-color: transparent transparent transparent #c0c4cc;
+ /* border-color: #c0c4cc transparent transparent transparent; */
+ transform: rotate(90deg);
+ transition: .5s;
+}
+
+.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