refactor: 移动导航条菜单样式到 theme.css 文件中
This commit is contained in:
parent
1cafb39f11
commit
7b7a860c41
|
@ -28,37 +28,6 @@
|
|||
background-position: 104% top;
|
||||
}
|
||||
|
||||
.header .navbar {
|
||||
padding: 0 0 0 1rem;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu .dropdown-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu-arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 0 6px 6px;
|
||||
border-style: solid;
|
||||
border-color: transparent transparent rgba(0,0,0,.15);
|
||||
position: relative;
|
||||
left: 16px;
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu-arrow:after {
|
||||
content: " ";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 0 6px 6px;
|
||||
border-style: solid;
|
||||
border-color: transparent transparent #fff;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: -6px;
|
||||
}
|
||||
|
||||
.sidebar-toggle-box {
|
||||
color: #eee;
|
||||
}
|
||||
|
|
|
@ -31,6 +31,37 @@ body {
|
|||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.header .navbar {
|
||||
padding: 0 0 0 1rem;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu {
|
||||
padding: 0.25rem 0;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu-arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 0 6px 6px;
|
||||
border-style: solid;
|
||||
border-color: transparent transparent rgba(0,0,0,.15);
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.header .navbar .dropdown-menu-arrow:after {
|
||||
content: " ";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 0 6px 6px;
|
||||
border-style: solid;
|
||||
border-color: transparent transparent #fff;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: -6px;
|
||||
}
|
||||
|
||||
.userinfo img {
|
||||
height: 29px;
|
||||
width: 29px;
|
||||
|
|
Loading…
Reference in New Issue