diff --git a/bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css index 81898ffd2a2..981dd1c3691 100644 --- a/bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css +++ b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css @@ -142,9 +142,14 @@ CompareViewerPane > * { color: '#org-eclipse-ui-workbench-DARK_FOREGROUND'; } -ProgressIndicator { - background-color: #777; - color: '#org-eclipse-ui-workbench-DARK_FOREGROUND'; +/* Element selectors match the exact widget class name, so the bars inside a + * ProgressIndicator need the child selector. Inside a part the bar is styled by + * the '.MPart' copies in e4-dark_partstyle.css. */ +ProgressIndicator, +ProgressIndicator > *, +ProgressBar { + background-color: #5A5F62; + color: '#org-eclipse-ui-workbench-LINK_COLOR'; } DiscoveryItem, diff --git a/bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css index 946ac02a565..b1cbacfc890 100644 --- a/bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css +++ b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css @@ -60,6 +60,15 @@ } +/* Ties '.MPart Composite > * > *' above on specificity, so it has to sit after + * it. Keep in step with the ProgressBar rule in e4-dark_globalstyle.css. */ +.MPart ProgressIndicator, +.MPart ProgressIndicator > *, +.MPart ProgressBar { + background-color: #5A5F62; + color: '#org-eclipse-ui-workbench-LINK_COLOR'; +} + .MPart Section > Label { background-color: #2F2F2F; color: #ABCEDA;