mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-23 15:34:20 +01:00
Fix hover on command status bar items (#332068)
This commit is contained in:
@@ -183,6 +183,10 @@
|
||||
background-color: var(--vscode-statusBarItem-warningBackground);
|
||||
}
|
||||
|
||||
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.warning-kind.has-command:hover {
|
||||
background-color: var(--vscode-statusBarItem-warningHoverBackground);
|
||||
}
|
||||
|
||||
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.warning-kind a:hover:not(.disabled) {
|
||||
color: var(--vscode-statusBarItem-warningHoverForeground);
|
||||
background-color: var(--vscode-statusBarItem-warningHoverBackground) !important;
|
||||
|
||||
@@ -165,8 +165,10 @@ export class StatusbarEntryItem extends Disposable {
|
||||
}
|
||||
});
|
||||
|
||||
this.container.classList.add('has-command');
|
||||
this.labelContainer.classList.remove('disabled');
|
||||
} else {
|
||||
this.container.classList.remove('has-command');
|
||||
this.labelContainer.classList.add('disabled');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user