-// Bootswatch.less
-// Swatch: Cerulean
+// Cerulean 2.3.2
+// Bootswatch
// -----------------------------------------------------
+
// TYPOGRAPHY
// -----------------------------------------------------
-@import url(http://fonts.googleapis.com/css?family=Telex);
-
-h1,h2,h3,h4,h5,h6, .navbar, .subnav {
- font-family: 'Telex', sans-serif;
-}
+@import url(//fonts.googleapis.com/css?family=Telex);
-h1,h2,h3,h4,h5,h6 {
- color: #317EAC
-}
+// SCAFFOLDING
+// -----------------------------------------------------
// NAVBAR
// -----------------------------------------------------
-.navbar-inner {
- #gradient > .vertical-three-colors(@navbarBackground, @navbarBackground, 90%, @navbarBackgroundHighlight);
-}
+.navbar {
-.navbar .nav .active > a,
-.navbar .nav .active > a:hover {
- background-color: @navbarBackground;
- background-color: rgba(0,0,0,.2);
-}
+ .brand {
+ padding: 14px 20px 16px;
+ font-family: @headingsFontFamily;
+ text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
+ }
-.navbar .search-query {
- border: 1px solid darken(@linkColor, 10%);
-}
+ li {
+ line-height: 20px;
+ }
-// responsive menu colors
+ .nav > li > a {
+ padding: 16px 10px 14px;
+ font-family: @headingsFontFamily;
+ text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
+ }
-.navbar .nav-collapse > .nav li > a {
- color: @white;
-
- &:hover {
- background-color: #2B7CAC;
+ .search-query {
+ border: 1px solid darken(@linkColor, 10%);
+ line-height: normal;
}
-}
-.btn-navbar:hover {
- background-color: darken(@white, 20%);
- background-position: 0 0;
-}
+ .navbar-text {
+ padding: 19px 10px 18px;
+ line-height: 13px;
+ color: rgba(0, 0, 0, 0.5);
+ text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
+ }
-// FORMS
-// -----------------------------------------------------
+ &-inverse {
-// Warning
-.control-group.warning {
- .formFieldState(@orange, @orange, @warningBackground);
+ .navbar-search .search-query {
+ color: @textColor;
+ }
+ }
}
-// Error
-.control-group.error {
- .formFieldState(@red, @red, @errorBackground);
+
+@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;
+ }
+ }
+
+ .nav .active > a {
+ .box-shadow(none);
+ background-color: #2B7CAC;
+ }
+
+ .dropdown-menu li > a:hover,
+ .dropdown-menu li > a:focus,
+ .dropdown-submenu:hover > a {
+ background-image: none;
+ }
+
+ .navbar-form,
+ .navbar-search {
+ border: none;
+ }
+
+ .nav-header {
+ color: #2B7CAC;
+ }
+ }
+
+ .navbar-inverse .nav-collapse {
+
+ .nav li > a {
+ color: @navbarInverseLinkColor;
+
+ &:hover {
+ background-color: rgba(0, 0, 0, 0.1);
+ }
+ }
+
+ .nav .active > a,
+ .nav > li > a:hover,
+ .dropdown-menu a:hover {
+ background-color: rgba(0, 0, 0, 0.1) !important;
+ }
+ }
}
-// Success
-.control-group.success {
- .formFieldState(darken(@green, 10%), darken(@green, 10%), @successBackground);
+
+div.subnav {
+
+ font-family: @headingsFontFamily;
+ text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
+
+ &-fixed {
+ top: @navbarHeight + 1;
+ }
}
+// NAV
+// -----------------------------------------------------
+
// BUTTONS
// -----------------------------------------------------
#gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%));
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
-}
-.btn-warning {
- .caret {
- border-top-color: @white;
- .opacity(75);
+ &:hover {
+ background-position: 0 0;
}
}
-// Set the backgrounds
-// -------------------------
.btn-primary {
- .buttonBackground(lighten(@linkColor, 5%), @linkColor);
+ .buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground);
}
-// Warning appears are orange
+
+.btn-info {
+ .buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground);
+}
+
+.btn-success {
+ .buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground);
+}
+
.btn-warning {
- .buttonBackground(lighten(@orange, 5%), @orange);
+ .buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground);
}
-// Danger and error appear as red
+
.btn-danger {
- .buttonBackground(lighten(@red, 5%), @red);
+ .buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground);
}
-// Success appears as green
-.btn-success {
- .buttonBackground(lighten(@green, 5%), @green);
-}
-// Info appears as a neutral blue
-.btn-info {
- .buttonBackground(lighten(@purple, 5%), @purple);
+
+.btn-inverse {
+ .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
}
-// ICONS
+// TABLES
+// -----------------------------------------------------
+
+// FORMS
+// -----------------------------------------------------
+
+// DROPDOWNS
+// -----------------------------------------------------
+
+// ALERTS, LABELS, BADGES
+// -----------------------------------------------------
+
+// MISC
// -----------------------------------------------------
-// Make icons gray
i[class^="icon-"]{
opacity: 0.8;
-}
\ No newline at end of file
+}
+
+// MEDIA QUERIES
+// -----------------------------------------------------