2.3.0+2 -> 2.3.1
[bootswatch] / amelia / bootswatch.less
index 8065f75..eccf146 100755 (executable)
@@ -1,13 +1,12 @@
-// Bootswatch.less
-// Swatch: Amelia
-// Version: 2.1.1
+// Amelia 2.3.1
+// Bootswatch
 // -----------------------------------------------------
 
+
 // TYPOGRAPHY
 // -----------------------------------------------------
 
-@import url('https://fonts.googleapis.com/css?family=Lobster');
-@import url('https://fonts.googleapis.com/css?family=Cabin:400,700');
+@import url('//fonts.googleapis.com/css?family=Lobster|Cabin:400,700');
 
 h6 {
        color: @textColor;
@@ -48,7 +47,7 @@ body {
 }
 
 hr {
-       border-bottom: 1px solid rgba(255, 255, 255, 0.3);
+       border-bottom: none;
 }
 
 .page-header {
@@ -152,6 +151,11 @@ hr {
 
        .navbar-inverse .nav-collapse {
 
+               .nav > li > a,
+               .dropdown-menu a {
+                       color: @navbarInverseLinkColor !important;
+               }
+
                .nav li > a:hover,
                .dropdown-menu a:hover {
                        background-color: lighten(@navbarInverseBackground, 10%) !important;
@@ -161,17 +165,12 @@ hr {
 
 div.subnav {
 
-       background-color: rgba(42, 99, 105, 0.9);
-       background-image: none;
-       border: 0px solid transparent;
+       margin: 0 1px;
+       background: rgba(42, 99, 105, 0.9) none;
+       border: none;
        .border-radius(0);
        .box-shadow(none);
 
-       .nav > li.open > a {
-               border-color: transparent;
-               background-color: rgba(255, 255, 255, 0.4);
-       }
-
        .nav > li > a {
                color: @textColor;
                border-color: transparent;
@@ -183,27 +182,27 @@ div.subnav {
        }
 
        .nav > .active > a {
-               background-color: transparent;
+               background-color: rgba(255, 255, 255, 0.4);
                border-color: transparent;
                color: @textColor;
                .box-shadow(none);
        }
 
-       .nav > .active > a:hover,
        .nav > li > a:hover,
-       .nav > li.active > a:hover, {
+       .nav > .active > a:hover, {
                border-right-color: transparent;
                background-color: rgba(255, 255, 255, 0.4);
                color: @textColor;
        }
 
-       .nav > li:first-child > a:hover {
-               border-left-color: rgba(255, 255, 255, 0.4);
-               border-left-width: 1px;
+       .nav > li.open > a {
+               border-color: transparent;
+               background-color: rgba(255, 255, 255, 0.4);
        }
 
        &-fixed {
-               top: 50px;
+               top: @navbarHeight + 1;
+               margin: 0;
        }
 }
 
@@ -227,17 +226,13 @@ div.subnav {
        }
 
        li.active > a,
-       li:active > a,
-       li.active > a:hover,
-       li:active > a:hover {
+       li.active > a:hover {
                color: @textColor;
        }
 
        li.active > a,
-       li:active > a,
        li > a:hover,
-       li.active > a:hover,
-       li:active > a:hover {
+       li.active > a:hover {
                background-color: #8AD5DC;
                border-color: transparent;
                text-shadow: none;
@@ -262,14 +257,13 @@ div.subnav {
        li > a,
        li > a:hover,
        li.active > a,
-       li:active > a,
-       li.active > a:hover,
-       li:active > a:hover {
+       li.active > a:hover {
                border-color: transparent;
        }
 }
 
 .nav-list {
+
        .nav-header {
                text-shadow: none;
                color: @textColor;
@@ -280,10 +274,8 @@ div.subnav {
        }
 
        li.active > a,
-       li:active > a,
        li > a:hover,
-       li.active > a:hover,
-       li:active > a:hover {
+       li.active > a:hover {
                background-color: #8AD5DC;
                text-shadow: none;
        }
@@ -403,6 +395,18 @@ div.subnav {
        .buttonBackgroundCustom(@btnBackground)
 }
 
+.btn-large {
+       padding: @paddingLarge;
+}
+
+.btn-small {
+       padding: @paddingSmall;
+}
+
+.btn-mini {
+       padding: @paddingMini;
+}
+
 .btn-group .btn:first-child {
        margin-left: 0;
        .border-radius(0);
@@ -447,23 +451,6 @@ div.subnav {
        .buttonBackgroundCustom(@btnPrimaryBackground);
 }
 
-.btn-large {
-       padding: 20px 24px;
-}
-
-.btn-small {
-       padding: 8px 12px;
-}
-
-.btn-mini {
-       padding: 4px 8px;
-}
-
-[class^="icon-"], [class*=" icon-"] {
-       margin-top: 2px;
-       margin-right: 8px;
-}
-
 .btn-small [class^="icon-"] {
        margin-top: 1px;
 }
@@ -539,19 +526,31 @@ input, textarea, .search-query, .uneditable-input,
        border-top: 0px solid transparent;
 }
 
-.control-group.warning > label,
-.control-group.warning .help-inline {
-       color: lighten(@orange, 30%);
+.control-group.warning {
+
+       .control-label,
+       .help-block,
+       .help-inline {
+               color: lighten(@orange, 30%);
+       }
 }
 
-.control-group.error > label,
-.control-group.error .help-inline {
-       color: lighten(@linkColor, 10%);
+.control-group.error {
+
+       .control-label,
+       .help-block,
+       .help-inline {
+               color: lighten(@linkColor, 10%);
+       }
 }
 
-.control-group.success > label,
-.control-group.success .help-inline {
-       color: lighten(@green, 20%);
+.control-group.success {
+
+       .control-label,
+       .help-block,
+       .help-inline {
+               color: lighten(@green, 20%);
+       }
 }
 
 .input-prepend .add-on,
@@ -573,41 +572,47 @@ input, textarea, .search-query, .uneditable-input,
 // ALERTS, LABELS, BADGES
 // -----------------------------------------------------
 
-.alert, .label {
+.alert {
+
        border-color: transparent;
        .border-radius(0);
        .box-shadow(none);
        text-shadow: none;
-}
 
-.alert-heading {
-       color: @textColor;
-}
+       h1, h2, h3, h4, h5, h6 {
+               color: @textColor;
+       }
 
-.label, .label:hover {
-       background-color: @grayLighter;
-       text-shadow: none;
-       color: @grayDark;
+       &-heading {
+               color: @textColor;
+       }
 }
 
-.label-warning, .label-warning:hover, .alert {
-       background-color: @orange;
-       color: @textColor;
-}
+.label,
+.badge {
 
-.label-important, .label-important:hover, .alert-error {
-       background-color: darken(@yellow, 3%);
-       color: @textColor;
-}
+       background-color: @blue;
 
-.label-success, .label-success:hover, .alert-success {
-       background-color: @green;
-       color: @textColor;
-}
+       &-success {
+               background-color: @green;
+       }
+
+       &-important {
+               background-color: @red;
+       }
+
+       &-warning {
+               background-color: @orange;
+       }
+
+       &-info {
+               background-color: @purple;
+       }
+
+       &-inverse {
+               background-color: @btnInverseBackground;
+       }
 
-.label-info, .label-info:hover, .alert-info {
-       background-color: @purple;
-       color: @textColor;
 }
 
 // MISCELLANEOUS