refactor: 移动导航条菜单样式到 theme.css 文件中

This commit is contained in:
Argo Zhang (Win) 2019-08-09 17:51:21 +08:00
parent 1cafb39f11
commit 7b7a860c41
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 31 additions and 31 deletions

View File

@ -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;
}

View File

@ -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;