summaryrefslogtreecommitdiff
path: root/spacelab/bootswatch.less
diff options
context:
space:
mode:
Diffstat (limited to 'spacelab/bootswatch.less')
-rwxr-xr-xspacelab/bootswatch.less53
1 files changed, 32 insertions, 21 deletions
diff --git a/spacelab/bootswatch.less b/spacelab/bootswatch.less
index fe41fd82..55da0c11 100755
--- a/spacelab/bootswatch.less
+++ b/spacelab/bootswatch.less
@@ -56,20 +56,6 @@
}
}
- .nav-collapse.collapse {
-
- .navbar-search {
- border-top: none;
- border-bottom: none;
- }
-
- & > .nav li > a:hover {
- background-color: @linkColor;
- color: @white;
- text-shadow: none;
- }
- }
-
&-inverse {
.brand {
@@ -90,13 +76,6 @@
border-top-color: @white;
}
- .nav-collapse.collapse {
- .nav li > a,
- .nav-header {
- color: @grayLighter;
- }
- }
-
.navbar-search .search-query,
.navbar-search .search-query:hover {
@@ -107,6 +86,38 @@
}
}
+@media (max-width: @navbarCollapseWidth) {
+
+ .navbar .nav-collapse {
+
+ .nav li > a:hover {
+ background-color: @linkColor;
+ color: @white;
+ text-shadow: none;
+ }
+
+ .navbar-search {
+ border-top: none;
+ border-bottom: none;
+ }
+ }
+
+ .navbar-inverse .nav-collapse {
+
+ .nav li > a {
+ color: @grayLighter;
+
+ &:hover {
+ background-color: @linkColor !important;
+ }
+ }
+
+ .nav-header {
+ color: @grayLighter;
+ }
+ }
+}
+
div.subnav {
.nav > li > a {