mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-08 05:12:48 +08:00
优化简单二级导航样式
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="ul-nav-tree-2-group">
|
||||
<div class="ul-nav-tree-2-group-title">账号管理</div>
|
||||
<div class="ul-nav-tree-2-group-main">
|
||||
<a href="" class="ul-nav-tree-2-item">
|
||||
<a href="" class="ul-nav-tree-2-item current">
|
||||
<div class="ul-nav-tree-2-item-title">个人信息</div>
|
||||
</a>
|
||||
<a href="" class="ul-nav-tree-2-item">
|
||||
|
||||
@@ -1,27 +1,30 @@
|
||||
.ul-nav-tree-2 {
|
||||
.ul-nav-tree-2-group-title {
|
||||
font-size: 14px;
|
||||
padding: 6px 0;
|
||||
color: #253647;
|
||||
font-weight: 600;
|
||||
white-space: break-spaces;
|
||||
word-wrap: anywhere;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ul-nav-tree-2-group-title {
|
||||
|
||||
font-size: 14px;
|
||||
padding: 6px 0;
|
||||
color: #253647;
|
||||
font-weight: 600;
|
||||
white-space: break-spaces;
|
||||
word-wrap: anywhere;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ul-nav-tree-2-item-title {
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
padding-left: 15px;
|
||||
line-height: 24px;
|
||||
white-space: break-spaces;
|
||||
word-wrap: anywhere;
|
||||
}
|
||||
|
||||
.ul-nav-tree-2-item:hover .ul-nav-tree-2-item-title {
|
||||
.ul-nav-tree-2-item {
|
||||
&.current,
|
||||
&:hover {
|
||||
.ul-nav-tree-2-item-title {
|
||||
color: #6cf;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ul-nav-tree-2-item-title {
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
padding-left: 15px;
|
||||
line-height: 24px;
|
||||
white-space: break-spaces;
|
||||
word-wrap: anywhere;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user