@@ -1036,27 +1036,27 @@ registerThemingParticipant((theme, collector) => {
1036
1036
if ( theme . type !== ColorScheme . HIGH_CONTRAST ) {
1037
1037
const statusBarItemHoverBackground = theme . getColor ( STATUS_BAR_ITEM_HOVER_BACKGROUND ) ;
1038
1038
if ( statusBarItemHoverBackground ) {
1039
- collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:hover { background-color: ${ statusBarItemHoverBackground } ; }` ) ;
1040
- collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:focus { background-color: ${ statusBarItemHoverBackground } ; }` ) ;
1039
+ collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:hover:not(.disabled) { background-color: ${ statusBarItemHoverBackground } ; }` ) ;
1040
+ collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:focus:not(.disabled) { background-color: ${ statusBarItemHoverBackground } ; }` ) ;
1041
1041
}
1042
1042
1043
1043
const statusBarItemActiveBackground = theme . getColor ( STATUS_BAR_ITEM_ACTIVE_BACKGROUND ) ;
1044
1044
if ( statusBarItemActiveBackground ) {
1045
- collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:active { background-color: ${ statusBarItemActiveBackground } ; }` ) ;
1045
+ collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a:active:not(.disabled) { background-color: ${ statusBarItemActiveBackground } ; }` ) ;
1046
1046
}
1047
1047
}
1048
1048
1049
1049
const activeContrastBorderColor = theme . getColor ( activeContrastBorder ) ;
1050
1050
if ( activeContrastBorderColor ) {
1051
1051
collector . addRule ( `
1052
- .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:focus,
1053
- .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:active {
1052
+ .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:focus:not(.disabled) ,
1053
+ .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:active:not(.disabled) {
1054
1054
outline: 1px solid ${ activeContrastBorderColor } !important;
1055
1055
outline-offset: -1px;
1056
1056
}
1057
1057
` ) ;
1058
1058
collector . addRule ( `
1059
- .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:hover {
1059
+ .monaco-workbench .part.statusbar > .items-container > .statusbar-item a:hover:not(.disabled) {
1060
1060
outline: 1px dashed ${ activeContrastBorderColor } ;
1061
1061
outline-offset: -1px;
1062
1062
}
@@ -1075,7 +1075,7 @@ registerThemingParticipant((theme, collector) => {
1075
1075
1076
1076
const statusBarProminentItemHoverBackground = theme . getColor ( STATUS_BAR_PROMINENT_ITEM_HOVER_BACKGROUND ) ;
1077
1077
if ( statusBarProminentItemHoverBackground ) {
1078
- collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a.status-bar-info:hover { background-color: ${ statusBarProminentItemHoverBackground } ; }` ) ;
1078
+ collector . addRule ( `.monaco-workbench .part.statusbar > .items-container > .statusbar-item a.status-bar-info:hover:not(.disabled) { background-color: ${ statusBarProminentItemHoverBackground } ; }` ) ;
1079
1079
}
1080
1080
} ) ;
1081
1081
0 commit comments