2.3.0+2 -> 2.3.1
[bootswatch] / amelia / bootswatch.less
index 7592d4e..eccf146 100755 (executable)
@@ -1,58 +1,72 @@
-// Bootswatch.less
-// Swatch: Amelia
+// Amelia 2.3.1
+// Bootswatch
 // -----------------------------------------------------
 
+
 // TYPOGRAPHY
 // -----------------------------------------------------
 
-@import url('http://fonts.googleapis.com/css?family=Cabin:400,700');
+@import url('//fonts.googleapis.com/css?family=Lobster|Cabin:400,700');
 
-h1, h2, h3, h4, h5, h6,
-h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
+h6 {
        color: @textColor;
-       font-weight: normal;
 }
 
-input, button, select, textarea,
-.navbar-search .search-query {
+h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
        font-family: @baseFontFamily;
+       color: @textColor;
 }
 
-.muted {
-       color: rgba(256, 256, 256, 0.5);
+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);
+}
 
 // SCAFFOLDING
 // -----------------------------------------------------
 
 body {
-       background-color: #4397A2;
        #gradient > .radial(lighten(#0F8790, 7%), #0F8790);
 }
 
 hr {
-       border-bottom: 1px solid rgba(256, 256, 256, 0.3);
+       border-bottom: none;
 }
 
 .page-header {
+       margin: 30px 0 15px;
        border-bottom: 0px solid transparent;
 }
 
-footer.footer {
-       border-top: 1px solid rgba(256, 256, 256, 0.3);
-}
-
 // NAVBAR
 // -----------------------------------------------------
 
 .navbar {
+
        .navbar-inner {
                .border-radius(0);
        }
-       
+
        .brand {
-               padding-top: 12px;
+               padding: 15px 20px 14px;
+               font-family: @headingsFontFamily;
                font-size: 24px;
                font-weight: normal;
        }
@@ -61,96 +75,289 @@ footer.footer {
                padding-top: 17px;
                padding-bottom: 14px;
                text-shadow: none;
-               color: @textColor;
-       }
-       
-       .nav > li.active > a {
-               color: @white;
-               background-color: lighten(@navbarBackground, 10%);
        }
-       
-       .nav > li > a:hover,
-       .nav > li.active > a:hover {
-               background-color: lighten(@navbarBackground, 10%);
+
+       .nav > .active > a,
+       .nav > .active > a:hover,
+       .navbar .nav > .active > a:focus {
+               .box-shadow(none);
        }
-       
+
        .navbar-search {
                margin-top: 10px;
-       }       
-       
+       }
+
        .navbar-search .search-query {
-               border: 2px solid lighten(@navbarBackground, 10%);
-               background-color: transparent;
                .border-radius(0);
-               .box-shadow(none);
-               
-               &:focus, &.focus {
-                       background-color: @grayLighter;
-                       border-color: @grayLighter;
-                       text-shadow: none;
-                       padding: 4px 9px;
-                       .box-shadow(none);
+               padding-top: 5px;
+               padding-bottom: 5px;
+       }
+
+       .navbar-text {
+               margin: 17px 15px 14px;
+               line-height: 20px;
+       }
+
+       .btn,
+       .btn-group {
+               padding: 4px;
+       }
+
+       &-inverse {
+
+               .dropdown-menu li > a:hover,
+               .dropdown-menu li > a:focus,
+               .dropdown-submenu:hover > a {
+                       background-image: none;
+                       background-color: @yellow;
                }
-               
        }
 }
 
-.navbar .nav > li.dropdown.open > .dropdown-menu a:hover,
-div.subnav .nav > li.dropdown.open > .dropdown-menu a:hover,
-.dropdown-menu > li > a:hover,
-.nav .dropdown.open > .dropdown-menu > li > a:hover {
-       background-color: rgba(0, 57, 59, 0.9);
+@media (max-width: @navbarCollapseWidth) {
+
+       .navbar .nav-collapse {
+
+               .nav li > a {
+
+                       color: @textColor;
+                       .border-radius(0);
+
+                       &:hover {
+                               background-color: lighten(@navbarBackground, 10%);
+                       }
+               }
+
+               .dropdown-menu li > a:hover,
+               .dropdown-menu li > a:focus,
+               .dropdown-submenu:hover > a {
+                       background-image: none;
+               }
+
+               .navbar-form,
+               .navbar-search {
+                       .box-shadow(none);
+                       border: none;
+               }
+
+               .navbar-search .search-query {
+                       border: 2px solid @textColor;
+               }
+
+               .nav-header {
+                       color: rgba(255, 255, 255, 0.5);
+               }
+       }
+
+       .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;
+               }
+       }
 }
 
 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.dropdown.open > a {
-               border-color: transparent;
-               background-color: rgba(256, 256, 256, 0.4);
-       }
-       
+
        .nav > li > a {
                color: @textColor;
                border-color: transparent;
        }
