-// Bootswatch.less
-// Swatch: Cerulean
-// Version: 2.1.0
+// Cerulean 2.2.1
+// Bootswatch
// -----------------------------------------------------
-// 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;
}
}
}
}
}
+// NAV
+// -----------------------------------------------------
+
// BUTTONS
// -----------------------------------------------------
.buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
}
-// ICONS
+// TABLES
+// -----------------------------------------------------
+
+// FORMS
+// -----------------------------------------------------
+
+// DROPDOWNS
+// -----------------------------------------------------
+
+// ALERTS, LABELS, BADGES
+// -----------------------------------------------------
+
+// MISC
// -----------------------------------------------------
-// Make icons gray
i[class^="icon-"]{
opacity: 0.8;
}
+
+// MEDIA QUERIES
+// -----------------------------------------------------