From c554726bdc3280fcdf6cc81ef49fdaeda9040c4d Mon Sep 17 00:00:00 2001 From: Zach Kirsch Date: Mon, 21 Feb 2022 19:22:17 -0800 Subject: [PATCH] Always use disabled class selector in css --- packages/core/src/blueprint.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/blueprint.scss b/packages/core/src/blueprint.scss index 08d9bfc575..f3917a7fd8 100644 --- a/packages/core/src/blueprint.scss +++ b/packages/core/src/blueprint.scss @@ -92,12 +92,12 @@ $tree-intent-icon-colors-modern: ( $active-color, $active-text ) { - &:hover:not(:disabled) { + &:hover:not(:disabled):not(.#{$ns}-disabled) { background: $hover-color; color: $hover-text; } - &:active:not(:disabled) { + &:active:not(:disabled):not(.#{$ns}-disabled) { background: $active-color; color: $active-text; } @@ -180,7 +180,7 @@ $tree-intent-icon-colors-modern: ( &.#{$ns}-minimal { @mixin pt-button-minimal-intent-modern($active-text-color) { - &:active:not(:disabled) { + &:active:not(:disabled):not(.#{$ns}-disabled) { color: $active-text-color; } } @@ -194,7 +194,7 @@ $tree-intent-icon-colors-modern: ( } .#{$ns}-dark & { - &:not([class*="#{$ns}-intent-"]):not(:disabled) { + &:not([class*="#{$ns}-intent-"]):not(:disabled):not(.#{$ns}-disabled) { color: $white; }