Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-11-13 08:40:19 +0000
committerLars Vogel2019-11-13 09:38:34 +0000
commit5982a6b88d09b78df978a170fcbab50e53e57317 (patch)
tree64a2c97675f9892997ba59da406c0a5aa0a4c84b
parentcffde0d0316bcfbdffb4869a024f9358368dec42 (diff)
downloadeclipse.platform.ui-5982a6b88d09b78df978a170fcbab50e53e57317.tar.gz
eclipse.platform.ui-5982a6b88d09b78df978a170fcbab50e53e57317.tar.xz
eclipse.platform.ui-5982a6b88d09b78df978a170fcbab50e53e57317.zip
Bug 552814 - [Dark theme] Use consistent widget styling for active and
non active parts This addresses several issues: Not all parts are currently styled in the active state, e.g., the Target Platform State which makes the dark theme currently feel inconsistent It reduced the complexity of the CSS files so it them easier to maintain. The amount of different gray in the same UI is reduced which makes the UI feel more consistent to me, Visual Studio code also don't use different background colors for its widgets, so the approach seems to work fine for them Change-Id: I4b420efb9711ae6461b5a23ae1b110895b044184 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css86
1 files changed, 1 insertions, 85 deletions
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 cb20c04b645..8c41e898af8 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
@@ -20,10 +20,6 @@
background-color: #323435;
color: #DDDDDD;
}
-.MPartStack.active .MPart {
- background-color: #292929;
- color: #DDDDDD;
-}
.MPart Composite,
.MPart Composite > *,
@@ -54,43 +50,11 @@
color: #AAAAAA;
}
-.MPartStack.active .MPart Composite,
-.MPartStack.active .MPart Label,
-.MPartStack.active .MPart ScrolledForm,
-.MPartStack.active .MPart Form,
-.MPartStack.active .MPart Section,
-.MPartStack.active .MPart FormText,
-.MPartStack.active .MPart Link,
-.MPartStack.active .MPart Sash,
-.MPartStack.active .MPart Button,
-.MPartStack.active .MPart Group,
-.MPartStack.active .MPart SashForm,
-.MPartStack.active .MPart Tree,
-.MPartStack.active .MPart FilteredTree,
-.MPartStack.active .MPart RegistryFilteredTree,
-.MPartStack.active .MPart PageSiteComposite,
-.MPartStack.active .MPart DependenciesComposite,
-.MPartStack.active .MPart Text[style~='SWT.READ_ONLY'],
-.MPartStack.active .MPart FigureCanvas,
-.MPartStack.active .MPart ListEditorComposite,
-.MPartStack.active .MPart ScrolledComposite,
-.MPartStack.active .Mpart ScrolledComposite ProgressInfoItem,
-.MPartStack.active .MPart Form ScrolledPageBook,
-.MPartStack.active .MPart DependenciesComposite > SashForm > Section > * {/* Section > DependenciesComposite$... */
- background-color: #262626;
- color: #999999;
-}
-
-
.MPart Section > Label {
background-color: #2F2F2F;
color: #ABCEDA;
}
-.MPartStack.active .MPart Section > Label {
- background-color: #262626;
- color: #9EC1CE;
-}
.MPart Table,
.MPart Browser,
@@ -102,25 +66,11 @@
background-color: #313538;
color: #CCC;
}
-.MPartStack.active .MPart Table,
-.MPartStack.active .MPart Browser,
-.MPartStack.active .Mpart OleFrame,
-.MPartStack.active .MPart ViewForm,
-.MPartStack.active .MPart ViewForm > CLabel,
-.MPartStack.active .MPart PageBook > Label,
-.MPartStack.active .MPart PageBook > SashForm {
- background-color: #333;
- color: #DDDDDD;
-}
.MPart Section Tree {
background-color: #383A3B;
color: #DDDDDD;
}
-.MPartStack.active .MPart Section Tree {
- background-color: #353636;
- color: #CCCCCC;
-}
.MPart DatePicker,
.MPart DatePicker > Text,
@@ -134,18 +84,6 @@
background-color: #3f4447;
color: #BBBBBB;
}
-.MPartStack.active .MPart DatePicker,
-.MPartStack.active .MPart DatePicker > Text,
-.MPartStack.active .MPart ScheduleDatePicker,
-.MPartStack.active .MPart ScheduleDatePicker > Text,
-.MPartStack.active .MPart CCombo,
-.MPartStack.active .MPart Spinner,
-.MPartStack.active .MPart Composite > StyledText,
-.MPartStack.active .MPart PageBook > SashForm Label,
-.MPartStack.active .MPart SashForm > Text[style~='SWT.BORDER'] {
- background-color: #313538;
- color: #AAAAAA;
-}
.MPart FormHeading,
.MPart FormHeading > TitleRegion,
@@ -157,16 +95,6 @@
.MPart FormHeading {
background: #505f70;
}
-.MPartStack.active .MPart FormHeading,
-.MPartStack.active .MPart FormHeading > TitleRegion,
-.MPartStack.active .MPart FormHeading > TitleRegion > Label,
-.MPartStack.active .MPart FormHeading > TitleRegion > StyledText {
- background-color: #415062;
- color: #9ac9d8;
-}
-.MPartStack.active .MPart FormHeading {
- background: #415062;
-}
.MPart FormHeading,
.MPart FormHeading > TitleRegion {
swt-background-mode: none;
@@ -175,10 +103,6 @@
background-color: #505f70;
color: #E98787;
}
-.MPartStack.active .MPart FormHeading > CLabel {
- background-color: #415062;
- color: #E98787;
-}
/* ------------------------------------------------------------- */
#org-eclipse-jdt-ui-SourceView StyledText,
@@ -194,21 +118,13 @@
background-color: #2F2F2F;
color: #CCCCCC;
}
-.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart > Composite,
-.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart StyledText,
-.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart PageBook Label {
- background-color: #262626;
- color: #CCCCCC;
-}
/* ------------------------------------------------------------- */
#org-eclipse-e4-ui-compatibility-editor Canvas {
background-color: #262626;
}
-.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas {
- background-color: #202020;
-}
+
#org-eclipse-e4-ui-compatibility-editor CTabItem {
color: #EEEEEE;
font-weight: normal;

Back to the top