-// Bootswatch.less
-// Swatch: Spacelab
-// Version: 2.1.0
+// Spacelab 2.2.1
+// Bootswatch
// -----------------------------------------------------
+
// TYPOGRAPHY
// -----------------------------------------------------
+@import url('http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
+
// SCAFFOLDING
// -----------------------------------------------------
.navbar {
.navbar-inner {
- border-bottom: 1px solid #CACACA;
- .box-shadow(0 1px 0 rgba(255,255,255,0.4)~", "0 0 10px rgba(0,0,0,0.1));
+ .box-shadow(0 1px 0 rgba(255,255,255,0.4)~", "0 1px 0 rgba(0,0,0,0.8));
}
.brand {
- font-weight: bold;
+
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
&:hover {
- color: @linkColor;
+ color: @navbarLinkColorHover;
}
}
.nav > li > a {
- padding: 11px 10px 9px;
- font-weight: bold;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+ padding: 11px 10px 8px;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.navbar-text {
- margin-top: 2px;
- padding: 0 10px;
- line-height: 38px;
+ padding: 11px 10px 8px;
+ line-height: inherit;
}
.navbar-search .search-query,
.navbar-search .search-query:hover {
margin-bottom: 0;
+ line-height: normal;
color: @grayLight;
.placeholder(@grayLight);
.box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.5));
}
}
- .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 {
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
&:hover {
color: @white;
}
.nav > li > a {
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
}
.nav li.dropdown.open > .dropdown-toggle .caret,
border-top-color: @white;
}
- .nav-collapse.collapse {
- .nav li > a,
- .nav-header {
- color: @grayLighter;
+ .navbar-search .search-query,
+ .navbar-search .search-query:hover {
+
+ color: @white;
+
+ .placeholder(@grayLighter);
+ }
+ }
+}
+
+@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 {
- font-weight: bold;
- color: @textColor;
+
+ color: @navbarLinkColor;
&:hover {
- color: @linkColor;
+ color: @navbarLinkColorHover;
}
}
.nav > li.active > a {
+
color: @textColor;
&:hover {
}
.nav > li.dropdown.open > .dropdown-toggle {
+
border-left: 1px solid whiteSmoke;
border-right: 1px solid #E5E5E5;
color: @textColor;
// BUTTONS
// -----------------------------------------------------
-.btn {
- .buttonBackground(#F4F4F4, #ECECEC);
- color: @textColor;
- text-shadow: none;
-
-
- &:hover,
- &:active,
- &.active,
- &.disabled,
- &[disabled] {
- color: @grayDark;
- }
-}
-
-.btn-primary {
- .buttonBackground(#909090, #3F3F3F);
-}
-
-.btn-warning {
- .buttonBackground(lighten(@yellow, 15%), @yellow);
-}
-
-.btn-danger {
- .buttonBackground(lighten(#DA2D2D, 15%), #DA2D2D);
-}
-
-.btn-success {
- .buttonBackground(#8ADD6D, #60B044);
-}
-
-.btn-info {
- .buttonBackground(lighten(#4488BB, 15%), #4488BB);
-}
-
-.btn-inverse {
- .buttonBackground(lighten(@purple, 5%), @purple);
-}
-
// TABLES
// -----------------------------------------------------
// ALERTS, LABELS, BADGES
// -----------------------------------------------------
+.alert {
+
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+
+ h1, h2, h3, h4, h5, h6 {
+ color: @white;
+ font-weight: bold;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ }
+}
+
+.label, .badge {
+
+ padding-top: 4px;
+
+ &-important {
+ background-color: @red;
+ }
+
+ &-warning {
+ background-color: @orange;
+ }
+
+ &-success {
+ background-color: @green;
+ }
+
+ &-info {
+ background-color: @blue;
+ }
+}
+
// MISC
// -----------------------------------------------------
-.label-important, .badge-important { background-color: #BD2C00; }
-.label-warning, .badge-warning { background-color: #E3E84D; }
-.label-success, .badge-success { background-color: #6CC644; }
-.label-info, .badge-info { background-color: #4183C4; }
+.well {
+ .box-shadow(inset 1px 1px 0 rgba(0,0,0,.1));
+}
.hero-unit {
- .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
- border: 1px solid rgba(0,0,0,.05);
+ .box-shadow(inset 1px 1px 0 rgba(0,0,0,.1));
+ border: 1px solid rgba(0,0,0,.1);
}
// MEDIA QUERIES