-// Bootswatch.less
-// Swatch: Readable
-// Version: 2.1.0
+// Readable 2.2.1
+// Bootswatch
// -----------------------------------------------------
+
// TYPOGRAPHY
// -----------------------------------------------------
border-left: none;
}
- .nav-collapse.collapse {
+ &-inverse {
+
+ .brand:hover {
+ color: @white;
+ }
+ }
+}
+
+@media (max-width: @navbarCollapseWidth) {
+
+ .navbar .nav-collapse {
.nav li:first-child > a {
margin-bottom: 10px;
}
}
- &-inverse {
+ .navbar-inverse .nav-collapse {
- .brand:hover {
- color: @white;
+ .nav li > a {
+ color: @grayLighter;
}
- .nav-collapse.collapse {
-
- .nav li > a {
- color: @grayLighter;
- }
-
- .nav li > a:hover {
- background-color: rgba(0, 0, 0, 0.2);
- color: @white;
- }
+ .nav li > a:hover {
+ background-color: rgba(0, 0, 0, 0.2) !important;
+ color: @white;
}
-
}
}
.box-shadow(none);
}
- li > a {
- padding: 10px 14px;
+ ul > li > a,
+ ul > li > span {
+ padding: 12px 14px 8px;
+ background-color: @white;
+ line-height: 1;
}
+ ul > li:first-child > a,
+ ul > li:last-child > a {
+ .border-radius(0);
+ }
- li.active > a,
- li.active > a:hover {
+ ul > .active > a,
+ ul > .active > a:hover,
+ ul > .active > span,
+ ul > .active > span:hover {
color: @textColor;
background-color: #F5F5F5;
}
- li > a,
- li.disabled > a,
- li.disabled > a:hover {
+ ul > .disabled > a,
+ ul > .disabled > a:hover,
+ ul > .disabled > span,
+ ul > .disabled > span:hover {
background-color: @white;
}
-
- li:first-child > a,
- li:last-child > a {
- .border-radius(0);
- }
}
.pager {