修改左侧菜单管理

This commit is contained in:
Anyon 2022-01-18 16:27:10 +08:00
parent 29185e9875
commit 04db584235
5 changed files with 50 additions and 19 deletions

View File

@ -45,8 +45,6 @@
{/empty}{/foreach}
</ul>
{/notempty}{/foreach}
</div>
</div>
</div>

View File

@ -64,4 +64,19 @@
// 左侧菜单大小
@LayoutMiniLeftSize: 50px;
@LayoutDefaLeftSzie: 200px;
@LayoutDefaLeftSzie: 200px;
// 最小滚动条样式
#MinScrollbar() {
&::-webkit-scrollbar {
width: 3px !important;
&-track {
background: #666 !important
}
&-thumb {
background-color: #999 !important
}
}
}

View File

@ -194,17 +194,7 @@
content: '';
}
&::-webkit-scrollbar {
width: 3px !important;
&-track {
background: #ccc !important
}
&-thumb {
background-color: #666 !important
}
}
#MinScrollbar();
.layui-nav-item {
> a {
@ -361,10 +351,13 @@
width: 60px;
height: 100%;
display: block;
overflow: auto;
overflow-x: hidden;
background: #333;
#MinScrollbar();
a {
color: #fff;
color: #FFF;
height: 60px;
display: block;
text-align: center;
@ -388,6 +381,9 @@
flex: 1;
height: 100%;
display: block;
overflow: auto;
overflow-x: hidden;
#MinScrollbar();
}
.layui-nav-tree {

View File

@ -1563,10 +1563,10 @@ label.think-checkbox {
width: 3px !important;
}
.layui-layout > .layui-side .layui-side-scroll::-webkit-scrollbar-track {
background: #ccc !important;
background: #666 !important;
}
.layui-layout > .layui-side .layui-side-scroll::-webkit-scrollbar-thumb {
background-color: #666 !important;
background-color: #999 !important;
}
.layui-layout > .layui-side .layui-side-scroll .layui-nav-item > a {
background: rgba(100, 100, 100, 0.5) !important;
@ -1688,10 +1688,21 @@ label.think-checkbox {
width: 60px;
height: 100%;
display: block;
overflow: auto;
overflow-x: hidden;
background: #333;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-icon::-webkit-scrollbar {
width: 3px !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-icon::-webkit-scrollbar-track {
background: #666 !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-icon::-webkit-scrollbar-thumb {
background-color: #999 !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-icon a {
color: #fff;
color: #FFF;
height: 60px;
display: block;
text-align: center;
@ -1710,6 +1721,17 @@ label.think-checkbox {
flex: 1;
height: 100%;
display: block;
overflow: auto;
overflow-x: hidden;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-tree::-webkit-scrollbar {
width: 3px !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-tree::-webkit-scrollbar-track {
background: #666 !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-tree::-webkit-scrollbar-thumb {
background-color: #999 !important;
}
.layui-layout-theme .layui-side .layui-side-scroll .layui-nav-tree {
width: 100% !important;

File diff suppressed because one or more lines are too long