-       
-       .nav > .active > a,
-       .nav > .active > a:hover,
+
+       .nav > li:first-child > a,
+       .nav > li:first-child > a:hover {
+               .border-radius(0);
+       }
+
+       .nav > .active > a {
+               background-color: rgba(255, 255, 255, 0.4);
+               border-color: transparent;
+               color: @textColor;
+               .box-shadow(none);
+       }
+
        .nav > li > a:hover,
-       .nav > li.active > a:hover, {
+       .nav > .active > a:hover, {
                border-right-color: transparent;
-               background-color: rgba(256, 256, 256, 0.4);
+               background-color: rgba(255, 255, 255, 0.4);
                color: @textColor;
        }
+
+       .nav > li.open > a {
+               border-color: transparent;
+               background-color: rgba(255, 255, 255, 0.4);
+       }
+
+       &-fixed {
+               top: @navbarHeight + 1;
+               margin: 0;
+       }
 }
 
-div.subnav-fixed {
-       top: 50px;
+// NAV
+// -----------------------------------------------------
+
+.nav-tabs li.open > .dropdown-toggle,
+.nav-pills li.open > .dropdown-toggle {
+       background-color: #8AD5DC;
+       color: @linkColor;
+       border-color: transparent;
 }
 
-.navbar .nav-collapse.collapse {
-       
+.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:hover {
-               background-color: lighten(@navbarBackground, 10%);
+
+       li > a,
+       li > a:hover,
+       li.active > a,
+       li.active > a:hover {
+               border-color: transparent;
        }
-       
-       .navbar-form, .navbar-search {
-               .box-shadow(none);
-               border-color: lighten(@navbarBackground, 10%);
+}
+
+.nav-list {
+
+       .nav-header {
+               text-shadow: none;
+               color: @textColor;
        }
-       
-       .navbar-search .search-query {
-               border: 2px solid @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;
+       }
+}
+
+.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;
        }
 }
 
@@ -159,14 +366,14 @@ div.subnav-fixed {
 
 .buttonBackgroundCustom(@color) {
 
-  background-image: none;
   background-color: @color;
+  border-color: transparent;
 
   &:hover, &:active, &.active, &.disabled, &[disabled] {
     background-color: darken(@color, 5%);
        text-shadow: none;
   }
-  
+
   &:active, &.active {
     background-color: darken(@color, 15%);
        .box-shadow(none);
@@ -182,30 +389,32 @@ div.subnav-fixed {
 .btn {
        padding: 12px 16px;
        .border-radius(0);
-       border: 0px solid transparent;
+       background-image: none;
        text-shadow: none;
        .box-shadow(none);
-       .buttonBackgroundCustom(@grayLighter);
+       .buttonBackgroundCustom(@btnBackground)
+}
+
+.btn-large {
+       padding: @paddingLarge;
+}
+
+.btn-small {
+       padding: @paddingSmall;
+}
+
+.btn-mini {
+       padding: @paddingMini;
 }
 
 .btn-group .btn:first-child {
-  margin-left: 0;
-     -webkit-border-top-left-radius: 0;
-         -moz-border-radius-topleft: 0;
-             border-top-left-radius: 0;
-  -webkit-border-bottom-left-radius: 0;
-      -moz-border-radius-bottomleft: 0;
-          border-bottom-left-radius: 0;
+       margin-left: 0;
+       .border-radius(0);
 }
 
 .btn-group .btn:last-child,
 .btn-group .dropdown-toggle {
-     -webkit-border-top-right-radius: 0;
-         -moz-border-radius-topright: 0;
-             border-top-right-radius: 0;
-  -webkit-border-bottom-right-radius: 0;
-      -moz-border-radius-bottomright: 0;
-          border-bottom-right-radius: 0;
+     .border-radius(0);
 }
 
 .btn-group .dropdown-toggle,
@@ -214,60 +423,45 @@ div.subnav-fixed {
        .box-shadow(none);
 }
 
-
-.btn-warning .caret {
-       opacity: 0.75;
-       border-top-color: @white;
-}
-
 .btn-primary {
-  .buttonBackgroundCustom(#AD1D28);
+  .buttonBackgroundCustom(@btnPrimaryBackground);
 }
 
-.btn-warning {
-  .buttonBackgroundCustom(@orange);
-}
-
-.btn-danger {
-  .buttonBackgroundCustom(darken(@yellow, 3%));
+.btn-info {
+  .buttonBackgroundCustom(@btnInfoBackground);
 }
 
 .btn-success {
-  .buttonBackgroundCustom(@green);
+  .buttonBackgroundCustom(@btnSuccessBackground);
 }
 
-.btn-info {
-  .buttonBackgroundCustom(@purple);
+.btn-warning {
+  .buttonBackgroundCustom(@btnWarningBackground);
 }
 
-.btn-inverse {
-  .buttonBackgroundCustom(#27666D);
+.btn-danger {
+  .buttonBackgroundCustom(@btnDangerBackground);
 }
 
-.btn-small {
-       padding: 13px 16px 12px;
+.btn-inverse {
+  .buttonBackgroundCustom(@btnInverseBackground);
 }
 
-[class^="icon-"], [class*=" icon-"] {
-       margin-top: 2px;
-       margin-right: 8px;
+.btn-link {
+       .buttonBackgroundCustom(@btnPrimaryBackground);
 }
 
 .btn-small [class^="icon-"] {
        margin-top: 1px;
 }
 
-.add-on  [class^="icon-"] {
+.add-on [class^="icon-"] {
        margin-left: 5px;
 }
 
 // TABLES
 // -----------------------------------------------------
 
-.table {
-       background-color: lighten(#147E88, 10%);
-}
-
 .table th, .table td,
 .table tbody + tbody {
        border-top: 0px solid transparent;
@@ -275,51 +469,48 @@ div.subnav-fixed {
 
 .table-bordered {
        .border-radius(0);
-    border: 1px solid lighten(#147E88, 12%);
-       
-       th, td {
-      border-top: 1px solid lighten(#147E88, 12%);
-       }
-       
-    th + th,
-    td + td,
-    th + td,
-    td + th {
-      border-left: 1px solid lighten(#147E88, 12%);
-    }
-       
 }
 
-.table-striped {
-  tbody {
-    tr:nth-child(odd) td,
-    tr:nth-child(odd) th {
-               background-color: lighten(#147E88, 15%);
-    }
-  }
-}
+.table tbody {
 
-.table {
-  tbody tr:hover td,
-  tbody tr:hover th {
-               background-color: rgba(256, 256, 256, 0.4);
-  }
-}
+       tr.success td {
+               background-color: @green;
+       }
 
+       tr.error td {
+               background-color: @red;
+       }
+
+       tr.info td {
+               background-color: @blue;
+       }
+}
 
 // FORMS
 // -----------------------------------------------------
 
+legend {
+       font-family: @headingsFontFamily;
+}
+
 legend, label, .help-block, .input-file {
        color: @textColor;
        border: 0px solid transparent;
 }
 
-input, textarea, select, .uneditable-input {
+input, textarea, .uneditable-input {
        border: 0px solid transparent;
        padding: 10px;
 }
 
+.uneditable-input {
+       padding-bottom: 30px;
+}
+
+select {
+       border: 0px solid transparent;
+}
+
 button {
        margin-left: 12px;
 }
@@ -328,242 +519,148 @@ input, textarea, .search-query, .uneditable-input,
 .input-append input, .input-append .uneditable-input,
 .input-prepend input, .input-prepend .uneditable-input {
        border-color: transparent;
-       .border-radius(0);
        .box-shadow(none);
 }
 
 .form-actions {
-       background-color: transparent;
        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, .input-append .add-on {
-       height: 25px;
-       padding-top: 9px;
-       text-shadow: none;
+.input-prepend .add-on,
+.input-append .add-on {
+       height: 20px;
+       padding-top: 4px;
+       background-color: @grayLighter;
        border-color: transparent;
        .border-radius(0);
-       background-color: @grayLighter;
+       color: @gray;
+       text-shadow: none;
+}
+
+.input-append .btn,
+.input-prepend .btn {
+       padding: 4px 10px;
 }
 
-// NAVIGATION
+// ALERTS, LABELS, BADGES
 // -----------------------------------------------------
 
-.breadcrumb, .pager > li > a {
+.alert {
+
        border-color: transparent;
        .border-radius(0);
        .box-shadow(none);
        text-shadow: none;
-}
 
-.breadcrumb {
-       background-color: #3CB9C6;
-       background-image: none;
-       
-       li {
-               text-shadow: none;
-       }
-       
-       .divider {
-               color: @linkColor;
+       h1, h2, h3, h4, h5, h6 {
+               color: @textColor;
        }
-}
-
-.pager > li > a {
-       background-color: #3CB9C6;
 
-       &:hover {
-               background-color: #8AD5DC;
+       &-heading {
+               color: @textColor;
        }
 }
 
-.pagination {
-       
-       ul  {
-               background-color: #3CB9C6;
-               background-image: none;
-       }
+.label,
+.badge {
 
-       li a {
-               border: 0px solid transparent;
-       }
+       background-color: @blue;
 
-       .disabled a, .disabled a:hover {
-               color: @textColor;
-       }
-       
-       li a:hover {
-               background-color: rgba(256, 256, 256, 0.4);
-               color: @linkColor;
-       }
-       
-       .active a, .active a:hover {
-               background-color: rgba(256, 256, 256, 0.4);
-               color: @textColor;
+       &-success {
+               background-color: @green;
        }
 
-       ul,
-       li:first-child a,
-       li:last-child a {
-               .border-radius(0);
+       &-important {
+               background-color: @red;
        }
 
-}
-
-.nav-tabs .dropdown.open > .dropdown-toggle,
-.nav-pills .dropdown.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;
+       &-warning {
+               background-color: @orange;
        }
-}
-
-.nav-tabs, .nav-tabs > li > a {
-       border-bottom: 1px solid rgba(256, 256, 256, 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;
+       &-info {
+               background-color: @purple;
        }
-}
 
-.nav-list {
-       .nav-header {
-               text-shadow: none;
-               color: @textColor;
-       }
-       
-       li > a {
-               text-shadow: none;
+       &-inverse {
+               background-color: @btnInverseBackground;
        }
 
-       li.active > a,
-       li:active > a,
-       li > a:hover,
-       li.active > a:hover,
-       li:active > a:hover {
-               background-color: #8AD5DC;
-               text-shadow: none;
-       }
 }
 
-
-
 // MISCELLANEOUS
 // -----------------------------------------------------
 
-.alert, .label, .progress, .well, pre, code {
+.progress, .well, pre, code {
        border-color: transparent;
        .border-radius(0);
        .box-shadow(none);
        text-shadow: none;
 }
 
-code, pre {
-       background-color: rgba(256, 256, 256, 0.3);
-       padding: 2px;
-}
-
 .well {
-       background-color: #3CB9C6;
        background-image: none;
 }
 
-.label, .label:hover {
-       background-color: @grayLighter;
-       text-shadow: none;
-       color: @grayDark;
-}
-
-.label-warning, .label-warning:hover, .alert {
-       background-color: @orange;
-       color: @textColor;
-}
-
-.label-important, .label-important:hover, .alert-error {
-       background-color: darken(@yellow, 3%);
-       color: @textColor;
-}
-
-.label-success, .label-success:hover, .alert-success {
-       background-color: @green;
-       color: @textColor;
-}
-
-.label-info, .label-info:hover, .alert-info {
-       background-color: @purple;
-       color: @textColor;
+.hero-unit {
+       .border-radius(0);
 }
 
-.alert-heading {
-       color: @textColor;
+.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: @orange;
+               background-color: @yellow;
+
+               &-success {
+                       background-color: @green;
+               }
+
+               &-warning {
+                       background-color: @orange;
+               }
+
+               &-error {
+                       background-color: @red;
+               }
        }
 }
 
@@ -571,41 +668,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(256, 256, 256, 0.6);
+.popover {
+       
+       padding: 0;
+       .border-radius(0);
+       color: @grayDark;
+
+       .popover-title {
+               .border-radius(0);
+               color: @white;
        }
-}
\ No newline at end of file
+}
+
+// MEDIA QUERIES
+// -----------------------------------------------------