cerulean: changed alt navbar from gray to dark blue
[bootswatch] / cerulean / bootswatch.less
index 8c6fb01..7b4ca9c 100755 (executable)
@@ -1,24 +1,26 @@
 // Bootswatch.less
 // Swatch: Cerulean
-// Version: 2.1.0
+// Version: 2.1.1
 // -----------------------------------------------------
 
-// IMPORTS
+// TYPOGRAPHY
 // -----------------------------------------------------
 
 @import url(https://fonts.googleapis.com/css?family=Telex);
 
+// SCAFFOLDING
+// -----------------------------------------------------
+
 // NAVBAR
 // -----------------------------------------------------
 
 .navbar {
 
-       font-family: @headingsFontFamily;
-       text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
 
        .brand {
-               padding: 16px 20px 14px;
-               text-shadow: inherit;
+               padding: 14px 20px 16px;
+               font-family: @headingsFontFamily;
+               text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
        }
 
        li {
 
        .nav > li > a {
                padding: 16px 10px 14px;
-               text-shadow: inherit;
+               font-family: @headingsFontFamily;
+               text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
        }
 
        .search-query {
                border: 1px solid darken(@linkColor, 10%);
-       }
-
-       .btn-navbar:hover {
-           background-color: darken(@white, 20%);
+               line-height: normal;
        }
 
        .navbar-text {
                text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
        }
 
-       .nav-collapse.collapse {
+       &-inverse {
+
+               .navbar-search .search-query {
+                       color: @textColor;
+               }
+       }
+}
+
+@media (max-width: @navbarCollapseWidth) {
+
+       .navbar .nav-collapse {
 
                .nav li > a {
+
+                       font-family: @headingsFontFamily;
+                       font-weight: normal;
                        color: @white;
+                       text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
 
                        &:hover {
                                background-color: #2B7CAC;
                }
        }
 
-       &-inverse {
-
-               text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
-
-               .nav-collapse.collapse {
+       .navbar-inverse .nav-collapse {
 
-                       .nav li > a {
-                               color: @navbarInverseLinkColor;
-
-                               &:hover {
-                                       background-color: rgba(0, 0, 0, 0.1);
-                               }
-                       }
+               .nav li > a {
+                       color: @navbarInverseLinkColor;
 
-                       .nav .active > a {
+                       &:hover {
                                background-color: rgba(0, 0, 0, 0.1);
                        }
                }
 
-               .navbar-search .search-query {
-                       color: @textColor;
+               .nav .active > a,
+               .nav > li > a:hover,
+               .dropdown-menu a:hover {
+                       background-color: rgba(0, 0, 0, 0.1) !important;
                }
        }
 }
@@ -111,6 +118,9 @@ div.subnav {
        }
 }
 
+// NAV
+// -----------------------------------------------------
+
 // BUTTONS
 // -----------------------------------------------------
 
@@ -148,10 +158,24 @@ div.subnav {
   .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
 }
 
-// ICONS
+// TABLES
+// -----------------------------------------------------
+
+// FORMS
+// -----------------------------------------------------
+
+// DROPDOWNS
+// -----------------------------------------------------
+
+// ALERTS, LABELS, BADGES
+// -----------------------------------------------------
+
+// MISC
 // -----------------------------------------------------
 
-// Make icons gray
 i[class^="icon-"]{
        opacity: 0.8;
 }
+
+// MEDIA QUERIES
+// -----------------------------------------------------