mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 04:43:59 +00:00
Fixed border radius var name and .show target
This commit is contained in:
parent
42da2b9556
commit
2a09f10676
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue