mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改左侧菜单管理
This commit is contained in:
parent
29185e9875
commit
04db584235
@ -45,8 +45,6 @@
|
|||||||
{/empty}{/foreach}
|
{/empty}{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
{/notempty}{/foreach}
|
{/notempty}{/foreach}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -64,4 +64,19 @@
|
|||||||
|
|
||||||
// 左侧菜单大小
|
// 左侧菜单大小
|
||||||
@LayoutMiniLeftSize: 50px;
|
@LayoutMiniLeftSize: 50px;
|
||||||
@LayoutDefaLeftSzie: 200px;
|
@LayoutDefaLeftSzie: 200px;
|
||||||
|
|
||||||
|
// 最小滚动条样式
|
||||||
|
#MinScrollbar() {
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 3px !important;
|
||||||
|
|
||||||
|
&-track {
|
||||||
|
background: #666 !important
|
||||||
|
}
|
||||||
|
|
||||||
|
&-thumb {
|
||||||
|
background-color: #999 !important
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -194,17 +194,7 @@
|
|||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
#MinScrollbar();
|
||||||
width: 3px !important;
|
|
||||||
|
|
||||||
&-track {
|
|
||||||
background: #ccc !important
|
|
||||||
}
|
|
||||||
|
|
||||||
&-thumb {
|
|
||||||
background-color: #666 !important
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.layui-nav-item {
|
.layui-nav-item {
|
||||||
> a {
|
> a {
|
||||||
@ -361,10 +351,13 @@
|
|||||||
width: 60px;
|
width: 60px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
background: #333;
|
background: #333;
|
||||||
|
#MinScrollbar();
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -388,6 +381,9 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
#MinScrollbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-nav-tree {
|
.layui-nav-tree {
|
||||||
|
@ -1563,10 +1563,10 @@ label.think-checkbox {
|
|||||||
width: 3px !important;
|
width: 3px !important;
|
||||||
}
|
}
|
||||||
.layui-layout > .layui-side .layui-side-scroll::-webkit-scrollbar-track {
|
.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 {
|
.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 {
|
.layui-layout > .layui-side .layui-side-scroll .layui-nav-item > a {
|
||||||
background: rgba(100, 100, 100, 0.5) !important;
|
background: rgba(100, 100, 100, 0.5) !important;
|
||||||
@ -1688,10 +1688,21 @@ label.think-checkbox {
|
|||||||
width: 60px;
|
width: 60px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
background: #333;
|
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 {
|
.layui-layout-theme .layui-side .layui-side-scroll .layui-side-icon a {
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -1710,6 +1721,17 @@ label.think-checkbox {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
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 {
|
.layui-layout-theme .layui-side .layui-side-scroll .layui-nav-tree {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user