style: 合并 username 样式
This commit is contained in:
parent
41c673f7f3
commit
34ec8f6213
|
@ -37,13 +37,16 @@
|
|||
}
|
||||
|
||||
.username {
|
||||
margin-left: 0.625rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
vertical-align: middle;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.username, aside:hover .nav-header span, .userinfo .dropdown-item .username + div {
|
||||
margin-left: 0.625rem;
|
||||
}
|
||||
|
||||
.userinfo img {
|
||||
border-radius: 4px;
|
||||
width: 40px;
|
||||
|
@ -84,10 +87,6 @@
|
|||
max-width: 180px;
|
||||
}
|
||||
|
||||
.userinfo .dropdown-item .username + div {
|
||||
margin-left: 0.625rem;
|
||||
}
|
||||
|
||||
.userinfo .dropdown-item a {
|
||||
padding: 0.25rem 0.625rem;
|
||||
}
|
||||
|
@ -259,10 +258,6 @@ body {
|
|||
transition: top .3s linear;
|
||||
}
|
||||
|
||||
aside, aside .nav-header img {
|
||||
transition: width .3s linear;
|
||||
}
|
||||
|
||||
aside .sub .nav-tem, .sidebar-open aside:hover .sidebar .sub .nav-item {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
@ -290,7 +285,7 @@ body {
|
|||
color: #eee;
|
||||
}
|
||||
|
||||
aside .sub .nav-link, .userinfo .dropdown-item, aside .sidebar .sub .nav-item {
|
||||
aside .sub .nav-link, .userinfo .dropdown-item, aside .sidebar .sub .nav-item, aside, aside .nav-header img {
|
||||
transition: all .3s linear;
|
||||
}
|
||||
|
||||
|
@ -319,7 +314,8 @@ body {
|
|||
}
|
||||
|
||||
.sidebar-open aside .nav-header img {
|
||||
width: 2.25rem
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
}
|
||||
|
||||
.sidebar-open aside .nav-brand img, .sidebar-open aside:hover .nav-brand span, .sidebar-open aside:hover .nav-header span, .sidebar-open aside:hover .nav-item span {
|
||||
|
|
Loading…
Reference in New Issue