3.0.0 -> 3.0.1
[bootswatch] / amelia / bootswatch.less
old mode 100755 (executable)
new mode 100644 (file)
index 3ae442c..e8bdc88
-// Bootswatch.less
-// Swatch: Amelia
-// Version: 2.0.2
+// Amelia 3.0.1
+// 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;
-}
-
-h6 {
-       color: @textColor;
-}
-
-h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
-       font-family: @baseFontFamily;
-       color: @textColor;
-}
-
-.muted {
-       color: rgba(255, 255, 255, 0.5);
-}
-
-// SCAFFOLDING
-// -----------------------------------------------------
-
-body {
-       #gradient > .radial(lighten(#0F8790, 7%), #0F8790);
-}
-
-hr {
-       border-bottom: 1px solid rgba(255, 255, 255, 0.3);
-}
-
-.page-header {
-       border-bottom: 0px solid transparent;
-}
-
-footer.footer {
-       border-top: 1px solid rgba(255, 255, 255, 0.3);
-       
-       p {
-               color: @textColor;      
-       }
-}
+@import url("//fonts.googleapis.com/css?family=Lobster|Cabin:400,700");
 
-// NAVBAR
-// -----------------------------------------------------
+// Navbar =====================================================================
 
 .navbar {
-       .navbar-inner {
-               .border-radius(0);
-       }
-       
-       .brand {
-               padding-top: 12px;
-               font-size: 24px;
-               font-weight: normal;
-       }
 
-       .nav > li > a {
-               padding-top: 17px;
-               padding-bottom: 14px;
-               text-shadow: none;
-       }
-       
-       .navbar-search {
-               margin-top: 10px;
-       }       
-       
-       .navbar-search .search-query {
-               border: 2px solid lighten(@navbarBackground, 10%);
-               .border-radius(0);
-               .box-shadow(none);
-               
-               &:focus, &.focus {
-                       background-color: @grayLighter;
-                       border-color: @grayLighter;
-                       text-shadow: none;
-                       padding: 4px 9px;
-                       .box-shadow(none);
-               }
-               
+       &-brand {
+               font-family: 'Lobster', cursive;
        }
 }
 
-div.subnav {
-       background-color: rgba(42, 99, 105, 0.9);
-       background-image: none;
-       border: 0px solid transparent;
-       .border-radius(0);
-       .box-shadow(none);
-       
-       .nav > li.dropdown.open > a {
-               border-color: transparent;
-               background-color: rgba(255, 255, 255, 0.4);
-       }
-       
-       .nav > li > a {
-               color: @textColor;
-               border-color: transparent;
-       }
-       
-       .nav > li:first-child > a,
-       .nav > li:first-child > a:hover {
-               .border-radius(0);
-       }
+// Buttons ====================================================================
 
-       .nav > .active > a {
-               background-color: transparent;
-               border-color: transparent;
-               color: @textColor;
-               .box-shadow(none);
-       }
-       
-       .nav > .active > a:hover,
-       .nav > li > a:hover,
-       .nav > li.active > a:hover, {
-               border-right-color: transparent;
-               background-color: rgba(255, 255, 255, 0.4);
-               color: @textColor;
-       }
+.btn {
        
-       .nav > li:first-child > a:hover {
-               border-left-color: rgba(255, 255, 255, 0.4);
-               border-left-width: 1px;
+       .caret {
+               border-top-color: #fff;
        }
 }
 
-div.subnav-fixed {
-       top: 50px;
-}
+.btn-default {
 
-.navbar .nav-collapse.in {
-       
-       .nav li > a {
-               color: @textColor;
-               .border-radius(0);
-       }
-       
-       li > a:hover {
-               background-color: lighten(@navbarBackground, 10%);
-       }
-       
-       .navbar-form, .navbar-search {
-               .box-shadow(none);
-               border-color: lighten(@navbarBackground, 10%);
-       }
-       
-       .navbar-search .search-query {
-               border: 2px solid @textColor;
+       &:hover {
+               color: @btn-default-color;
        }
-}
-
-// BUTTONS
-// -----------------------------------------------------
-
-.buttonBackgroundCustom(@color) {
-
-  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);
-  }
-
-  // IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves
-  &:active,
-  &.active {
-    background-color: darken(@color, 15%) e("\9");
-  }
-}
-
-.btn {
-       padding: 12px 16px;
-       .border-radius(0);
-       background-image: none;
-       text-shadow: none;
-       .box-shadow(none);
-       .buttonBackgroundCustom(@btnBackground)
-}
-
-.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;
-}
-
-.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;
-}
-
-.btn-group .dropdown-toggle,
-.btn-group.open .dropdown-toggle,
-.btn.open .dropdown-toggle {
-       .box-shadow(none);
-}
-
-.btn-primary {
-  .buttonBackgroundCustom(@btnPrimaryBackground);
-}
-
-.btn-info {
-  .buttonBackgroundCustom(@btnInfoBackground);
-}
-
-.btn-success {
-  .buttonBackgroundCustom(@btnSuccessBackground);
-}
-
-.btn-warning {
-  .buttonBackgroundCustom(@btnWarningBackground);
-}
-
-.btn-danger {
-  .buttonBackgroundCustom(@btnDangerBackground);
-}
-
-.btn-inverse {
-  .buttonBackgroundCustom(@btnInverseBackground);
-}
-
-.btn-small {
-       padding: 13px 16px 12px;
-}
-
-[class^="icon-"], [class*=" icon-"] {
-       margin-top: 2px;
-       margin-right: 8px;
-}
-
-.btn-small [class^="icon-"] {
-       margin-top: 1px;
-}
-
-.add-on  [class^="icon-"] {
-       margin-left: 5px;
-}
-
-// TABLES
-// -----------------------------------------------------
-
-.table th, .table td,
-.table tbody + tbody {
-       border-top: 0px solid transparent;
-}
-
-.table-bordered {
-       .border-radius(0);
-}
-
-// FORMS
-// -----------------------------------------------------
 
-legend, label, .help-block, .input-file {
-       color: @textColor;
-       border: 0px solid transparent;
-}
-
-input, textarea, .uneditable-input {
-       border: 0px solid transparent;
-       padding: 10px;
-}
-
-.uneditable-input {
-       padding-bottom: 30px;
+       .caret {
+               border-top-color: @btn-default-color;
+       }
 }
 
-select {
-       border: 0px solid transparent;
-}
+// Typography =================================================================
 
-button {
-       margin-left: 12px;
+.text-primary {
+       color: lighten(@brand-primary, 40%);
 }
 
-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);
+.text-success {
+       color: lighten(@brand-success, 20%);
 }
 
-.form-actions {
-       background-color: transparent;
-       border-top: 0px solid transparent;
+.text-danger {
+       color: lighten(@brand-danger, 20%);
 }
 
-.control-group.warning > label,
-.control-group.warning .help-inline {
-       color: lighten(@orange, 30%);
+.text-warning {
+       color: lighten(@brand-warning, 20%);
 }
 
-.control-group.error > label,
-.control-group.error .help-inline {
-       color: lighten(@linkColor, 10%);
+.text-info {
+       color: lighten(@brand-info, 40%);
 }
 
-.control-group.success > label,
-.control-group.success .help-inline {
-       color: lighten(@green, 20%);
-}
+// Tables =====================================================================
 
-.input-prepend .add-on, .input-append .add-on {
-       height: 25px;
-       padding-top: 9px;
-       background-color: @grayLighter;
-       border-color: transparent;
-       .border-radius(0);
-       color: @gray;
-       text-shadow: none;
+.table-responsive > .table {
+       background-color: @table-bg;
 }
 
-// NAVIGATION
-// -----------------------------------------------------
-
-.breadcrumb, .pager > li > a {
-       border-color: transparent;
-       .border-radius(0);
-       .box-shadow(none);
-       text-shadow: none;
-}
+// Forms ======================================================================
 
-.breadcrumb {
-       background-color: #3CB9C6;
-       background-image: none;
-       
-       li {
-               text-shadow: none;
+.has-warning {
+       .help-block,
+       .control-label {
+               color: lighten(@brand-warning, 20%);
        }
-       
-       .divider {
-               color: @linkColor;
-       }
-}
 
-.pager > li > a {
-       background-color: #3CB9C6;
-
-       &:hover {
-               background-color: #8AD5DC;
+       .form-control,
+       .form-control:focus {
+               border-color: lighten(@brand-warning, 20%);
        }
 }
 
-.pagination {
-       
-       ul  {
-               background-color: #3CB9C6;
-               background-image: none;
-       }
-
-       li a {
-               border: 0px solid transparent;
+.has-error {
+       .help-block,
+       .control-label {
+               color: lighten(@brand-primary, 40%);
        }
 
-       .disabled a, .disabled a:hover {
-               color: @textColor;
-       }
-       
-       li a:hover {
-               background-color: rgba(255, 255, 255, 0.4);
-               color: @linkColor;
+       .form-control,
+       .form-control:focus {
+               border-color: lighten(@brand-primary, 40%);
        }
-       
-       .active a, .active a:hover {
-               background-color: rgba(255, 255, 255, 0.4);
-               color: @textColor;
-       }
-
-       ul,
-       li:first-child a,
-       li:last-child a {
-               .border-radius(0);
-       }
-
 }
 
-.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);
+.has-success {
+       .help-block,
+       .control-label {
+               color: lighten(@brand-success, 20%);
        }
-       
-       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);
+       .form-control,
+       .form-control:focus {
+               border-color: lighten(@brand-success, 20%);
        }
-       
-       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;
-       }
-}
-
-// MODALS
-// -----------------------------------------------------
-
-.modal {
-       .border-radius(0);
-}
-
-.modal-header {
-       color: @navbarBackground;
 }
 
-.modal-body {
-       color: @bodyBackground;
+legend {
+       font-family: 'Lobster', cursive;
+       color: #fff;
 }
 
-// MISCELLANEOUS
-// -----------------------------------------------------
-
-.alert, .label, .progress, .well, pre, code {
-       border-color: transparent;
-       .border-radius(0);
-       .box-shadow(none);
-       text-shadow: none;
+.input-group-addon {
+       color: @btn-default-color;
 }
 
-.hero-unit {
-       .border-radius(0);
-}
+// Navs =======================================================================
 
-code, pre {
-       background-color: rgba(255, 255, 255, 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;
-}
+.pagination {
 
-.label-info, .label-info:hover, .alert-info {
-       background-color: @purple;
-       color: @textColor;
+       a:hover {
+               color: #fff;
+       }
 }
 
-.alert-heading {
-       color: @textColor;
-}
+.pager {
 
-.progress {
-       background-image: none;
-       background-color: #27666D;
-       
-       .bar {
-               .box-shadow(none);
-               background-image: none;
-               background-color: @orange;
+       a:hover {
+               color: #fff;
        }
 }
 
-.progress-danger .bar {
-       background-image: none;
-       background-color: #AD1D28;
-}
-.progress-danger.progress-striped .bar {
-  #gradient > .striped(#AD1D28);
-}
+// Indicators =================================================================
 
-.progress-success .bar {
-       background-image: none;
-       background-color: @green;
-}
-.progress-success.progress-striped .bar {
-  #gradient > .striped(@green);
-}
+// Progress bars ==============================================================
 
-.progress-info .bar {
-       background-image: none;
-       background-color: @blue;
-}
-.progress-info.progress-striped .bar {
-  #gradient > .striped(@blue);
-}
+// Containers =================================================================
 
-.thumbnail {
-       border: 0px solid transparent;
-       .border-radius(0);
-       .box-shadow(none);
+.list-group-item {
+       background-color: lighten(@body-bg, 5%);
 }
 
-blockquote {
-
-       border-left-color: lighten(#147E88, 12%);
-
-       &.pull-right {
-               border-right-color: lighten(#147E88, 12%);
-       }
-
-       small {
-               color: rgba(255, 255, 255, 0.6);
-       }
+.popover {
+       color: @gray-dark;
 }