mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
Fixed border radius var name and .show target
This commit is contained in:
parent
42da2b9556
commit
2a09f10676
@ -66,7 +66,7 @@
|
|||||||
.btn-check:active + &,
|
.btn-check:active + &,
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
.show > &.dropdown-toggle {
|
&.show {
|
||||||
color: var(--#{$variable-prefix}btn-active-color);
|
color: var(--#{$variable-prefix}btn-active-color);
|
||||||
background-color: var(--#{$variable-prefix}btn-active-bg);
|
background-color: var(--#{$variable-prefix}btn-active-bg);
|
||||||
// Remove CSS gradients if they're enabled
|
// Remove CSS gradients if they're enabled
|
||||||
|
@ -65,6 +65,6 @@
|
|||||||
@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
|
@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
|
||||||
--#{$variable-prefix}btn-padding: #{$padding-y} #{$padding-x};
|
--#{$variable-prefix}btn-padding: #{$padding-y} #{$padding-x};
|
||||||
@include rfs($font-size, --#{$variable-prefix}btn-font-size);
|
@include rfs($font-size, --#{$variable-prefix}btn-font-size);
|
||||||
--#{$variable-prefix}btn-radius: #{$border-radius};
|
--#{$variable-prefix}btn-border-radius: #{$border-radius};
|
||||||
}
|
}
|
||||||
// scss-docs-end btn-size-mixin
|
// scss-docs-end btn-size-mixin
|
||||||
|
Loading…
Reference in New Issue
Block a user