-// Bootswatch.less
-// Swatch: Spruce
-// Version: 2.0.2
+// Spruce 2.2.1
+// Bootswatch
// -----------------------------------------------------
+
// TYPOGRAPHY
// --------------------------------------------------
@import url('https://fonts.googleapis.com/css?family=Josefin+Slab:400,700');
-.navbar .brand, legend, .btn,
-.navbar .nav > li > a,
-div.subnav li > a {
- font-family: @headingsFontFamily;
- font-weight: @headingsFontWeight;
-}
-
-h3 { font-size: 20px; }
-h4 { font-size: 16px; }
-h5 { font-size: 14px; }
-
-h1, h2, h3, h4, h5, h6 {
+h1 {
+ font-size: 54px;
+ line-height: 1.2em;
color: @yellow;
}
-h1 > small, h2 > small, h3 > small, h4 > small, h5 > small, h6 > small, .muted {
- color: @linkColor;
- font-family: @baseFontFamily;
-}
+h2 { font-size: 48px; }
+h3 { font-size: 36px; }
+h4 { font-size: 24px; }
+h5 { font-size: 20px; }
-.alert-heading {
+h1 > small,
+h2 > small,
+h3 > small,
+h4 > small,
+h5 > small,
+h6 > small,
+.muted {
+ color: @headingsColor;
font-family: @baseFontFamily;
}
-// SCAFFOLDING
-// --------------------------------------------------
-
-body {
- #gradient > .vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
- background-size: 100% 1400px;
- background-repeat: repeat-y !important;
-}
-
-blockquote {
- border-left: 2px solid @linkColor;
-
- &.pull-right {
- border-right: 2px solid @linkColor;
- }
-
- small {
- color: @blueDark;
- }
-}
-
code, pre {
color: lighten(@blueDark, 10%);
- background-color: @linkColor;
+ background-color: @headingsColor;
}
-// NAVBAR
+// SCAFFOLDING
// --------------------------------------------------
-.navbar-inner {
- background-image: none;
- .box-shadow(none);
-}
+// body {
+// #gradient > .vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
+// background-size: 100% 1400px;
+// background-repeat: repeat-y;
+// }
-.navbar .brand {
- font-size: 26px;
- padding: 18px 20px 12px;
- color: @linkColor;
-}
+.page-header {
+ border-bottom: 2px solid @headingsColor;
+ padding-bottom: 5px;
-.navbar .nav > li > a, {
- font-size: 20px;
- padding: 22px 10px 11px;
- color: @linkColor;
-
- &:hover {
- color: @yellow;
+ h1 {
+ margin-bottom: 0;
}
}
-.navbar .nav .active > a,
-.navbar .nav .active > a:hover {
- color: @yellow;
-}
-
-.navbar-search {
- margin-top: 12px;
-}
-
-.navbar-search .search-query {
- border-color: transparent;
- padding: 6px 9px 2px 9px;
- background-color: rgba(256, 256, 256, 0.4);
-}
-
-.navbar .nav > .dropdown.open > a {
- color: @yellow;
+hr {
+ border-top: none;
+ border-bottom: 2px solid @headingsColor;
}
-.navbar .nav > .dropdown.open > .dropdown-menu {
- background-color: @linkColor;
- color: @textColor;
- border-color: transparent;
-}
+blockquote {
+ border-left: 2px solid @headingsColor;
-.navbar .nav > .dropdown.open > .dropdown-menu a:hover {
- background-color: darken(#90A38F, 10%);
- color: @linkColor;
-}
+ &.pull-right {
+ border-right: 2px solid @headingsColor;
+ }
-.dropdown-menu .divider {
- background-color: transparent;
- border-bottom: 1px solid #AEAD8E;
+ small {
+ color: @blueDark;
+ }
}
-div.subnav {
- background-color: @green;
- background-image: none;
- border-color: transparent;
- .box-shadow(0 1px 5px rgba(0,0,0,.1));
- font-size: 18px;
-}
+// NAVBAR
+// --------------------------------------------------
-div.subnav .nav > li > a {
- color: @linkColor;
- border-color: transparent;
- background-color: transparent;
-}
+.navbar {
-div.subnav .nav > li.active > a,
-div.subnav .nav > li > a:hover,
-div.subnav .nav > li.active > a:hover,
-div.subnav .dropdown.open .dropdown-toggle {
- .box-shadow(none);
- background-color: transparent;
- border-color: transparent;
- color: @yellow;
-}
+ .navbar-inner {
+ background-image: none;
+ .box-shadow(none);
+ }
-div.subnav .nav > li + li > a {
- border-color: transparent;
-}
+ .brand {
+ padding: 18px 20px 12px;
+ font-size: 26px;
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ }
-div.subnav .dropdown.open > .dropdown-menu {
- background-color: @linkColor;
- color: @textColor;
- border-color: transparent;
-}
+ .nav > li > a {
+ padding: 20px 20px 10px;
+ font-size: 20px;
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ }
-div.subnav .dropdown.open > .dropdown-menu a:hover {
- background-color: darken(#90A38F, 10%);
- color: @linkColor;
-}
+ .nav .active > a,
+ .nav .active > a:hover {
+ color: @yellow;
+ }
-div.subnav-fixed {
- top: 54px;
-}
+ .nav > .active > a,
+ .nav > .active > a:hover,
+ .nav > .active > a:focus {
+ .box-shadow(none);
+ }
-.navbar .btn-navbar {
- margin-top: 14px;
-}
+ .navbar-text {
+ margin: 19px 20px 0;
+ font-size: 20px;
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ line-height: inherit;
+ }
-.navbar .nav-collapse.in .nav li > a {
- color: @linkColor;
-
- &:hover {
- color: @yellow;
- background-color: @blue;
+ .divider-vertical {
+ border-color: rgba(0, 0, 0, 0.2);
}
-}
-.navbar .navbar-form, .navbar .navbar-search {
- border-color: transparent;
- .box-shadow(none);
-}
+ .navbar-search {
+ margin-top: 12px;
+ }
-// TABLES
-// --------------------------------------------------
+ .navbar-search .search-query {
+ border-color: transparent;
+ background-color: rgba(255, 255, 255, 0.4);
+ color: @white;
+ }
-.table,
-.table.table-bordered,
-.table.table-striped {
- .border-radius(0 0 8px 8px);
-}
+ .btn-navbar {
+ margin-top: 14px;
+ }
-.table-bordered thead:first-child tr:first-child th:first-child,
-.table-bordered tbody:first-child tr:first-child td:first-child,
-.table-bordered thead:first-child tr:first-child th:last-child,
-.table-bordered tbody:first-child tr:first-child td:last-child {
- .border-radius(0);
+ .navbar-form, .navbar-search {
+ border-color: transparent;
+ .box-shadow(none);
+ }
}
-.table-striped tbody:last-child tr:last-child td:first-child {
- .border-radius(0 0 0 8px);
-}
+@media (max-width: @navbarCollapseWidth) {
-.table-striped tbody:last-child tr:last-child td:last-child {
- .border-radius(0 0 8px 0);
-}
+ .navbar .nav-collapse {
-.table-bordered {
- border: none;
-}
+ .nav li > a {
+ color: @headingsColor;
-.table thead tr th:first-child,
-.table tbody tr td:first-child {
- border-left: none;
-}
+ &:hover {
+ color: @yellow;
+ background-color: @blue;
+ }
+ }
+ }
-.table th,
-.table-striped tbody tr:nth-child(odd) th {
- background-color: darken(#90A38F, 10%);
- color: @linkColor;
-}
+ .navbar-inverse .nav-collapse {
-// BUTTONS
-// --------------------------------------------------
+ .nav li > a:hover {
+ background-color: rgba(0, 0, 0, 0.06) !important;
+ }
-.btn {
- .buttonBackground(lighten(@blueDark, 5%), @blueDark);
- text-shadow: none;
- color: @white;
- border-color: transparent;
- .box-shadow(none);
-
- &:hover {
- color: @grayLighter;
}
}
-.btn-large {
+div.subnav {
+ background-color: @green;
+ background-image: none;
+ border-color: transparent;
+ .box-shadow(0 1px 5px rgba(0,0,0,.1));
font-size: 18px;
-}
-
-.btn-primary {
- .buttonBackground(lighten(@blue, 10%), lighten(@blue, 5%));
-}
-.btn-warning {
- .buttonBackground(@orange, darken(@orange, 5%));
-}
+ .nav > li > a {
+ padding: 13px 12px 9px;
+ border-color: transparent;
+ background-color: transparent;
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ color: @headingsColor;
+ }
-.btn-danger {
- .buttonBackground(lighten(@red, 5%), @red);
-}
+ .nav > li + li > a {
+ border-color: transparent;
+ }
-.btn-success {
- .buttonBackground(#62c462, #51a351);
-}
+ .nav > li.active > a,
+ .nav > li > a:hover,
+ .nav > li.active > a:hover,
+ .dropdown.open .dropdown-toggle,
+ .dropdown.open.active .dropdown-toggle:hover {
+ .box-shadow(none);
+ background-color: transparent;
+ border-color: transparent;
+ color: @yellow;
+ }
-.btn-info {
- .buttonBackground(#5bc0de, #2f96b4);
-}
+ .dropdown.open > .dropdown-menu {
+ background-color: @headingsColor;
+ color: @textColor;
+ border-color: transparent;
+ }
-.btn-inverse {
- .buttonBackground(@yellow, darken(@yellow, 5%));
-}
+ .dropdown.open > .dropdown-menu a:hover {
+ background-color: darken(#90A38F, 10%);
+ color: @headingsColor;
+ }
-.btn-group .dropdown-toggle {
- .box-shadow(none);
+ &.subnav-fixed {
+ top: @navbarHeight;
+ }
}
-// NAVIGATION
+// NAV
// --------------------------------------------------
-.breadcrumb, .pagination > ul {
- background-color: darken(#90A38F, 10%);
- background-image: none;
- border-color: transparent;
- .box-shadow(none);
-}
+.nav {
+ .disabled > a {
-.breadcrumb li {
- color: @yellow;
- text-shadow: none;
-
- a {
- color: @linkColor;
- }
-
- a:hover {
- color: @yellow;
- }
-
- .divider {
- color: @blue;
- }
-}
+ color: #ccc;
-.pagination a {
- color: @linkColor;
- border-color: transparent;
-
- &:hover {
- color: @yellow;
- background-color: #748C73;
+ &:hover {
+ background-color: #748C73;
+ }
}
}
-.pagination .active a {
- color: @blue;
- background-color: #A2CDB5;
-}
+.nav-list {
-.pagination .disabled a,
-.pagination .disabled a:hover {
- color: @blue;
-}
+ li > a,
+ .nav-header {
+ text-shadow: none;
+ }
-.nav-list > li > a, .nav-list .nav-header {
- text-shadow: none;
-}
+ li > a:hover {
+ background-color: transparent;
+ }
-.nav-list .active > a, .nav-list .active > a:hover {
- background-color: #A2CDB5;
- text-shadow: none;
-}
+ li.active > a,
+ li.active > a:hover {
+ background-color: #A2CDB5;
+ text-shadow: none;
+ }
-.nav-list li > a:hover {
- background-color: transparent;
+ .divider {
+ background-color: transparent;
+ border-bottom: 1px solid @headingsColor;
+ }
}
.nav-tabs {
.nav-tabs > li > a,
.nav-pills > li > a {
background-color: #748C73;
-
+
&:hover {
background-color: #748C73;
border-color: transparent;
.nav-tabs.nav-stacked > li > a {
border-color: transparent;
-
+
&:hover {
border-color: transparent;
}
.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu {
- background-color: @linkColor;
+ background-color: @headingsColor;
color: @textColor;
border-color: transparent;
-
+
a:hover {
background-color: #A2CDB5;
- color: @linkColor;
+ color: @headingsColor;
}
}
color: @blue;
}
-.tabbable > .nav-tabs,
-.tabbable > .nav-tabs > li > a,
-.tabbable > .nav-tabs > li > a:hover,
-.tabbable > .nav-tabs > li.active > a,
-.tabbable > .nav-tabs > li.active > a:hover {
+.tabbable {
+ .nav-tabs,
+ .nav-tabs > li > a,
+ .nav-tabs > li > a:hover,
+ .nav-tabs > li.active > a,
+ .nav-tabs > li.active > a:hover {
+ border-color: transparent;
+ }
+}
+
+.breadcrumb {
+ background-color: darken(#90A38F, 10%);
+ background-image: none;
border-color: transparent;
+ .box-shadow(none);
+
+ li {
+ color: @yellow;
+ text-shadow: none;
+
+ a {
+ color: @yellow;
+ }
+
+ a:hover {
+ color: @yellow;
+ }
+
+ .divider {
+ color: @headingsColor;
+ }
+ }
+
+ .active {
+ color: @headingsColor;
+ }
}
-.pager a {
- border: none;
- background-color: #748C73;
-
- &:hover {
- background-color: transparent;
+.pagination {
+
+ ul {
+ background-color: darken(#90A38F, 10%);
+ background-image: none;
+ border-color: transparent;
+ .box-shadow(none);
+ }
+
+ ul > li > a,
+ ul > li > span {
+ color: @yellow;
+ border-color: transparent;
+
+ &:hover {
+ color: @yellow;
+ background-color: rgba(0, 0, 0, 0.1);
+ }
+ }
+
+ ul > .active > a,
+ ul > .active > span {
+ color: @headingsColor;
+ background-color: rgba(0, 0, 0, 0.1);
+ }
+
+ ul > .disabled > a,
+ ul > .disabled > a:hover,
+ ul > .disabled > span,
+ ul > .disabled > span:hover {
+ color: @blue;
+ }
+}
+
+.pager {
+
+ a {
+ border: none;
+ background-color: #748C73;
+
+ &:hover {
+ background-color: #687D67;
+ }
+ }
+
+ .disabled a,
+ .disabled a:hover {
background-color: #748C73;
+ color: @textColor;
}
}
+// BUTTONS
+// --------------------------------------------------
+
+.btn {
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ text-shadow: none;
+ border-color: transparent;
+ .box-shadow(none);
+}
+
+.btn-large {
+ font-size: 18px;
+}
+
+.btn-group .dropdown-toggle {
+ .box-shadow(none);
+}
+
+// TABLES
+// --------------------------------------------------
+
+.table,
+.table.table-bordered,
+.table.table-striped {
+ .border-radius(0 0 8px 8px);
+}
+
+.table-bordered thead:first-child tr:first-child th:first-child,
+.table-bordered tbody:first-child tr:first-child td:first-child,
+.table-bordered thead:first-child tr:first-child th:last-child,
+.table-bordered tbody:first-child tr:first-child td:last-child {
+ .border-radius(0);
+}
+
+.table-striped tbody:last-child tr:last-child td:first-child {
+ .border-radius(0 0 0 8px);
+}
+
+.table-striped tbody:last-child tr:last-child td:last-child {
+ .border-radius(0 0 8px 0);
+}
+
+.table-bordered {
+ border: none;
+}
+
+.table thead tr th:first-child,
+.table tbody tr td:first-child {
+ border-left: none;
+}
+
+.table th,
+.table-striped tbody tr:nth-child(odd) th {
+ background-color: darken(#90A38F, 10%);
+ color: @headingsColor;
+}
+
// FORMS
// --------------------------------------------------
legend {
- color: @yellow;
+ font-family: @headingsFontFamily;
+ font-weight: @headingsFontWeight;
+ color: @headingsColor;
}
label, .help-block, input[type="file"] {
- color: @linkColor;
+ color: @headingsColor;
}
input, textarea, select {
}
.form-actions {
- background-color: transparent;
border-top: none;
.border-radius(4px);
}
-// MISCELLANEOUS
+.control-group.error {
+
+ label, .help-block, .help-inline {
+ color: lighten(@red, 30%);
+ }
+
+ input, select, textarea {
+ border: 2px solid lighten(@red, 30%);
+ color: @textColor;
+ }
+}
+
+.control-group.success {
+
+ label, .help-block, .help-inline {
+ color: lighten(#24C00B, 25%);
+ }
+
+ input, select, textarea {
+ border: 2px solid lighten(#24C00B, 25%);
+ color: @textColor;
+ }
+}
+
+.control-group.warning {
+
+ label, .help-block, .help-inline {
+ color: lighten(@orange, 25%);
+ }
+
+ input, select, textarea {
+ border: 2px solid lighten(@orange, 25%);
+ color: @textColor;
+ }
+}
+
+// ALERTS, LABELS, BADGES
// --------------------------------------------------
.alert {
border: none;
}
+.alert-heading {
+ font-family: @baseFontFamily;
+ color: inherit;
+}
+
+.badge,
.label {
- color: @linkColor;
- opacity: 1;
+
+ background-color: @blue;
text-shadow: none;
-}
-.progress {
- background-color: darken(#90A38F, 10%);
- background-image: none;
- .box-shadow(none);
-
- .bar {
- background-image: none;
- background-color: #A2CDB5;
+ &-success {
+ background-color: @successBackground;
+ }
+
+ &-warning {
+ background-color: @warningBackground;
+ }
+
+ &-important {
+ background-color: @errorBackground;
+ }
+
+ &-info {
+ background-color: @infoBackground;
+ }
+
+ &-inverse {
+ background-color: @yellow;
}
}
+// MISC
+// --------------------------------------------------
+
.well {
- background-color: darken(#90A38F, 10%);
border: none;
.box-shadow(none);
}
.thumbnail {
border: none;
.box-shadow(none);
-
+
img {
.border-radius(4px);
}
}
-hr {
- border-top: none;
- border-bottom: 2px solid @linkColor;
+.progress {
+ background-color: darken(#90A38F, 10%);
+ background-image: none;
}
-.page-header {
- border-bottom: 2px solid @linkColor;
- padding-bottom: 5px;
-}
+.modal {
+
+ &-header {
+ padding: 12px 15px 6px;
+ background-color: @green;
+ }
+
+ &-body,
+ &-footer {
+ background-color: @headingsColor;
+ border: none;
+ .box-shadow(none);
-footer.footer {
- border-top: 2px solid @linkColor;
+ label {
+ color: @textColor;
+ }
+ }
+
+ &-footer {
+ .border-radius(0 0 4px 4px);
+ }
}
+
+// MEDIA QUERIES
+// --------------------------------------------------