From 7710ab7ecb2efaa949669bcb05ca61fa10ae1d24 Mon Sep 17 00:00:00 2001 From: Miguel Solorio Date: Thu, 12 Dec 2019 14:50:27 -0800 Subject: [PATCH] Consolidate styles --- .../browser/parts/titlebar/menubarControl.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/vs/workbench/browser/parts/titlebar/menubarControl.ts b/src/vs/workbench/browser/parts/titlebar/menubarControl.ts index 41c101f4322..50063ae1e88 100644 --- a/src/vs/workbench/browser/parts/titlebar/menubarControl.ts +++ b/src/vs/workbench/browser/parts/titlebar/menubarControl.ts @@ -328,12 +328,9 @@ export class CustomMenubarControl extends MenubarControl { const menubarActiveWindowFgColor = theme.getColor(TITLE_BAR_ACTIVE_FOREGROUND); if (menubarActiveWindowFgColor) { collector.addRule(` - .monaco-workbench .menubar > .menubar-menu-button { - color: ${menubarActiveWindowFgColor}; - } - + .monaco-workbench .menubar > .menubar-menu-button, .monaco-workbench .menubar .toolbar-toggle-more { - color: ${menubarActiveWindowFgColor} + color: ${menubarActiveWindowFgColor}; } `); } @@ -341,12 +338,9 @@ export class CustomMenubarControl extends MenubarControl { const activityBarInactiveFgColor = theme.getColor(ACTIVITY_BAR_INACTIVE_FOREGROUND); if (activityBarInactiveFgColor) { collector.addRule(` - .monaco-workbench .menubar.compact > .menubar-menu-button { - color: ${activityBarInactiveFgColor}; - } - + .monaco-workbench .menubar.compact > .menubar-menu-button, .monaco-workbench .menubar.compact .toolbar-toggle-more { - color: ${activityBarInactiveFgColor} + color: ${activityBarInactiveFgColor}; } `); -- GitLab