diff --git a/src/less/base/single/button/switch.less b/src/less/base/single/button/switch.less index 9093c84d7..7a65f2889 100644 --- a/src/less/base/single/button/switch.less +++ b/src/less/base/single/button/switch.less @@ -3,7 +3,7 @@ .bi-switch{ .border-radius(40px 40px 40px 40px); background-color: @color-bi-background-dark-gray; - &:active, &.active { + &.active { background-color: @color-bi-background-highlight; } & .circle-button{ @@ -11,23 +11,17 @@ } &.disabled { background-color: @color-bi-background-disabled; - &:active { - background-color: @color-bi-background-disabled; - } } } .bi-theme-dark { .bi-switch{ background-color: @color-bi-background-dark-gray-theme-dark; - &:active, &.active { + &.active { background-color: @color-bi-background-highlight; } &.disabled { background-color: @color-bi-background-disabled-theme-dark; - &:active { - background-color: @color-bi-background-disabled-theme-dark; - } } } } \ No newline at end of file