增加功能:适配微缩工具条小于400宽度时继续缩小

This commit is contained in:
Argo-Lenovo 2016-11-10 20:45:35 +08:00
parent a90749853c
commit 09f78ec999
2 changed files with 30 additions and 7 deletions

View File

@ -63,6 +63,21 @@
}
}
@media (max-width: 400px) {
.toolbar .dropdown-menu a {
border-left: none;
padding: 8px;
}
.toolbar .dropdown-menu a:first-child {
padding-left: 16px;
}
.toolbar .dropdown-menu a:last-child {
padding-right: 16px;
}
}
@media (min-height: 700px) {
#sidebar {
padding-top: 94px;

View File

@ -187,18 +187,26 @@ ul.sidebar-menu {
display: none;
}
.toolbar div {
.toolbar .dropdown-menu {
padding: 0;
margin-top: 4px;
white-space: nowrap;
min-width: 40px;
}
.toolbar div a:first-child {
.toolbar .dropdown-menu a {
padding: 8px 20px;
border-left: solid 1px #aeb2b7;
border-right: none;
color: #504d4d;
}
.toolbar .dropdown-menu a:first-child {
border-left: none;
}
.toolbar div a {
padding: 8px 20px;
border-left: solid 1px #aeb2b7;
.toolbar .dropdown-menu a:hover {
color: #235e90;
}
/*cache*/