mod/bootstrap/vendor/bootswatch/docs/3/slate/_bootswatch.scss in card-1.97.0 vs mod/bootstrap/vendor/bootswatch/docs/3/slate/_bootswatch.scss in card-1.97.0.1

- old
+ new

@@ -1,6 +1,6 @@ -// Slate 3.3.7 +// Slate 3.4.1 // Bootswatch // ----------------------------------------------------- @mixin btn-shadow($color){ @include gradient-vertical-three-colors(lighten($color, 6%), $color, 60%, darken($color, 4%)); @@ -13,50 +13,25 @@ } // Navbar ===================================================================== .navbar { - &-default, - &-inverse { - border: 1px solid rgba(0, 0, 0, 0.6); - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - @media (min-width: $grid-float-breakpoint) { - .navbar-nav > li > a { - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(255, 255, 255, 0.1); + @include 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); - &:hover { - border-left-color: transparent; - } - } + .navbar-nav > li > a { + border-right: 1px solid rgba(0, 0, 0, 0.2); + border-left: 1px solid rgba(255, 255, 255, 0.1); - .nav .open > a { - border-color: transparent; - } - - .navbar-nav > li.active > a { - border-left-color: transparent; - } - - .navbar-form { - margin-left: 5px; - margin-right: 5px; - } + &:hover { + @include btn-shadow-inverse($navbar-default-bg); + border-left-color: transparent; } } - &-default { - @include btn-shadow($navbar-default-bg); - - .navbar-nav > li > a { - &:hover { - @include btn-shadow-inverse($navbar-default-bg); - } - } - } - &-inverse { @include btn-shadow($navbar-inverse-bg); .badge { background-color: $navbar-inverse-link-active-bg; @@ -67,10 +42,23 @@ &:hover { @include btn-shadow-inverse($navbar-inverse-bg); } } } + + .nav .open > a { + border-color: transparent; + } + + &-nav > li.active > a { + border-left-color: transparent; + } + + &-form { + margin-left: 5px; + margin-right: 5px; + } } // Buttons ==================================================================== .btn, @@ -218,10 +206,11 @@ .form-control:focus { border-color: $brand-warning; } .input-group-addon { + background-color: $gray-dark; border-color: $input-group-addon-border-color; } } .has-error { @@ -243,10 +232,11 @@ .form-control:focus { border-color: $brand-danger; } .input-group-addon { + background-color: $gray-dark; border-color: $input-group-addon-border-color; } } .has-success { @@ -268,18 +258,20 @@ .form-control:focus { border-color: $brand-success; } .input-group-addon { + background-color: $gray-dark; border-color: $input-group-addon-border-color; } } legend { color: #fff; } .input-group-addon { + background-color: $gray-dark; @include btn-shadow($btn-default-bg); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); color: $btn-default-color; } \ No newline at end of file