2.2.2 -> 2.3.0
[bootswatch] / amelia / bootswatch.less
index 842c959..dfca0ac 100755 (executable)
@@ -1,18 +1,12 @@
-// Bootswatch.less
-// Swatch: Amelia
-// Version: 2.1.0
+// Amelia 2.3.0
+// Bootswatch
 // -----------------------------------------------------
 
+
 // TYPOGRAPHY
 // -----------------------------------------------------
 
-@import url('https://fonts.googleapis.com/css?family=Lobster');
-@import url('https://fonts.googleapis.com/css?family=Cabin:400,700');
-
-.navbar .brand,
-legend {
-       font-family: @headingsFontFamily;
-}
+@import url('//fonts.googleapis.com/css?family=Lobster|Cabin:400,700');
 
 h6 {
        color: @textColor;
@@ -23,6 +17,24 @@ h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
        color: @textColor;
 }
 
+code, pre {
+       background-color: rgba(255, 255, 255, 0.3);
+       padding: 2px;
+}
+
+blockquote {
+
+       border-left-color: lighten(#147E88, 12%);
+
+       &.pull-right {
+               border-right-color: lighten(#147E88, 12%);
+       }
+
+       small {
+               color: rgba(255, 255, 255, 0.6);
+       }
+}
+
 .muted {
        color: rgba(255, 255, 255, 0.5);
 }
@@ -43,14 +55,6 @@ hr {
        border-bottom: 0px solid transparent;
 }
 
-footer.footer {
-       border-top: 1px solid rgba(255, 255, 255, 0.3);
-
-       p {
-               color: @textColor;
-       }
-}
-
 // NAVBAR
 // -----------------------------------------------------
 
@@ -62,6 +66,7 @@ footer.footer {
 
        .brand {
                padding: 15px 20px 14px;
+               font-family: @headingsFontFamily;
                font-size: 24px;
                font-weight: normal;
        }
@@ -98,9 +103,23 @@ footer.footer {
                padding: 4px;
        }
 
-       .nav-collapse.collapse {
+       &-inverse {
+
+               .dropdown-menu li > a:hover,
+               .dropdown-menu li > a:focus,
+               .dropdown-submenu:hover > a {
+                       background-image: none;
+                       background-color: @yellow;
+               }
+       }
+}
+
+@media (max-width: @navbarCollapseWidth) {
+
+       .navbar .nav-collapse {
 
                .nav li > a {
+
                        color: @textColor;
                        .border-radius(0);
 
@@ -130,36 +149,23 @@ footer.footer {
                }
        }
 
-       &-inverse {
+       .navbar-inverse .nav-collapse {
 
-               .dropdown-menu li > a:hover,
-               .dropdown-menu li > a:focus,
-               .dropdown-submenu:hover > a {
-                       background-image: none;
-                       background-color: @yellow;
-               }
-
-               .nav-collapse.collapse {
-
-                       .nav li > a:hover {
-                               background-color: lighten(@navbarInverseBackground, 10%);
-                       }
+               .nav li > a:hover,
+               .dropdown-menu a:hover {
+                       background-color: lighten(@navbarInverseBackground, 10%) !important;
                }
        }
 }
 
 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;
@@ -171,28 +177,183 @@ 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: @navbarHeight + 1;
+               margin: 0;
+       }
+}
+
+// NAV
+// -----------------------------------------------------
+
+.nav-tabs li.open > .dropdown-toggle,
+.nav-pills li.open > .dropdown-toggle {
+       background-color: #8AD5DC;
+       color: @linkColor;
+       border-color: transparent;
+}
+
+.nav-tabs, .nav-pills {
+       border-color: transparent;
+
+       li > a {
+               border-color: transparent;
+               .border-radius(0);
+               .box-shadow(0);
+       }
+
+       li.active > a,
+       li.active > a:hover {
+               color: @textColor;
+       }
+
+       li.active > a,
+       li > a:hover,
+       li.active > a:hover {
+               background-color: #8AD5DC;
+               border-color: transparent;
+               text-shadow: none;
+       }
+}
+
+.nav-tabs, .nav-tabs > li > a {
+       border-bottom: 1px solid rgba(255, 255, 255, 0.5);
+}
+
+.nav-tabs > li > a {
+       background-color: #3CB9C6;
+}
+
+.nav-tabs.nav-stacked {
+
+       li > a:first-child,
+       li > a:last-child {
+               .border-radius(0);
+       }
+
+       li > a,
+       li > a:hover,
+       li.active > a,
+       li.active > a:hover {
+               border-color: transparent;
+       }
+}
+
+.nav-list {
+
+       .nav-header {
+               text-shadow: none;
+               color: @textColor;
+       }
+
+       li > a {
+               text-shadow: none;
+       }
+
+       li.active > a,
+       li > a:hover,
+       li.active > a:hover {
+               background-color: #8AD5DC;
+               text-shadow: none;
+       }
+
+       .divider {
+               background-color: rgba(255, 255, 255, 0.3);
+               border-bottom: none;
+       }
+}
+
+.breadcrumb, .pager > li > a {
+       border-color: transparent;
+       .border-radius(0);
+       .box-shadow(none);
+       text-shadow: none;
+}
+
+.breadcrumb {
+       background-color: #3CB9C6;
+       background-image: none;
+
+       li {
+               text-shadow: none;
+       }
+
+       .active {
+               color: @white;
+       }
+
+       .divider {
+               color: @linkColor;
        }
 }
 
-div.subnav-fixed {
-       top: 50px;
+.pagination {
+
+       ul  {
+               background-color: @paginationBackground;
+               background-image: none;
+               .border-radius(0);
+       }
+
+       ul > li > a:hover {
+               background-color: rgba(255, 255, 255, 0.4);
+               color: @linkColor;
+       }
+
+       ul > li:first-child > a,
+       ul > li:last-child > a {
+               .border-radius(0);
+       }
+
+       ul > .disabled > a,
+       ul > .disabled > a:hover,
+       ul > .disabled > span,
+       ul > .disabled > span:hover {
+               color: @textColor;
+       }
+
+       ul > .active > a,
+       ul > .active > a:hover,
+       ul > .active > span,
+       ul > .active > span:hover {
+               background-color: rgba(255, 255, 255, 0.4);
+               color: @textColor;
+       }
+}
+
+.pager {
+
+       li > a {
+               background-color: #3CB9C6;
+
+               &:hover {
+                       background-color: #8AD5DC;
+               }
+       }
+
+       .disabled a,
+       .disabled a:hover {
+               background-color: #3CB9C6;
+               color: @white;
+       }
 }
 
 // BUTTONS
@@ -273,10 +434,6 @@ div.subnav-fixed {
        .buttonBackgroundCustom(@btnPrimaryBackground);
 }
 
-.btn-small {
-       padding: 13px 16px 12px;
-}
-
 [class^="icon-"], [class*=" icon-"] {
        margin-top: 2px;
        margin-right: 8px;
@@ -286,7 +443,7 @@ div.subnav-fixed {
        margin-top: 1px;
 }
 
-.add-on  [class^="icon-"] {
+.add-on [class^="icon-"] {
        margin-left: 5px;
 }
 
@@ -320,6 +477,10 @@ div.subnav-fixed {
 // FORMS
 // -----------------------------------------------------
 
+legend {
+       font-family: @headingsFontFamily;
+}
+
 legend, label, .help-block, .input-file {
        color: @textColor;
        border: 0px solid transparent;
@@ -384,199 +545,25 @@ input, textarea, .search-query, .uneditable-input,
        padding: 4px 10px;
 }
 
-// NAVIGATION
+// ALERTS, LABELS, BADGES
 // -----------------------------------------------------
 
-.breadcrumb, .pager > li > a {
-       border-color: transparent;
-       .border-radius(0);
-       .box-shadow(none);
-       text-shadow: none;
-}
-
-.breadcrumb {
-       background-color: #3CB9C6;
-       background-image: none;
+.alert {
 
-       li {
-               text-shadow: none;
-       }
-
-       .active {
-               color: @white;
-       }
-
-       .divider {
-               color: @linkColor;
-       }
-}
-
-.pager {
-
-       li > a {
-               background-color: #3CB9C6;
-
-               &:hover {
-                       background-color: #8AD5DC;
-               }
-       }
-
-       .disabled a,
-       .disabled a:hover {
-               background-color: #3CB9C6;
-               color: @white;
-       }
-}
-
-.pagination {
-
-       ul  {
-               background-color: @paginationBackground;
-               background-image: none;
-       }
-
-       .disabled a, .disabled a:hover {
-               color: @textColor;
-       }
-
-       li a:hover {
-               background-color: rgba(255, 255, 255, 0.4);
-               color: @linkColor;
-       }
-
-       .active a, .active a:hover {
-               background-color: rgba(255, 255, 255, 0.4);
+       h1, h2, h3, h4, h5, h6 {
                color: @textColor;
        }
-
-       ul,
-       li:first-child a,
-       li:last-child a {
-               .border-radius(0);
-       }
-
-}
-
-.nav-tabs li.open > .dropdown-toggle,
-.nav-pills li.open > .dropdown-toggle {
-       background-color: #8AD5DC;
-       color: @linkColor;
-       border-color: transparent;
 }
 
-.nav-tabs, .nav-pills {
-       border-color: transparent;
-
-       li > a {
-               border-color: transparent;
-               .border-radius(0);
-               .box-shadow(0);
-       }
-
-       li.active > a,
-       li:active > a,
-       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 {
-               background-color: #8AD5DC;
-               border-color: transparent;
-               text-shadow: none;
-       }
-}
-
-.nav-tabs, .nav-tabs > li > a {
-       border-bottom: 1px solid rgba(255, 255, 255, 0.5);
-}
-
-.nav-tabs > li > a {
-       background-color: #3CB9C6;
-}
-
-.nav-tabs.nav-stacked {
-
-       li > a:first-child,
-       li > a:last-child {
-               .border-radius(0);
-       }
-
-       li > a,
-       li > a:hover,
-       li.active > a,
-       li:active > a,
-       li.active > a:hover,
-       li:active > a:hover {
-               border-color: transparent;
-       }
-}
-
-.nav-list {
-       .nav-header {
-               text-shadow: none;
-               color: @textColor;
-       }
-
-       li > a {
-               text-shadow: none;
-       }
-
-       li.active > a,
-       li:active > a,
-       li > a:hover,
-       li.active > a:hover,
-       li:active > a:hover {
-               background-color: #8AD5DC;
-               text-shadow: none;
-       }
-
-       .divider {
-               background-color: rgba(255, 255, 255, 0.3);
-               border-bottom: none;
-       }
-}
-
-// MODALS
-// -----------------------------------------------------
-
-.modal {
-       .border-radius(0);
-}
-
-.modal-header {
-       color: @navbarBackground;
-}
-
-.modal-body {
-       color: @bodyBackground;
-}
-
-// MISCELLANEOUS
-// -----------------------------------------------------
-
-.alert, .label, .progress, .well, pre, code {
+.alert, .label {
        border-color: transparent;
        .border-radius(0);
        .box-shadow(none);
        text-shadow: none;
 }
 
-.hero-unit {
-       .border-radius(0);
-}
-
-code, pre {
-       background-color: rgba(255, 255, 255, 0.3);
-       padding: 2px;
-}
-
-.well {
-       background-image: none;
+.alert-heading {
+       color: @textColor;
 }
 
 .label, .label:hover {
@@ -605,15 +592,37 @@ code, pre {
        color: @textColor;
 }
 
-.alert-heading {
-       color: @textColor;
+// MISCELLANEOUS
+// -----------------------------------------------------
+
+.progress, .well, pre, code {
+       border-color: transparent;
+       .border-radius(0);
+       .box-shadow(none);
+       text-shadow: none;
+}
+
+.well {
+       background-image: none;
+}
+
+.hero-unit {
+       .border-radius(0);
+}
+
+.thumbnail {
+       border: 0 solid transparent;
+       .border-radius(0);
+       .box-shadow(none);
 }
 
 .progress {
+
        background-image: none;
        background-color: #27666D;
 
        .bar {
+
                .box-shadow(none);
                background-image: none;
                background-color: @yellow;
@@ -636,41 +645,76 @@ code, pre {
        background-image: none;
        background-color: #AD1D28;
 }
+
 .progress-danger.progress-striped .bar {
-  #gradient > .striped(#AD1D28);
+       #gradient > .striped(#AD1D28);
 }
 
 .progress-success .bar {
        background-image: none;
        background-color: @green;
 }
+
 .progress-success.progress-striped .bar {
-  #gradient > .striped(@green);
+       #gradient > .striped(@green);
 }
 
 .progress-info .bar {
        background-image: none;
        background-color: @blue;
 }
+
 .progress-info.progress-striped .bar {
-  #gradient > .striped(@blue);
+       #gradient > .striped(@blue);
 }
 
-.thumbnail {
-       border: 0px solid transparent;
+.modal {
+
        .border-radius(0);
-       .box-shadow(none);
-}
 
-blockquote {
+       &-header {
+               background-color: @navbarBackground;
+               color: @white;
+       }
 
-       border-left-color: lighten(#147E88, 12%);
+       &-body {
+               
+               color: @grayDark;
 
-       &.pull-right {
-               border-right-color: lighten(#147E88, 12%);
+               h1, h2, h3, h4, h5, h6,
+               legend {
+                       color: @red;
+               }
+
+               label,
+               .input-file {
+                       color: @grayDark;
+               }
+
+               .help-block,
+               .help-inline {
+                       color: @grayLight;
+               }
+
+               textarea,
+               input,
+               .uneditable-input {
+                       border: 1px solid @grayLight;
+               }
        }
+}
 
-       small {
-               color: rgba(255, 255, 255, 0.6);
+.popover {
+       
+       padding: 0;
+       .border-radius(0);
+       color: @grayDark;
+
+       .popover-title {
+               .border-radius(0);
+               color: @white;
        }
 }
+
+// MEDIA QUERIES
+// -----------------------------------------------------