Refactor side navigation CSS

This commit is contained in:
Toby Zerner 2015-08-13 13:07:50 +09:30
parent ddbef312c7
commit 81e4321154

View File

@ -48,8 +48,7 @@
}
}
@media @tablet {
.sideNav {
.sideNav--horizontal {
padding: 15px 0;
white-space: nowrap;
overflow: auto;
@ -66,7 +65,7 @@
> ul > li, .Dropdown-menu > li {
display: inline-block;
margin-right: 20px;
margin: 0 20px 0 0;
}
.Dropdown-separator {
display: none;
@ -83,6 +82,10 @@
.affix {
position: static;
}
}
@media @tablet {
.sideNav {
.sideNav--horizontal();
}
}
@ -97,7 +100,7 @@
margin-top: 30px;
&.affix {
top: 56px;
top: @header-height;
}
> li {
margin-bottom: 10px;