diff options
Diffstat (limited to 'slate')
-rw-r--r-- | slate/bootswatch.less | 340 |
1 files changed, 170 insertions, 170 deletions
diff --git a/slate/bootswatch.less b/slate/bootswatch.less index d02cc947..bc6f3482 100644 --- a/slate/bootswatch.less +++ b/slate/bootswatch.less @@ -3,313 +3,313 @@ // ----------------------------------------------------- .btn-shadow(@color) { - #gradient > .vertical-three-colors(lighten(@color, 6%), @color, 60%, darken(@color, 4%)); - filter: none; + #gradient > .vertical-three-colors(lighten(@color, 6%), @color, 60%, darken(@color, 4%)); + filter: none; } .btn-shadow-inverse(@color) { - #gradient > .vertical-three-colors(darken(@color, 24%), darken(@color, 18%), 40%, darken(@color, 14%)); - filter: none; + #gradient > .vertical-three-colors(darken(@color, 24%), darken(@color, 18%), 40%, darken(@color, 14%)); + filter: none; } // Navbar ===================================================================== .navbar { - .btn-shadow(@navbar-default-bg); - border: 1px solid rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + .btn-shadow(@navbar-default-bg); + border: 1px solid rgba(0, 0, 0, 0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - &-inverse { - .btn-shadow(@navbar-inverse-bg); - } + &-inverse { + .btn-shadow(@navbar-inverse-bg); + } - &-nav > li > a { - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(255, 255, 255, 0.1); + &-nav > li > a { + border-right: 1px solid rgba(0, 0, 0, 0.2); + border-left: 1px solid rgba(255, 255, 255, 0.1); - &:hover { - .btn-shadow-inverse(@navbar-default-bg); - border-left-color: transparent; - } - } + &:hover { + .btn-shadow-inverse(@navbar-default-bg); + border-left-color: transparent; + } + } - .nav .open > a { - border-color: transparent; - } + .nav .open > a { + border-color: transparent; + } - &-nav > li.active > a { - border-left-color: transparent; - } + &-nav > li.active > a { + border-left-color: transparent; + } - &-form { - margin-left: 5px; - margin-right: 5px; - } + &-form { + margin-left: 5px; + margin-right: 5px; + } } // Buttons ==================================================================== .btn, .btn:hover { - border-color: rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + border-color: rgba(0, 0, 0, 0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); } .btn-default { - .btn-shadow(@btn-default-bg); + .btn-shadow(@btn-default-bg); - &:hover { - .btn-shadow-inverse(@btn-default-bg); - } + &:hover { + .btn-shadow-inverse(@btn-default-bg); + } } .btn-primary { - .btn-shadow(@btn-primary-bg); + .btn-shadow(@btn-primary-bg); - &:hover { - .btn-shadow-inverse(@btn-primary-bg); - } + &:hover { + .btn-shadow-inverse(@btn-primary-bg); + } } .btn-success { - .btn-shadow(@btn-success-bg); + .btn-shadow(@btn-success-bg); - &:hover { - .btn-shadow-inverse(@btn-success-bg); - } + &:hover { + .btn-shadow-inverse(@btn-success-bg); + } } .btn-info { - .btn-shadow(@btn-info-bg); + .btn-shadow(@btn-info-bg); - &:hover { - .btn-shadow-inverse(@btn-info-bg); - } + &:hover { + .btn-shadow-inverse(@btn-info-bg); + } } .btn-warning { - .btn-shadow(@btn-warning-bg); + .btn-shadow(@btn-warning-bg); - &:hover { - .btn-shadow-inverse(@btn-warning-bg); - } + &:hover { + .btn-shadow-inverse(@btn-warning-bg); + } } .btn-danger { - .btn-shadow(@btn-danger-bg); + .btn-shadow(@btn-danger-bg); - &:hover { - .btn-shadow-inverse(@btn-danger-bg); - } + &:hover { + .btn-shadow-inverse(@btn-danger-bg); + } } .btn-link, .btn-link:hover { - border-color: transparent; + border-color: transparent; } // Typography ================================================================= h1, h2, h3, h4, h5, h6 { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); } .text-primary, .text-primary:hover { - color: @brand-primary; + color: @brand-primary; } .text-success, .text-success:hover { - color: @brand-success; + color: @brand-success; } .text-danger, .text-danger:hover { - color: @brand-danger; + color: @brand-danger; } .text-warning, .text-warning:hover { - color: @brand-warning; + color: @brand-warning; } .text-info, .text-info:hover { - color: @brand-info; + color: @brand-info; } // Tables ===================================================================== .table { - tr.success, - tr.warning, - tr.danger { - color: #fff; - } + tr.success, + tr.warning, + tr.danger { + color: #fff; + } - &-bordered tbody { + &-bordered tbody { - tr.success, - tr.warning, - tr.danger { + tr.success, + tr.warning, + tr.danger { - td, - &:hover td { - border-color: @table-border-color; - } - } - } + td, + &:hover td { + border-color: @table-border-color; + } + } + } } .table-responsive > .table { - background-color: @table-bg; + background-color: @table-bg; } // Forms ====================================================================== .has-warning { - .help-block, - .control-label { - color: @brand-warning; - } + .help-block, + .control-label { + color: @brand-warning; + } - .form-control, - .form-control:focus { - border-color: @brand-warning; - } + .form-control, + .form-control:focus { + border-color: @brand-warning; + } } .has-error { - .help-block, - .control-label { - color: @brand-danger; - } + .help-block, + .control-label { + color: @brand-danger; + } - .form-control, - .form-control:focus { - border-color: @brand-danger; - } + .form-control, + .form-control:focus { + border-color: @brand-danger; + } } .has-success { - .help-block, - .control-label { - color: @brand-success; - } + .help-block, + .control-label { + color: @brand-success; + } - .form-control, - .form-control:focus { - border-color: @brand-success; - } + .form-control, + .form-control:focus { + border-color: @brand-success; + } } legend { - color: #fff; + color: #fff; } .input-group-addon { - border-color: rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - .btn-shadow(@btn-default-bg); - color: @btn-default-color; + border-color: rgba(0, 0, 0, 0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + .btn-shadow(@btn-default-bg); + color: @btn-default-color; } // Navs ======================================================================= .nav { - .open > a, - .open > a:hover, - .open > a:focus { - border-color: rgba(0, 0, 0, 0.6); - } + .open > a, + .open > a:hover, + .open > a:focus { + border-color: rgba(0, 0, 0, 0.6); + } } .nav-pills { - & > li > a { - .btn-shadow(@btn-default-bg); - border: 1px solid rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + & > li > a { + .btn-shadow(@btn-default-bg); + border: 1px solid rgba(0, 0, 0, 0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - &:hover { - .btn-shadow-inverse(@btn-default-bg); - border: 1px solid rgba(0, 0, 0, 0.6); - } - } + &:hover { + .btn-shadow-inverse(@btn-default-bg); + border: 1px solid rgba(0, 0, 0, 0.6); + } + } - & > li.active > a, - & > li.active > a:hover { - background-color: none; - .btn-shadow-inverse(@btn-default-bg); - border: 1px solid rgba(0, 0, 0, 0.6); - } + & > li.active > a, + & > li.active > a:hover { + background-color: none; + .btn-shadow-inverse(@btn-default-bg); + border: 1px solid rgba(0, 0, 0, 0.6); + } - & > li.disabled > a, - & > li.disabled > a:hover { - .btn-shadow(@btn-default-bg); - } + & > li.disabled > a, + & > li.disabled > a:hover { + .btn-shadow(@btn-default-bg); + } } .pagination { - & > li > a { - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - .btn-shadow(@btn-default-bg); + & > li > a { + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + .btn-shadow(@btn-default-bg); - &:hover { - .btn-shadow-inverse(@btn-default-bg); - } - } + &:hover { + .btn-shadow-inverse(@btn-default-bg); + } + } - & > li.active > a { - .btn-shadow-inverse(@btn-default-bg); - } + & > li.active > a { + .btn-shadow-inverse(@btn-default-bg); + } - & > li.disabled > a, - & > li.disabled > a:hover { - background-color: transparent; - .btn-shadow(@btn-default-bg); - } + & > li.disabled > a, + & > li.disabled > a:hover { + background-color: transparent; + .btn-shadow(@btn-default-bg); + } } .pager { - & > li > a { - .btn-shadow(@btn-default-bg); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + & > li > a { + .btn-shadow(@btn-default-bg); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - &:hover { - .btn-shadow-inverse(@btn-default-bg); - } - } + &:hover { + .btn-shadow-inverse(@btn-default-bg); + } + } - & > li.disabled > a, - & > li.disabled > a:hover { - background-color: transparent; - .btn-shadow(@btn-default-bg); - } + & > li.disabled > a, + & > li.disabled > a:hover { + background-color: transparent; + .btn-shadow(@btn-default-bg); + } } .breadcrumb { - border: 1px solid rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - .btn-shadow(@btn-default-bg); + border: 1px solid rgba(0, 0, 0, 0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); + .btn-shadow(@btn-default-bg); } // Indicators ================================================================= .alert { - .alert-link, - a { - color: #fff; - text-decoration: underline; - } + .alert-link, + a { + color: #fff; + text-decoration: underline; + } } // Progress bars ============================================================== @@ -317,11 +317,11 @@ legend { // Containers ================================================================= .jumbotron { - border: 1px solid rgba(0, 0, 0, 0.6); + border: 1px solid rgba(0, 0, 0, 0.6); } .list-group-item { - background-color: lighten(@body-bg, 5%); + background-color: lighten(@body-bg, 5%); } .panel-primary, @@ -330,7 +330,7 @@ legend { .panel-warning, .panel-info { - .panel-heading { - border-color: #000; - } + .panel-heading { + border-color: #000; + } }
\ No newline at end of file |