aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Guarinoni2014-03-08 10:58:49 (EST)
committerLars Vogel2014-03-12 06:41:53 (EDT)
commita1e01a7f4b54aab0539c1bde9029a302075349a1 (patch)
tree61ff259207ebbaf25bd6658436929e692fc9e2e2
parentd6a7d253b87968e5f0ef552c894a7cab0b9eec63 (diff)
downloadeclipse.platform.ui-a1e01a7f4b54aab0539c1bde9029a302075349a1.zip
eclipse.platform.ui-a1e01a7f4b54aab0539c1bde9029a302075349a1.tar.gz
eclipse.platform.ui-a1e01a7f4b54aab0539c1bde9029a302075349a1.tar.bz2
Bug 429986 - Improve Dark theme:refs/changes/82/23082/6
- Corrected some issues with previous theme porting (Forms and inner CTabFolders); - Synced with latest github updates on www.github.com/guari/eclipse-ui-theme; - Added an early support for new Color and Fonts bridge; Change-Id: I5fcb62cb17fdcbc1316d1be47b4ad46566b8e84a Signed-off-by: Andrea Guarinoni <andrea.guarinoni@gmail.com>
-rw-r--r--bundles/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css178
-rw-r--r--bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css416
-rw-r--r--bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css317
-rw-r--r--bundles/org.eclipse.ui.themes/css/e4-dark-config-parts.css213
-rw-r--r--bundles/org.eclipse.ui.themes/css/e4-dark.css420
-rw-r--r--bundles/org.eclipse.ui.themes/css/e4-dark_mac.css341
-rw-r--r--bundles/org.eclipse.ui.themes/css/e4-dark_win.css297
-rw-r--r--bundles/org.eclipse.ui.themes/plugin.properties2
-rw-r--r--bundles/org.eclipse.ui.themes/plugin.xml31
9 files changed, 1644 insertions, 571 deletions
diff --git a/bundles/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css
new file mode 100644
index 0000000..ce736c8
--- /dev/null
+++ b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css
@@ -0,0 +1,178 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Andrea Guarinoni - initial API and implementation
+ *******************************************************************************/
+
+/* New ColorDefinitions for the E4 dark theme */
+
+ThemesExtension { color-definition:
+ '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START',
+ '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR',
+ '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START',
+ '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START',
+ '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END',
+ '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR',
+
+ '#org-eclipse-ui-workbench-INACTIVE_CODE_EDITOR_BG_COLOR',
+ '#org-eclipse-ui-workbench-ACTIVE_CODE_EDITOR_BG_COLOR';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
+ color: #515658;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, unselected part background begin';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
+ color: #464649;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, unselected part background end';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
+ color: #3B4042;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, selected part background begin';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
+ color: #313538;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, selected part background end';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
+ color: #515658;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive part outer keyline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR {
+ color: #515658;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive part inner keyline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
+ color: #3B4042;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive part outline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR {
+ color: #BBBBBB;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, unselected part foreground';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR {
+ color: #FFFFFF;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Inactive, selected part foreground';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
+ color: #494A4D;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, unselected part background begin';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
+ color: #404043;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, unselected part background end';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START {
+ color: #2B2C2D;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, selected part background begin';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
+ color: #292929;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, selected part background end';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
+ color: #4B4C4F;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active part outer keyline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
+ color: #4B4C4F;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active part inner keyline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
+ color: #484848;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active part outline color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR {
+ color: #DDDDDD;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, unselected part foreground';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR {
+ color: #f7f8f8;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active, selected part foreground';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
+ color: #2B2C2D;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active (no focus), selected part background begin';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
+ color: #292929;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active (no focus), selected part background end';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR {
+ color: #CCCCCC;
+ category: '#org-eclipse-ui-presentation-default';
+ label: 'Active (no focus), selected part foreground';
+}
+
+/* Editor definitions: */
+
+ColorDefinition#org-eclipse-ui-workbench-INACTIVE_CODE_EDITOR_BG_COLOR {
+ color: #262626;
+ label: 'Inactive, code editor background color';
+}
+
+ColorDefinition#org-eclipse-ui-workbench-ACTIVE_CODE_EDITOR_BG_COLOR {
+ color: #202020;
+ label: 'Active, code editor background color';
+}
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
new file mode 100644
index 0000000..0b8db0a
--- /dev/null
+++ b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css
@@ -0,0 +1,416 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
+ *******************************************************************************/
+
+/*******************************************************************************
+ * The following bugs are referred to in this style sheet
+ * 1.) Bug 419482 - Cascading policy in CSS
+ * 2.) Bug 419377 - Setting a property to 'inherit' is not supported
+ * 3.) Bug 430051 - Regression for CTabRendering when drawing bottom tabs
+ * 4.) Bug 401015 - Add support for styling hyperlinks in Links
+ *******************************************************************************/
+
+
+/* ############################## Global Styles ############################## */
+
+Composite, ScrolledComposite, ExpandableComposite, TabFolder, CLabel, Label,
+ToolItem, Sash, Group, Hyperlink, RefactoringLocationControl, Link, FilteredTree,
+ProxyEntriesComposite, NonProxyHostsComposite, DelayedFilterCheckboxTree,
+Splitter, ScrolledPageContent, ViewForm, LaunchConfigurationFilteredTree,
+ContainerSelectionGroup, BrowseCatalogItem, EncodingSettings,
+ProgressMonitorPart, DocCommentOwnerComposite, NewServerComposite,
+NewManualServerComposite, ServerTypeComposite, FigureCanvas,
+DependenciesComposite, ListEditorComposite, WrappedPageBook,
+CompareStructureViewerSwitchingPane, CompareContentViewerSwitchingPane,
+QualifiedNameComponent, RefactoringStatusViewer, ImageHyperlink,
+Button /* SWT-BUG: checkbox inner label font color is not accessible */,
+ViewForm > ToolBar, /* SWT-BUG: ToolBar do not inherit rules from ViewForm */
+/*Shell [style~='SWT.DROP_DOWN'] > GradientCanvas,*/ /* ignored */
+/* SWT-BUG dirty workaround [Eclipse Bug 419482]: a generic rule (eg: Composite > *) needed to catch an
+ element without a CSS id, a CSS class and a seekable Widget name, cannot be overridden
+ by a subsequent more specific rule used to correct the style for seekable elements (<1>): */
+TabFolder > Composite > *, /* Composite > CommitSearchPage$... */
+TabFolder > Composite > * > * /* [style~='SWT.NO_BACKGROUND'] <- generate E4 non-sense bugs in apparently not related other rules */, /* Composite > ContentMergeViewer$... > TextMergeViewer$... */
+DocCommentOwnerComposite > Group > *, /* Group > DocCommentOwnerComposite$... */
+TabFolder > Composite > ScrolledComposite > *, /* ScrolledComposite > ControlListViewer$... */
+Shell > Composite > Composite > *, /* Composite > StatusDialog$MessageLine (SWT-BUG: ignored) */
+Composite > Composite > Composite > ToolBar, /* Window->Preference (top toolbar) */
+Composite > Composite > Composite > Group > *, /* Group > CreateRefactoringScriptWizardPage$... */
+Shell > Composite > Composite > Composite > *, /* Composite > FilteredPreferenceDialog$... */
+ScrolledComposite > Composite > Composite > Composite > *, /* Composite > NewKeysPreferencePage$... */
+Shell > Composite > Composite > Composite > Composite > Composite > *, /* Composite > ShowRefactoringHistoryWizardPage$... */
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > *, /* Composite > RefactoringWizardDialog$... */
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > * /* Composite > RefactoringWizardDialog$... */ {
+ background-color:#515658;
+ color:#eeeeee;
+}
+
+Combo, List,
+/* It might be useless but currently it's needed due to a strange priority
+ policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */
+Composite > List,
+TabFolder > Composite > List,
+TabFolder > Composite > * > List,
+DocCommentOwnerComposite > Group > List,
+TabFolder > Composite > ScrolledComposite > List,
+Shell > Composite > Composite > List,
+Composite > Composite > Composite > Group > List,
+Shell > Composite > Composite > Composite > List,
+ScrolledComposite > Composite > Composite > Composite > List,
+Shell > Composite > Composite > Composite > Composite > Composite > List,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > List,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > List {
+ background-color: #41464A;
+ color: #dddddd;
+}
+
+/* Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'], */
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > Text[style~='SWT.READ_ONLY'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > ToolBar {
+ /* Dialog windows title */
+ /*background-color: #4D5765;*/ /* There is no way to change the background-color of the title of a Dialog without introducing artifacts in some other Dialog windows */
+ color: #9ac9d8;
+}
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > Label[style~='SWT.NO_FOCUS'] {
+ /* Dialog windows title */
+ /*background-color: #4D5765;*/
+ color: #EEEEEE;
+}
+
+Text {
+ background-color: #515658;
+ color: #cccccc;
+}
+Text[style~='SWT.DROP_DOWN'],
+TextSearchControl /* SWT-BUG: background color is hard-coded */,
+TextSearchControl > Label {
+ /* search boxes and input fields */
+ background-color: #41464A;
+ color: #dddddd;
+}
+Text[style~='SWT.SEARCH'],
+Text[style~='SWT.SEARCH'] + Label /* SWT-BUG: adjacent sibling selector is ignored (CSS2.1) */ {
+ /* search boxes */
+ background-color: #949DA5;
+ color: #ffffff;
+}
+Text[style~='SWT.POP_UP'] {
+ background-color: #34383B;
+ color: #dddddd;
+}
+Text[style~='SWT.READ_ONLY'] {
+ background-color: #515658;
+ color: #bbbbbb;
+}
+/* Text[style~='SWT.POP_UP'][style~='SWT.ERROR_MENU_NOT_POP_UP'][style~='SWT.ICON_WARNING'] {
+ /* Dirty way to catch error popup labels
+ (currently it's impossible since there's no difference
+ at all from some other Text elements) */
+/* background-color: #742025;
+ color: #FF9997;
+} */
+
+DatePicker,
+DatePicker > Text,
+DatePicker > ImageHyperlink,
+ScheduleDatePicker,
+ScheduleDatePicker > Text,
+ScheduleDatePicker > ImageHyperlink {
+ background-color: #41464A;
+ color: #dddddd;
+}
+
+MessageLine,
+/* the following are required due to Bug 419482 (see <1>): */
+Shell > Composite > Composite > MessageLine,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Composite > MessageLine {
+ background-color:#515658; /* SWT-BUG: background color is hard-coded */
+ color: #E39898;
+}
+
+StyledText,
+Spinner,
+CCombo {
+ background-color: #383C3E;
+ color: #dddddd;
+}
+
+Composite > StyledText,
+Shell [style~='SWT.DROP_DOWN'] > StyledText, /* for eg. folded code popup (but it's ignored) */
+/* the following are required due to Bug 419482 (see <1>): */
+ScrolledComposite > Composite > Composite > Composite > StyledText {
+ background-color: #252525;
+ color: #dddddd;
+}
+
+ScrolledFormText,
+FormText {
+ background-color: #687174;
+ color: #eeeeee;
+}
+
+ToolItem:selected {
+ background-color: #313538;
+ color: #dddddd;
+}
+
+Table,
+/* the following are required due to Bug 419482 (see <1>): */
+Composite > Table,
+TabFolder > Composite > Table,
+TabFolder > Composite > * > Table,
+DocCommentOwnerComposite > Group > Table,
+TabFolder > Composite > ScrolledComposite > Table,
+Shell > Composite > Composite > Table,
+Composite > Composite > Composite > Group > Table,
+Shell > Composite > Composite > Composite > Table,
+ScrolledComposite > Composite > Composite > Composite > Table,
+Shell > Composite > Composite > Composite > Composite > Composite > Table,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Table,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Table {
+ background-color: #35393C;
+ color: #dddddd;
+}
+
+Tree,
+RegistryFilteredTree,
+/* the following are required due to Bug 419482 (see <1>): */
+Composite > Tree,
+TabFolder > Composite > Tree,
+TabFolder > Composite > * > Tree,
+DocCommentOwnerComposite > Group > Tree,
+TabFolder > Composite > ScrolledComposite > Tree,
+Shell > Composite > Composite > Tree,
+Composite > Composite > Composite > Group > Tree,
+Shell > Composite > Composite > Composite > Tree,
+ScrolledComposite > Composite > Composite > Composite > Tree,
+Shell > Composite > Composite > Composite > Composite > Composite > Tree,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Tree,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Tree {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+
+/* prevent CSS Spy red borders to be grayed with a generic Shell selector */
+Shell[style~='SWT.SHADOW_ETCHED_OUT'], Shell[style~='SWT.SHADOW_ETCHED_IN'],
+Shell[style~='SWT.CHECK'], Shell[style~='SWT.TITLE'], Shell[style~='SWT.OK'],
+Shell[style~='SWT.CANCEL'], Shell[style~='SWT.ABORT'], Shell[style~='SWT.DROP_DOWN'],
+Shell[style~='SWT.ARROW'], Shell[style~='SWT.RADIO'], Shell[style~='SWT.SINGLE'],
+Shell[style~='SWT.SHADOW_IN'], Shell[style~='SWT.TOOL'], Shell[style~='SWT.RESIZE'],
+Shell[style~='SWT.SHELL_TRIM'], Shell[style~='SWT.FILL'], Shell[style~='SWT.ALPHA'],
+Shell[style~='SWT.BORDER'], Shell[style~='SWT.DIALOG_TRIM'], Shell[style~='SWT.IGNORE'],
+Shell[style~='SWT.FULL_SELECTION'], Shell[style~='SWT.SMOOTH'], Shell[style~='SWT.VIRTUAL'],
+Shell[style~='SWT.APPLICATION_MODAL'], Shell[style~='SWT.MEDIUM'], Shell[style~='SWT.LONG']
+{
+ background-color: #515658;
+ color: #cccccc;
+}
+Shell > Composite > Table[style~='SWT.DROP_DOWN'] {
+ background-color: #35393C;
+ color: #dddddd;
+}
+
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite,
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Composite,
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite ScrolledComposite,
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Canvas,
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite StyledText,
+Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Label {
+/* Error information popup */
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+
+TextSearchControl {
+ background-color: #41464A;
+ color: #dddddd;
+}
+
+ViewerPane,
+DrillDownComposite,
+ViewerPane > ToolBar,
+DrillDownComposite > ToolBar {
+ background-color: #232323;
+ color: #CCC;
+}
+
+ProgressInfoItem,
+CompareViewerPane,
+CompareViewerPane > * {
+ background-color: #333;
+ color: #eeeeee;
+}
+
+ProgressIndicator {
+ background-color: #777;
+ color: #eeeeee;
+}
+
+DiscoveryItem,
+DiscoveryItem Label,
+DiscoveryItem Composite {
+ background-color: #383C3E;
+ color: #dddddd;
+}
+DiscoveryItem StyledText {
+ background-color: #383C3E;
+ color: #aaaaaa;
+}
+DiscoveryItem Link {
+ background-color: #383C3E;
+ color: #8B9498;
+}
+
+CatalogSwitcher,
+CatalogSwitcher > ScrolledComposite > Composite > Composite /* ignored because hard-coded */,
+CategoryItem {
+ background-color: #515658;
+ color: #dddddd;
+}
+GradientCanvas,
+GradientCanvas > Label,
+GradientCanvas > ToolBar,
+GradientCanvas > ImageHyperlink {
+ background-color: #3f4447;
+ color: #9ac9d8;
+}
+GradientCanvas {
+ /* SWT-BUG workaround: GradientCanvas background-color is ignored */
+ background: #3f4447;
+ background-image: #3f4447;
+}
+CategoryItem > GradientCanvas,
+CategoryItem > GradientCanvas > Label {
+ /* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */
+ background-color: #fafafa;
+ color: #333;
+}
+CategoryItem > GradientCanvas {
+ /* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */
+ background: #fafafa;
+ background-image: #333;
+}
+
+WebSite {
+ background-color: #41464A;
+ color: #dddddd;
+}
+
+CTabFolder {
+ /* Set the styles for the inner tabs: */
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
+ swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+ padding: 0px 2px 2px;
+ swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* title background for selected tab */
+ swt-shadow-visible: false;
+ swt-corner-radius: 16px;
+}
+CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
+ /* Set the styles for the bottom inner tabs (Bug 430051): */
+ swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+}
+
+Form,
+FormHeading {
+ background: #505f70;
+ background-color: #505F70;
+ background-image: #505f70;
+ color: #9AC9D8;
+}
+
+Section {
+ background-color: #4F5355;
+ color: #AEBED0;
+}
+
+Form > LayoutComposite > LayoutComposite > * {
+ background-color: #515658;
+ color: #EEEEEE;
+}
+
+LayoutComposite, LayoutComposite > FormText,
+LayoutComposite > Label,
+LayoutComposite > Button {
+ background-color: #4F5355;
+ color: #F4F7F7;
+}
+
+LayoutComposite ScrolledPageBook,
+LayoutComposite Sash {
+ background-color: #4F5355;
+ color: #F4F7F7;
+}
+
+LayoutComposite > Text,
+LayoutComposite > Combo {
+ background-color: #414445;
+ color: #F4F7F7;
+}
+
+LayoutComposite > Table {
+ background-color: #333;
+ color: #FFF;
+}
+
+Twistie {
+ color: #E8E4DF;
+}
+
+#SearchField {
+ /* background-image: url('./searchbox.png'); */
+ /* SWT-BUG: textures are applied as a label over the native ones, */
+ /* in this way textures with alpha color are not usable; */
+ /* default margins and padding cannot be modified and textures are not */
+ /* scaled properly to fit the container size: this makes the result ugly, */
+ /* moreover a texture is drawn over the widget, so also the text is covered */
+ color: #f0f0f0;
+}
+
+/* Button {
+ background-color: inherit; /* ignored */
+ /* background-image: url('./button_bg.png') */
+/* } */
+
+/* Button[style~='SWT.CHECK'] { */
+ /* currently, Button object isn't consistent (eg. also a checkbox/radio is seen as Button) */
+ /* so, css rules applied to Button have to be overridden for non-Button matches */
+/* }
+ Button:disabled {
+ /* SWT-BUG: currently, a disabled button cannot be styled with any window manager (gtk, win32, cocoa) */
+/* }
+ Button:hover {
+ /* SWT-BUG: currently, an hovered button cannot be styled with any window manager (gtk, win32, cocoa) */
+/* } */
+
+.MPartSashContainer {
+ background-color: #515658;
+ color: #EEEEEE;
+}
+
+PageSiteComposite, PageSiteComposite > CImageLabel {
+ color: #EEEEEE;
+}
+PageSiteComposite > PropertyTable {
+ background-color: #333;
+ color: #EEEEEE;
+}
+PageSiteComposite > PropertyTable:disabled {
+/* SWT-BUG: event is triggered but styles for PropertyTable are hard-coded */
+ background-color: #444;
+ color: #EEEEEE;
+}
+
+FlyoutControlComposite, FlyoutControlComposite ToolBar, FlyoutControlComposite CLabel {
+ background-color: #3f4447;
+ color: #EEEEEE;
+}
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
new file mode 100644
index 0000000..240cdc0
--- /dev/null
+++ b/bundles/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css
@@ -0,0 +1,317 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
+ * Lars Vogel - initial API and implementation
+ *******************************************************************************/
+
+
+/* ################################ CSS for .MParts ########################## */
+
+.MPart {
+ background-color: #323435;
+ color: #DDDDDD;
+}
+.MPartStack.active .MPart {
+ background-color: #292929;
+ color: #DDDDDD;
+}
+
+.MPart Composite,
+.MPart LayoutComposite,
+.MPart Label,
+.MPart Hyperlink,
+.MPart ImageHyperlink,
+.MPart ScrolledForm,
+.MPart Form,
+.MPart Section,
+.MPart FormText,
+.MPart Link,
+.MPart Sash,
+.MPart Button,
+.MPart Group,
+.MPart SashForm,
+.MPart FilteredTree,
+.MPart RegistryFilteredTree,
+.MPart PageSiteComposite,
+.MPart DependenciesComposite,
+.MPart Text[style~='SWT.READ_ONLY'],
+.MPart FigureCanvas,
+.MPart ListEditorComposite,
+.MPart ScrolledComposite,
+.MPart ScrolledComposite ToolBar,
+.Mpart ScrolledComposite ProgressInfoItem,
+.MPart Form ScrolledPageBook,
+.MPart Form > LayoutComposite > LayoutComposite > ToolBar,
+.MPart DependenciesComposite > SashForm > Section > * /* Section > DependenciesComposite$... */,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ {
+ background-color: #2F2F2F;
+ color: #AAAAAA;
+}
+.MPartStack.active .MPart Composite,
+.MPartStack.active .MPart LayoutComposite,
+.MPartStack.active .MPart Label,
+.MPartStack.active .MPart Hyperlink,
+.MPartStack.active .MPart ImageHyperlink,
+.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 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 ToolBar,
+.MPartStack.active .Mpart ScrolledComposite ProgressInfoItem,
+.MPartStack.active .MPart Form ScrolledPageBook,
+.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar,
+.MPartStack.active .MPart DependenciesComposite > SashForm > Section > * /* Section > DependenciesComposite$... */,
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ {
+ 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,
+.Mpart OleFrame,
+.MPart ViewForm,
+.MPart ViewForm > ToolBar,
+.MPart ViewForm > CLabel,
+.MPart PageBook > Label,
+.MPart PageBook > SashForm,
+#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite,
+#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite > * {
+ 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 > ToolBar,
+.MPartStack.active .MPart ViewForm > CLabel,
+.MPartStack.active .MPart PageBook > Label,
+.MPartStack.active .MPart PageBook > SashForm,
+.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite,
+.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite > * {
+ background-color: #333;
+ color: #DDDDDD;
+}
+#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite ImageHyperlink {
+ background-color: #313538;
+ color: #6fc5ee;
+}
+.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite ImageHyperlink {
+ background-color: #333;
+ color: #7AAADA;
+}
+
+.MPart > Label,
+#com-android-ide-eclipse-adt-internal-lint-LintViewPart > Composite > Label {
+ background-color: #313538;
+ color: #7DC2BD;
+}
+.MPartStack.active .MPart > Label,
+.MPartStack.active #com-android-ide-eclipse-adt-internal-lint-LintViewPart > Composite > Label {
+ background-color: #2F3235;
+ color: #B1E8F7;
+}
+
+.MPart Section Tree,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree {
+ background-color: #383A3B;
+ color: #DDDDDD;
+}
+.MPartStack.active .MPart Section Tree,
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree {
+ background-color: #353636;
+ color: #CCCCCC;
+}
+
+.MPart DatePicker,
+.MPart DatePicker > Text,
+.MPart DatePicker > ImageHyperlink,
+.MPart ScheduleDatePicker,
+.MPart ScheduleDatePicker > Text,
+.MPart ScheduleDatePicker > ImageHyperlink,
+.MPart CCombo,
+.MPart Spinner,
+.MPart StyledText,
+.MPart PageBook > SashForm Label,
+.MPart SashForm > Text[style~='SWT.BORDER'] {
+ background-color: #3f4447;
+ color: #BBBBBB;
+}
+.MPartStack.active .MPart DatePicker,
+.MPartStack.active .MPart DatePicker > Text,
+.MPartStack.active .MPart DatePicker > ImageHyperlink,
+.MPartStack.active .MPart ScheduleDatePicker,
+.MPartStack.active .MPart ScheduleDatePicker > Text,
+.MPartStack.active .MPart ScheduleDatePicker > ImageHyperlink,
+.MPartStack.active .MPart CCombo,
+.MPartStack.active .MPart Spinner,
+.MPartStack.active .MPart StyledText,
+.MPartStack.active .MPart PageBook > SashForm Label,
+.MPartStack.active .MPart SashForm > Text[style~='SWT.BORDER'] {
+ background-color: #313538;
+ color: #AAAAAA;
+}
+
+.MPart FormHeading,
+.MPart FormHeading > ToolBar,
+.MPart FormHeading > TitleRegion,
+.MPart FormHeading > TitleRegion > Label,
+.MPart FormHeading > TitleRegion > ToolBar,
+.MPart FormHeading > TitleRegion > StyledText,
+.MPart FormHeading LayoutComposite,
+.MPart FormHeading ImageHyperlink {
+ background-color: #505f70;
+ color: #9ac9d8;
+}
+.MPart FormHeading {
+ background: #505f70;
+ background-image: #505f70;
+}
+.MPartStack.active .MPart FormHeading,
+.MPartStack.active .MPart FormHeading > ToolBar,
+.MPartStack.active .MPart FormHeading > TitleRegion,
+.MPartStack.active .MPart FormHeading > TitleRegion > Label,
+.MPartStack.active .MPart FormHeading > TitleRegion > ToolBar,
+.MPartStack.active .MPart FormHeading > TitleRegion > StyledText,
+.MPartStack.active .MPart FormHeading LayoutComposite,
+.MPartStack.active .MPart FormHeading ImageHyperlink {
+ background-color: #415062;
+ color: #9ac9d8;
+}
+.MPartStack.active .MPart FormHeading {
+ background: #415062;
+ background-image: #415062;
+}
+.MPart FormHeading,
+.MPart FormHeading > TitleRegion {
+ swt-background-mode: none;
+}
+.MPart FormHeading > CLabel {
+ background-color: #505f70;
+ color: #E98787;
+}
+.MPartStack.active .MPart FormHeading > CLabel {
+ background-color: #415062;
+ color: #E98787;
+}
+
+/* ------------------------------------------------------------- */
+
+#org-eclipse-jdt-ui-SourceView StyledText,
+#org-eclipse-wst-jsdt-ui-SourceView StyledText {
+ background-color: #252525;
+}
+
+/* ------------------------------------------------------------- */
+
+#org-eclipse-ui-console-ConsoleView .MPart > Composite,
+#org-eclipse-ui-console-ConsoleView .MPart StyledText,
+#org-eclipse-ui-console-ConsoleView .MPart PageBook Label,
+#org-eclipse-dltk-debug-ui-ScriptDisplayView SashForm > * {
+ 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,
+.MPartStack.active #org-eclipse-dltk-debug-ui-ScriptDisplayView SashForm > * {
+ background-color: #262626;
+ color: #CCCCCC;
+}
+
+/* ------------------------------------------------------------- */
+
+#org-eclipse-pde-runtime-LogView Text {
+ background-color: #333;
+ color: #F4F7F7;
+}
+
+/* ------------------------------------------------------------- */
+
+#org-eclipse-pde-ui-TargetPlatformState PageBook > Composite > * {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+
+/* ------------------------------------------------------------- */
+
+#org-eclipse-e4-ui-compatibility-editor Canvas,
+#org-eclipse-e4-ui-compatibility-editor Canvas > *,
+/* Workaround for CDT folding column SWT-BUG (styles aren't inherited) */
+#org-eclipse-e4-ui-compatibility-editor Canvas > * > * {
+ /*background-color: #262626;*/
+ background-color: '#org-eclipse-ui-workbench-INACTIVE_CODE_EDITOR_BG_COLOR';
+ /* SWT-BUG: background-color rule for LineNumberRulerColumn is ignored */
+}
+.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas,
+.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas > *,
+/* Workaround for CDT folding column SWT-BUG (styles aren't inherited) */
+.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas > * > * {
+ /*background-color: #202020;*/
+ background-color: '#org-eclipse-ui-workbench-ACTIVE_CODE_EDITOR_BG_COLOR';
+ /* SWT-BUG: background-color rule for LineNumberRulerColumn is ignored */
+}
+#org-eclipse-e4-ui-compatibility-editor CTabItem {
+ color: #EEEEEE;
+ font-weight: normal;
+}
+#org-eclipse-e4-ui-compatibility-editor CTabItem:selected {
+ background-color: #262626;
+ font-weight: bold;
+}
+#org-eclipse-e4-ui-compatibility-editor .MPart {
+ color: #EEEEEE;
+}
+#org-eclipse-e4-ui-compatibility-editor PaletteControl ScrolledComposite > Composite > * {
+ background-color: #2F2F2F;
+ color: #BBBBBB;
+}
+.MPartStack.active #org-eclipse-e4-ui-compatibility-editor PaletteControl ScrolledComposite > Composite > * {
+ background-color: #262626;
+ color: #CCCCCC;
+}
+#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel {
+ background-color: #383838;
+ color: #dddddd;
+}
+#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel:hover {
+/* SWT-BUG #362532: The event is never triggered so the native rule cannot be overridden (for hover event) */
+ background-color: #252525;
+ color: #dddddd;
+}
+#org-eclipse-e4-ui-compatibility-editor FlyoutControlComposite > Composite {
+ background-color: #3f4447;
+ color: #DDDDDD;
+}
+#org-eclipse-e4-ui-compatibility-editor LayoutCanvas {
+ background-color: #252525;
+ color: #CCCCCC;
+}
diff --git a/bundles/org.eclipse.ui.themes/css/e4-dark-config-parts.css b/bundles/org.eclipse.ui.themes/css/e4-dark-config-parts.css
deleted file mode 100644
index 9208267..0000000
--- a/bundles/org.eclipse.ui.themes/css/e4-dark-config-parts.css
+++ /dev/null
@@ -1,213 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
- * Lars Vogel - initial API and implementation
- *******************************************************************************/
-
-
-/* ###################################### CSS for the parts ############################# */
-
-.MPart {
- background-color: #313538;
- color: #DDDDDD;
-}
-
-/* ------------------------------------------------------------- */
-
-#org-eclipse-jdt-ui-TypeHierarchy Label, #org-eclipse-jdt-ui-TypeHierarchy CLabel {
- background-color: #313538;
- color: #DDDDDD;
-}
-#org-eclipse-jdt-ui-TypeHierarchy Table {
- background-color: #333;
- color: #DDDDDD;
-}
-
-/* ------------------------------------------------------------- */
-
-
-#org-eclipse-ui-views-ContentOutline Label { /* SWT-BUG workaround: 'color' is not inherited */
- background-color: #333;
- color: #DDDDDD;
-}
-
-/* ------------------------------------------------------------- */
-
-/* not triggered */
-/*.MPartStack.active #org-eclipse-e4-primaryDataStack {
- background-color: #202020;
-} */
-#org-eclipse-e4-ui-compatibility-editor Canvas,
-#org-eclipse-e4-ui-compatibility-editor Canvas > *,
-/* Workaround for CDT folding column SWT-BUG (styles aren't inherited) */
-#org-eclipse-e4-ui-compatibility-editor Canvas > * > * {
- background-color: #262626;
- /* SWT-BUG: background-color rule for LineNumberRulerColumn is ignored */
-}
-.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas,
-.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas > *,
-/* Workaround for CDT folding column SWT-BUG (styles aren't inherited) */
-.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas > * > * {
- background-color: #202020;
- /* SWT-BUG: background-color rule for LineNumberRulerColumn is ignored */
-}
-#org-eclipse-e4-ui-compatibility-editor CTabItem {
- color: #EEEEEE;
- font-weight: normal;
- font-family: 'Calibri'; /* currently, there is no way to define a fallback for font-family */
-}
-#org-eclipse-e4-ui-compatibility-editor CTabItem:selected {
- background-color: #262626;
- font-weight: bold;
- font-family: 'Calibri'; /* currently, there is no way to define a fallback for font-family */
-}
-#org-eclipse-e4-ui-compatibility-editor .MPart {
- color: #EEEEEE;
-}
-#org-eclipse-e4-ui-compatibility-editor PaletteControl ScrolledComposite > Composite > * {
- background-color: #515658;
- color: #eeeeee;
-}
-#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel {
- background-color: #383838;
- color: #dddddd;
-}
-#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel :hover {
-/* SWT-BUG: The event is never triggered so the native rule cannot be overridden (for hover event) */
- background-color: #252525;
- color: #dddddd;
-}
-#org-eclipse-e4-ui-compatibility-editor FlyoutControlComposite > Composite {
- background-color: #3f4447;
- color: #DDDDDD;
-}
-#org-eclipse-e4-ui-compatibility-editor LayoutCanvas {
- background-color: #252525;
- color: #CCCCCC;
-}
-
-#org-eclipse-help-ui-HelpView Composite,
-#org-eclipse-help-ui-HelpView LayoutComposite,
-#org-eclipse-help-ui-HelpView Label,
-#org-eclipse-help-ui-HelpView Hyperlink,
-#org-eclipse-help-ui-HelpView ScrolledForm,
-#org-eclipse-help-ui-HelpView Form,
-#org-eclipse-help-ui-HelpView FormHeading,
-#org-eclipse-help-ui-HelpView Section,
-#org-eclipse-help-ui-HelpView FormText {
- background-color: #2F2F2F;
- color: #CCC;
-}
-.MPartStack.active #org-eclipse-help-ui-HelpView Composite,
-.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite,
-.MPartStack.active #org-eclipse-help-ui-HelpView Label,
-.MPartStack.active #org-eclipse-help-ui-HelpView Hyperlink,
-.MPartStack.active #org-eclipse-help-ui-HelpView ScrolledForm,
-.MPartStack.active #org-eclipse-help-ui-HelpView Form,
-.MPartStack.active #org-eclipse-help-ui-HelpView FormHeading,
-.MPartStack.active #org-eclipse-help-ui-HelpView Section,
-.MPartStack.active #org-eclipse-help-ui-HelpView FormText{
- background-color: #262626;
- color: #CCC;
-}
-
-/* ------------------------------------------------------------- */
-
-
-#org-eclipse-pde-runtime-LogView .MPart > Label,
-#org-eclipse-ui-views-ProblemView .MPart > Label,
-#org-eclipse-ui-views-TaskList .MPart > Label{
- background-color: #313538;
- color: #DDDDDD;
-}
-
-#org-eclipse-pde-runtime-LogView FilteredTree Composite {
- background-color: #262B2D;
-}
-#org-eclipse-pde-runtime-LogView Text {
- background-color: #333;
- color: #F4F7F7;
-}
-#org-eclipse-jdt-ui-SourceView .MPart > Label,
-#org-eclipse-ui-console-ConsoleView .MPart > Label {
- background-color: #313538;
- color: #DDDDDD;
-}
-#org-eclipse-jdt-ui-SourceView .MPart > Composite {
- background-color: #4D565B;
- color: #EEEEEE;
-}
-#org-eclipse-jdt-ui-SourceView StyledText {
- background-color: #252525;
-}
-#org-eclipse-ui-console-ConsoleView .MPart > Composite,
-#org-eclipse-ui-console-ConsoleView .MPart StyledText,
-#org-eclipse-ui-console-ConsoleView .MPart PageBook Label {
- background-color: #333;
- color: #EEEEEE;
-}
-#org-eclipse-ui-views-ProgressView Composite,
-#org-eclipse-ui-views-ProgressView ScrolledComposite,
-#org-eclipse-ui-views-ProgressView Composite Text,
-#org-eclipse-ui-views-ProgressView ScrolledComposite ProgressInfoItem,
-#org-eclipse-ui-views-ProgressView ScrolledComposite Label,
-#org-eclipse-ui-views-ProgressView ScrolledComposite ToolBar,
-#org-eclipse-ui-views-ProgressView ScrolledComposite Link {
- background-color: #333;
- color: #EEEEEE;
-}
-#org-eclipse-search-ui-views-SearchView Composite,
-#org-eclipse-search-ui-views-SearchView Composite Link {
- background-color: #333;
- color: #EEEEEE
-}
-#org-eclipse-ui-texteditor-TemplatesView CLabel {
- background-color: #313538;
- color: #DDDDDD;
-}
-#org-eclipse-debug-ui-VariableView Label, #org-eclipse-debug-ui-VariableView StyledText,
-#org-eclipse-debug-ui-BreakpointView Label, #org-eclipse-debug-ui-BreakpointView StyledText {
- background-color: #3f4447;
- color: #EEEEEE;
-}
-#org-eclipse-debug-ui-VariableView SashForm, #org-eclipse-debug-ui-VariableView Sash,
-#org-eclipse-debug-ui-BreakpointView SashForm, #org-eclipse-debug-ui-BreakpointView Sash {
- background-color: #333;
- color: #EEEEEE;
-}
-
-/* Android views---------------------------------------------------------- */
-
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Label {
- color: #EEEEEE;
-}
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Table {
- background-color: #555;
- color: #EEEEEE;
-}
-
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Combo,
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Text {
- background-color: #333;
- color: #EEEEEE;
-}
-
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Composite,
-#com-android-ide-eclipse-ddms-views-LogCatView .MPart Sash {
- background-color: #444;
- color: #DDDDDD;
-}
-
-.MPartStack.active #com-android-ide-eclipse-ddms-views-LogCatView .MPart Composite,
-.MPartStack.active #com-android-ide-eclipse-ddms-views-LogCatView .MPart Sash {
- background-color: #313538;
- color: #DDDDDD;
-}
-
-
diff --git a/bundles/org.eclipse.ui.themes/css/e4-dark.css b/bundles/org.eclipse.ui.themes/css/e4-dark.css
index a4fcf82..880d911 100644
--- a/bundles/org.eclipse.ui.themes/css/e4-dark.css
+++ b/bundles/org.eclipse.ui.themes/css/e4-dark.css
@@ -10,306 +10,127 @@
* Lars Vogel - initial API and implementation
*******************************************************************************/
-@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css");
-@import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark-config-parts.css");
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css");
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css");
-/*******************************************************************************
- * The following bugs are referred to in this style sheet
- * 1.) Bug 419482 - Cascading policy in CSS
- *******************************************************************************/
+.MTrimmedWindow.topLevel {
+ margin-top: 3px;
+ margin-bottom: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
+}
+.MPartStack, .MPart {
+ font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
+}
.MPartStack {
- background-color: #313538;
- color: #f7f8f8;
- swt-tab-outline: #3B4042; /* border color for selected tab */
- swt-outer-keyline-color: #515658; /* border color for whole tabs container */
- swt-unselected-tabs-color: #515658 #464649 #313538 99% 100%; /* title background for unselected tab */
- swt-selected-tab-fill: #313538; /* title background for selected tab (gradient bottom color) */
+ swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+ padding: 0px 2px 2px;
+ swt-shadow-visible: false;
+ swt-mru-visible: true;
+ swt-corner-radius: 16px;
}
.MPartStack.active {
- background-color: #292929; /* ignored (<2>) */
- swt-inner-keyline-color: #FFFFFF;
- swt-tab-outline: #484848; /* border color for selected tab */
- swt-outer-keyline-color: #4B4C4F; /* border color for whole tabs container */
- swt-unselected-tabs-color: #494A4D #404043 #272727 99% 100%; /* title background for unselected tab */
- swt-selected-tab-fill: #292929; /* title background for selected tab (gradient bottom color) */
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
}
-.MPartStack.active > * {
- /* Workaround for (<2>) to set the color of the inner border for the active tab */
- background-color: #292929;
+.MPartStack.active.noFocus {
+ swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
}
.MPartStack.empty {
- swt-unselected-tabs-color: #515658 #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
swt-tab-outline: #535354; /* border color for selected tab */
swt-outer-keyline-color: #515658; /* border color for whole tabs container */
}
-.MTrimmedWindow {
- background-color: #515658;
-}
-
-.MTrimBar {
- background-color: #515658;
-}
-
-/* .MTrimBar#org-eclipse-ui-main-toolbar {
- background-color: #676767 #6b6b6b;
-} */
-
-.MToolControl.TrimStack {
- frame-image: url(./gtkHandle.png);
- handle-image: url(./gtkHandle.png);
- frame-cuts: 5px 1px 5px 16px;
-}
-
-
-/* ###################### Global Styles ########################## */
-
-/* ++++++ Remove these to have ONLY the main IDE shell dark ++++++ */
-
-Composite, ScrolledComposite, ExpandableComposite, TabFolder, CLabel, Label,
-ToolItem, Sash, Group, Hyperlink, RefactoringLocationControl, Link, FilteredTree,
-ProxyEntriesComposite, NonProxyHostsComposite, DelayedFilterCheckboxTree,
-Splitter, ScrolledPageContent, ViewForm, LaunchConfigurationFilteredTree,
-ContainerSelectionGroup, BrowseCatalogItem, EncodingSettings, MessageLine,
-ProgressMonitorPart, DocCommentOwnerComposite,
-Button /* SWT-BUG: checkbox inner label font color is not accessible */,
-ViewForm > ToolBar, /* SWT-BUG: ToolBar do not inherit rules from ViewForm */
-Shell [style~='SWT.DROP_DOWN'] > GradientCanvas, /* ignored */
-/* SWT-BUG dirty workaround [Eclipse Bug 419482]: a generic rule (eg: Composite > *) needed to catch an
- element without a CSS id, a CSS class and a seekable Widget name, cannot be overridden
- by a subsequent more specific rule used to correct the style for seekable elements (<1>): */
-TabFolder > Composite > *, /* Composite > CommitSearchPage$... */
-TabFolder > Composite > * > * /* [style~='SWT.NO_BACKGROUND'] <- generate E4 non-sense bugs in apparently not related other rules */, /* Composite > ContentMergeViewer$... > TextMergeViewer$... */
-DocCommentOwnerComposite > Group > *, /* Group > DocCommentOwnerComposite$... */
-TabFolder > Composite > ScrolledComposite > *, /* ScrolledComposite > ControlListViewer$... */
-Shell > Composite > Composite > *, /* Composite > StatusDialog$MessageLine (SWT-BUG: ignored) */
-Composite > Composite > Composite > ToolBar, /* Window->Preference (top toolbar) */
-Composite > Composite > Composite > Group > *, /* Group > CreateRefactoringScriptWizardPage$... */
-Shell > Composite > Composite > Composite > *, /* Composite > FilteredPreferenceDialog$... */
-ScrolledComposite > Composite > Composite > Composite > *, /* Composite > NewKeysPreferencePage$... */
-Shell > Composite > Composite > Composite > Composite > Composite > *, /* Composite > ShowRefactoringHistoryWizardPage$... */
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > *, /* Composite > RefactoringWizardDialog$... */
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > * /* Composite > RefactoringWizardDialog$... */ {
- background-color:#515658;
- color:#eeeeee;
-}
-
-Combo, List,
-/* It might be useless but currently it's needed due to a strange priority
- policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */
-Composite > List,
-TabFolder > Composite > List,
-TabFolder > Composite > * > List,
-DocCommentOwnerComposite > Group > List,
-TabFolder > Composite > ScrolledComposite > List,
-Shell > Composite > Composite > List,
-Composite > Composite > Composite > Group > List,
-Shell > Composite > Composite > Composite > List,
-ScrolledComposite > Composite > Composite > Composite > List,
-Shell > Composite > Composite > Composite > Composite > Composite > List,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > List,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > List {
- background-color: #41464A;
- color: #dddddd;
+.MPart.busy {
+ font-style: italic;
}
-Text {
- background-color: #515658;
- color: #cccccc;
+.MPart.highlighted {
+ font-weight: bold;
}
-Text[style~='SWT.DROP_DOWN'] {
- /* search boxes and input fields */
- background-color: #41464A;
- color: #dddddd;
-}
-Text[style~='SWT.SEARCH'],
-Text[style~='SWT.SEARCH'] + Label /* SWT-BUG: adjacent sibling selector is ignored (CSS2.1) */ {
- /* search boxes */
- background-color: #949DA5;
- color: #ffffff;
-}
-Text[style~='SWT.POP_UP'] {
- background-color: #34383B;
- color: #dddddd;
-}
-Text[style~='SWT.READ_ONLY'] {
- background-color: #515658;
- color: #bbbbbb;
-}
-/* Text[style~='SWT.POP_UP'][style~='SWT.ERROR_MENU_NOT_POP_UP'][style~='SWT.ICON_WARNING'] {
- /* Dirty way to catch error popup labels
- (currently it's impossible since there's no difference
- at all from some other Text elements) */
-/* background-color: #742025;
- color: #FF9997;
-} */
-
-StyledText {
- background-color: #383C3E;
- color: #dddddd;
+CTabItem,
+CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR';
}
-
-Composite > StyledText,
-Shell [style~='SWT.DROP_DOWN'] > StyledText, /* for eg. folded code popup (but it's ignored) */
-/* It might be useless but currently it's needed due to a strange priority
- policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */
-ScrolledComposite > Composite > Composite > Composite > StyledText {
- background-color: #252525;
- color: #dddddd;
+CTabItem:selected,
+CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR';
}
-ScrolledFormText, FormText {
- background-color: #687174;
- color: #eeeeee;
+.MPartStack.active > CTabItem,
+.MPartStack.active > CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR';
}
-
-Table,
-/* It might be useless but currently it's needed due to a strange priority
- policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */
-Composite > Table,
-TabFolder > Composite > Table,
-TabFolder > Composite > * > Table,
-DocCommentOwnerComposite > Group > Table,
-TabFolder > Composite > ScrolledComposite > Table,
-Shell > Composite > Composite > Table,
-Composite > Composite > Composite > Group > Table,
-Shell > Composite > Composite > Composite > Table,
-ScrolledComposite > Composite > Composite > Composite > Table,
-Shell > Composite > Composite > Composite > Composite > Composite > Table,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Table,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Table {
- background-color: #35393C;
- color: #dddddd;
+.MPartStack.active > CTabItem:selected,
+.MPartStack.active > CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR';
}
-Tree,
-/* It might be useless but currently it's needed due to a strange priority
- policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */
-Composite > Tree,
-TabFolder > Composite > Tree,
-TabFolder > Composite > * > Tree,
-DocCommentOwnerComposite > Group > Tree,
-TabFolder > Composite > ScrolledComposite > Tree,
-Shell > Composite > Composite > Tree,
-Composite > Composite > Composite > Group > Tree,
-Shell > Composite > Composite > Composite > Tree,
-ScrolledComposite > Composite > Composite > Composite > Tree,
-Shell > Composite > Composite > Composite > Composite > Composite > Tree,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Tree,
-Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Tree {
- background-color: #2F2F2F;
- color: #CCC;
+.MPartStack.active.noFocus > CTabItem:selected {
+ color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR';
}
-/* prevent CSS Spy red borders to be grayed with a generic Shell selector */
-Shell[style~='SWT.SHADOW_ETCHED_OUT'], Shell[style~='SWT.SHADOW_ETCHED_IN'],
-Shell[style~='SWT.CHECK'], Shell[style~='SWT.TITLE'], Shell[style~='SWT.OK'],
-Shell[style~='SWT.CANCEL'], Shell[style~='SWT.ABORT'], Shell[style~='SWT.DROP_DOWN'],
-Shell[style~='SWT.ARROW'], Shell[style~='SWT.RADIO'], Shell[style~='SWT.SINGLE'],
-Shell[style~='SWT.SHADOW_IN'], Shell[style~='SWT.TOOL'], Shell[style~='SWT.RESIZE'],
-Shell[style~='SWT.SHELL_TRIM'], Shell[style~='SWT.FILL'], Shell[style~='SWT.ALPHA'],
-Shell[style~='SWT.BORDER'], Shell[style~='SWT.DIALOG_TRIM'], Shell[style~='SWT.IGNORE'],
-Shell[style~='SWT.FULL_SELECTION'], Shell[style~='SWT.SMOOTH'], Shell[style~='SWT.VIRTUAL'],
-Shell[style~='SWT.APPLICATION_MODAL'], Shell[style~='SWT.MEDIUM'], Shell[style~='SWT.LONG']
-{
- background-color: #515658;
- color: #cccccc;
-}
-Shell > Composite > Table[style~='SWT.DROP_DOWN'] {
- background-color: #35393C;
- color: #dddddd;
+CTabItem.busy {
+ color: #888888;
}
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite,
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Composite,
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite ScrolledComposite,
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Canvas,
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite StyledText,
-Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Label {
-/* Error information popup */
- background-color: #2F2F2F;
- color: #CCC;
+#PerspectiveSwitcher {
+ eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
}
-TextSearchControl {
- background-color: #41464A;
- color: #dddddd;
+.MToolControl.TrimStack {
+ /*frame-image: url(./gtkTSFrame.png);*/
+ handle-image: url(./dragHandle.png);
+ frame-cuts: 5px 1px 5px 16px;
}
-ViewerPane,
-DrillDownComposite,
-ViewerPane > ToolBar,
-DrillDownComposite > ToolBar {
- background-color: #232323;
- color: #CCC;
+.MToolBar.Draggable {
+ handle-image: url(./dragHandle.png);
}
-ProgressInfoItem,
-CompareViewerPane,
-CompareViewerPane > * {
- background-color: #333;
- color: #eeeeee;
+.MToolControl.Draggable {
+ handle-image: url(./dragHandle.png);
}
-ProgressIndicator {
- background-color: #777;
- color: #eeeeee;
+.DragFeedback {
+ background-color: COLOR-WIDGET-NORMAL-SHADOW;
}
-DiscoveryItem,
-DiscoveryItem Label,
-DiscoveryItem Composite {
- background-color: #383C3E;
- color: #dddddd;
-}
-DiscoveryItem StyledText {
- background-color: #383C3E;
- color: #aaaaaa;
-}
-DiscoveryItem Link {
- background-color: #383C3E;
- color: #8B9498;
+.ModifiedDragFeedback {
+ background-color: #4176AF;
}
-CatalogSwitcher,
-CatalogSwitcher > ScrolledComposite > Composite > Composite /* ignored because hard-coded */,
-CategoryItem {
+.MTrimmedWindow {
background-color: #515658;
- color: #dddddd;
-}
-CategoryItem > GradientCanvas > Label { /* SWT-BUG: GradientCanvas styles are ignored */
- background-color: #fafafa;
- color: #333333;
}
-WebSite {
- background-color: #41464A;
- color: #dddddd;
-}
-
-.MPartStack {
- background-color: #222;
- color: #f7f8f8;
- swt-tab-outline: #484848; /* border color for selected tab */
- swt-outer-keyline-color: #4B4C4F; /* border color for whole tabs container */
- swt-unselected-tabs-color: #494A4D #404043 #272727 99% 100%; /* title background for unselected tab */
- swt-selected-tab-fill: #292929; /* title background for selected tab (gradient bottom color) */
+.MTrimBar {
+ background-color: #515658;
}
-CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
- /* Need to restore a native renderer or the bottom inner tabs won't be displayed */
- swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active {
+ swt-shadow-visible: false;
}
-/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
-
CTabFolder Tree, CTabFolder Canvas {
background-color: #2F2F2F;
@@ -321,7 +142,7 @@ CTabFolder Tree, CTabFolder Canvas {
color: #CCC;
}
-.MPartStack.active Table{
+.MPartStack.active Table {
background-color: #2F2F2F;
color: #CCC;
}
@@ -330,104 +151,7 @@ CTabFolder Tree, CTabFolder Canvas {
background-color: #313538;
color: #F5F5F5;
}
-/* not triggered
-.View.active {
- background-color: #333;
-} */
-
-CTabItem,
-CTabItem CLabel{
- background-color: #333;
- color: #BBB;
-}
-CTabItem:selected,
-CTabItem:selected CLabel {
- color: #FFF;
-}
-
-Form,
-TitleRegion,
-TitleRegion > * {
- background-color: #505F70;
- color: #9AC9D8;
-}
-
-Section {
- background-color: #4F5355;
- color: #AEBED0;
-}
-
-Form > LayoutComposite > LayoutComposite > * {
- background-color: #515658;
- color: #EEEEEE;
-}
-
-LayoutComposite, LayoutComposite > FormText,
-LayoutComposite > Label,
-LayoutComposite > Button,
-LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/{
- background-color: #4F5355;
- color: #F4F7F7;
-}
-
-LayoutComposite ScrolledPageBook,
-LayoutComposite Sash {
- background-color: #4F5355;
- color: #F4F7F7;
-}
-
-LayoutComposite > Text,
-LayoutComposite > Combo {
- background-color: #414445;
- color: #F4F7F7;
-}
-
-LayoutComposite > Table {
- background-color: #333;
- color: #FFF;
-}
-
-Twistie {
- color: #E8E4DF;
-}
-#SearchField {
- /* background-image: url('./searchbox.png'); */
- /* SWT-BUG: textures are applied as a label over the native ones, */
- /* in this way textures with alpha color are not usable; */
- /* default margins and padding cannot be modified and textures are not */
- /* scaled properly to fit the container size: this makes the result ugly, */
- /* moreover a texture is drawn over the widget, so also the text is covered */
- color: #f0f0f0;
-}
-
-/* Button {
- background-color: inherit; /* ignored */
- /* background-image: url('./button_bg.png') */
-/* } */
-
-/* Button[style~='SWT.CHECK'] { */
- /* currently, Button object isn't consistent (eg. also a checkbox/radio is seen as Button) */
- /* so, css rules applied to Button have to be overridden for non-Button matches */
-/* } */
-
-.MPartSashContainer {
- background-color: #515658;
- color: #EEEEEE;
-}
-
-PageSiteComposite, PageSiteComposite > CImageLabel {
- color: #EEEEEE;
-}
-PageSiteComposite > PropertyTable {
- background-color: #333;
- color: #EEEEEE;
-}
-
-FlyoutControlComposite, FlyoutControlComposite ToolBar, FlyoutControlComposite CLabel {
- background-color: #3f4447;
- color: #EEEEEE;
-}
/* ###################### Top Toolbar ########################## */
diff --git a/bundles/org.eclipse.ui.themes/css/e4-dark_mac.css b/bundles/org.eclipse.ui.themes/css/e4-dark_mac.css
new file mode 100644
index 0000000..784f2ad
--- /dev/null
+++ b/bundles/org.eclipse.ui.themes/css/e4-dark_mac.css
@@ -0,0 +1,341 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
+ *******************************************************************************/
+
+/*******************************************************************************
+ * The following bugs are referred to in this style sheet
+ * 1.) Bug 419482 - Cascading policy in CSS
+ * 2.) Bug 430052 - Imported rules cannot be overridden
+ *******************************************************************************/
+
+
+/* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css");
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css");
+
+
+.MTrimmedWindow.topLevel {
+ margin-top: 3px;
+ margin-bottom: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+.MPartStack, .MPart {
+ font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
+}
+
+.MPartStack {
+ swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+ padding: 0px 2px 2px;
+ swt-shadow-visible: false;
+ swt-mru-visible: true;
+ swt-corner-radius: 16px;
+}
+
+.MPartStack.active {
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+}
+
+.MPartStack.active.noFocus {
+ swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
+}
+
+.MPartStack.empty {
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
+ swt-tab-outline: #535354; /* border color for selected tab */
+ swt-outer-keyline-color: #515658; /* border color for whole tabs container */
+}
+
+.MPart.busy {
+ font-style: italic;
+}
+
+.MPart.highlighted {
+ font-weight: bold;
+}
+
+CTabItem,
+CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR';
+}
+CTabItem:selected,
+CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR';
+}
+
+.MPartStack.active > CTabItem,
+.MPartStack.active > CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR';
+}
+.MPartStack.active > CTabItem:selected,
+.MPartStack.active > CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR';
+}
+
+.MPartStack.active.noFocus > CTabItem:selected {
+ color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR';
+}
+
+CTabItem.busy {
+ color: #888888;
+}
+
+#PerspectiveSwitcher {
+ eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
+}
+
+.MToolControl.TrimStack {
+ /*frame-image: url(./gtkTSFrame.png);*/
+ handle-image: url(./dragHandle.png);
+ frame-cuts: 5px 1px 5px 16px;
+}
+
+.MToolBar.Draggable {
+ handle-image: url(./dragHandle.png);
+}
+
+.MToolControl.Draggable {
+ handle-image: url(./dragHandle.png);
+}
+
+.DragFeedback {
+ background-color: COLOR-WIDGET-NORMAL-SHADOW;
+}
+
+.ModifiedDragFeedback {
+ background-color: #4176AF;
+}
+
+.MTrimmedWindow {
+ background-color: #515658;
+}
+
+.MTrimBar {
+ background-color: #515658;
+}
+
+CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active {
+ swt-shadow-visible: false;
+}
+
+
+CTabFolder Tree, CTabFolder Canvas {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+.MPartStack.active Tree,
+.MPartStack.active CTabFolder Canvas {
+ background-color: #262626;
+ color: #CCC;
+}
+
+.MPartStack.active Table {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+
+.View {
+ background-color: #313538;
+ color: #F5F5F5;
+}
+
+
+/* ###################### Top Toolbar ########################## */
+
+#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher {
+ eclipse-perspective-keyline-color: #585858;
+ background-color: #515658 #515658 100%;
+ handle-image: none;
+ color: #EBE8E4;
+}
+
+
+/* #################### Bottom Status Bar ######################## */
+
+#org-eclipse-ui-StatusLine,
+#org-eclipse-ui-ProgressBar,
+#org-eclipse-ui-ProgressBar Canvas {
+ color: #CCCCCC;
+}
+#org-eclipse-ui-StatusLine CLabel {
+ color: #BDBAB7;
+}
+
+StatusLine, ImageBasedFrame{
+ color: #BDBAB7;
+}
+
+
+
+/* ###################### Global Styles ########################## */
+
+TabFolder,
+/* the following are required due to Bug 419482: */
+TabFolder > Composite > TabFolder,
+TabFolder > Composite > * > TabFolder,
+DocCommentOwnerComposite > Group > TabFolder,
+TabFolder > Composite > ScrolledComposite > TabFolder,
+Shell > Composite > Composite > TabFolder,
+Composite > Composite > Composite > Group > TabFolder,
+Shell > Composite > Composite > Composite > TabFolder,
+ScrolledComposite > Composite > Composite > Composite > TabFolder,
+Shell > Composite > Composite > Composite > Composite > Composite > TabFolder,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > TabFolder,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > TabFolder {
+ /* background-color is not applied to the whole button,
+ but text color is changed, so it appear light on light */
+ background-color: #515658;
+ color: #222;
+}
+
+Button,
+/* the following are required due to Bug 419482: */
+Composite > Button,
+TabFolder > Composite > Button,
+TabFolder > Composite > * > Button,
+DocCommentOwnerComposite > Group > Button,
+TabFolder > Composite > ScrolledComposite > Button,
+Shell > Composite > Composite > Button,
+Composite > Composite > Composite > Group > Button,
+Shell > Composite > Composite > Composite > Button,
+ScrolledComposite > Composite > Composite > Composite > Button,
+Shell > Composite > Composite > Composite > Composite > Composite > Button,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button,
+Form > LayoutComposite > LayoutComposite > Button,
+.MPart Button,
+.MPartStack.active .MPart Button,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button,
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button {
+ /* background-color is not applied to the whole button,
+ but text color is changed, so it appear light on light */
+ background-color: #515658;
+ color: #222;
+}
+Button[style~='SWT.CHECK'],
+/* the following are required due to Bug 419482: */
+Composite > Button[style~='SWT.CHECK'],
+TabFolder > Composite > Button[style~='SWT.CHECK'],
+TabFolder > Composite > * > Button[style~='SWT.CHECK'],
+DocCommentOwnerComposite > Group > Button[style~='SWT.CHECK'],
+TabFolder > Composite > ScrolledComposite > Button[style~='SWT.CHECK'],
+Shell > Composite > Composite > Button[style~='SWT.CHECK'],
+Composite > Composite > Composite > Group > Button[style~='SWT.CHECK'],
+Shell > Composite > Composite > Composite > Button[style~='SWT.CHECK'],
+ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.CHECK'],
+Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.CHECK'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button[style~='SWT.CHECK'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button[style~='SWT.CHECK'],
+Form > LayoutComposite > LayoutComposite > Button[style~='SWT.CHECK'],
+.MPart Button[style~='SWT.CHECK'],
+.MPartStack.active .MPart Button[style~='SWT.CHECK'],
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'],
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'] {
+ /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
+ /* so, css rules applied to Button have to be overridden for non-Button matches */
+ color: #ddd;
+}
+Button[style~='SWT.RADIO'],
+/* the following are required due to Bug 419482: */
+Composite > Button[style~='SWT.RADIO'],
+TabFolder > Composite > Button[style~='SWT.RADIO'],
+TabFolder > Composite > * > Button[style~='SWT.RADIO'],
+DocCommentOwnerComposite > Group > Button[style~='SWT.RADIO'],
+TabFolder > Composite > ScrolledComposite > Button[style~='SWT.RADIO'],
+Shell > Composite > Composite > Button[style~='SWT.RADIO'],
+Composite > Composite > Composite > Group > Button[style~='SWT.RADIO'],
+Shell > Composite > Composite > Composite > Button[style~='SWT.RADIO'],
+ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.RADIO'],
+Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.RADIO'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button[style~='SWT.RADIO'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button[style~='SWT.RADIO'],
+Form > LayoutComposite > LayoutComposite > Button[style~='SWT.RADIO'],
+.MPart Button[style~='SWT.RADIO'],
+.MPartStack.active .MPart Button[style~='SWT.RADIO'],
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'],
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'] {
+ /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
+ /* so, css rules applied to Button have to be overridden for non-Button matches */
+ color: #ddd;
+}
+
+Combo,
+/* the following are required due to Bug 419482: */
+Composite > Combo,
+TabFolder > Composite > Combo,
+TabFolder > Composite > * > Combo,
+DocCommentOwnerComposite > Group > Combo,
+TabFolder > Composite > ScrolledComposite > Combo,
+Shell > Composite > Composite > Combo,
+Composite > Composite > Composite > Group > Combo,
+Shell > Composite > Composite > Composite > Combo,
+ScrolledComposite > Composite > Composite > Composite > Combo,
+Shell > Composite > Composite > Composite > Composite > Composite > Combo,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Combo,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Combo,
+Form > LayoutComposite > LayoutComposite > Combo,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo {
+ background-color: #41464A; /* ignored */
+ color: #222;
+}
+Combo:selected,
+/* the following are required due to Bug 419482: */
+Composite > Combo:selected,
+TabFolder > Composite > Combo:selected,
+TabFolder > Composite > * > Combo:selected,
+DocCommentOwnerComposite > Group > Combo:selected,
+TabFolder > Composite > ScrolledComposite > Combo:selected,
+Shell > Composite > Composite > Combo:selected,
+Composite > Composite > Composite > Group > Combo:selected,
+Shell > Composite > Composite > Composite > Combo:selected,
+ScrolledComposite > Composite > Composite > Composite > Combo:selected,
+Shell > Composite > Composite > Composite > Composite > Composite > Combo:selected,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Combo:selected,
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Combo:selected,
+Form > LayoutComposite > LayoutComposite > Combo:selected,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo:selected {
+ background-color: #41464A;
+ color: #FFF;
+}
+
+Text[style~='SWT.SEARCH'],
+/* the following are required due to Bug 419482: */
+Composite > Text[style~='SWT.SEARCH'],
+TabFolder > Composite > Text[style~='SWT.SEARCH'],
+TabFolder > Composite > * > Text[style~='SWT.SEARCH'],
+DocCommentOwnerComposite > Group > Text[style~='SWT.SEARCH'],
+TabFolder > Composite > ScrolledComposite > Text[style~='SWT.SEARCH'],
+Shell > Composite > Composite > Text[style~='SWT.SEARCH'],
+Composite > Composite > Composite > Group > Text[style~='SWT.SEARCH'],
+Shell > Composite > Composite > Composite > Text[style~='SWT.SEARCH'],
+ScrolledComposite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'],
+Shell > Composite > Composite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Text[style~='SWT.SEARCH'],
+Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Text[style~='SWT.SEARCH'],
+#org-eclipse-pde-runtime-LogView Text[style~='SWT.SEARCH'],
+Form > LayoutComposite > LayoutComposite > Text[style~='SWT.SEARCH'],
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Text[style~='SWT.SEARCH'] {
+ /* search boxes */
+ background-color: #949da5; /* background-color is hard-coded */
+ color: #333;
+}
diff --git a/bundles/org.eclipse.ui.themes/css/e4-dark_win.css b/bundles/org.eclipse.ui.themes/css/e4-dark_win.css
new file mode 100644
index 0000000..772b605
--- /dev/null
+++ b/bundles/org.eclipse.ui.themes/css/e4-dark_win.css
@@ -0,0 +1,297 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
+ *******************************************************************************/
+
+/*******************************************************************************
+ * The following bugs are referred to in this style sheet
+ * 1.) Bug 430052 - Imported rules cannot be overridden
+ *******************************************************************************/
+
+
+/* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css");
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */
+@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css");
+
+
+.MTrimmedWindow.topLevel {
+ margin-top: 3px;
+ margin-bottom: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+.MPartStack, .MPart {
+ font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
+}
+
+.MPartStack {
+ swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+ padding: 0px 2px 2px;
+ swt-shadow-visible: false;
+ swt-mru-visible: true;
+ swt-corner-radius: 16px;
+}
+
+.MPartStack.active {
+ swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
+ swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
+ swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
+ swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
+}
+
+.MPartStack.active.noFocus {
+ swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
+}
+
+.MPartStack.empty {
+ swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
+ swt-tab-outline: #535354; /* border color for selected tab */
+ swt-outer-keyline-color: #515658; /* border color for whole tabs container */
+}
+
+.MPart.busy {
+ font-style: italic;
+}
+
+.MPart.highlighted {
+ font-weight: bold;
+}
+
+CTabItem,
+CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR';
+}
+CTabItem:selected,
+CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR';
+}
+
+.MPartStack.active > CTabItem,
+.MPartStack.active > CTabItem CLabel {
+ background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR';
+}
+.MPartStack.active > CTabItem:selected,
+.MPartStack.active > CTabItem:selected CLabel {
+ color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR';
+}
+
+.MPartStack.active.noFocus > CTabItem:selected {
+ color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR';
+}
+
+CTabItem.busy {
+ color: #888888;
+}
+
+#PerspectiveSwitcher {
+ eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
+}
+
+.MToolControl.TrimStack {
+ /*frame-image: url(./gtkTSFrame.png);*/
+ handle-image: url(./dragHandle.png);
+ frame-cuts: 5px 1px 5px 16px;
+}
+
+.MToolBar.Draggable {
+ handle-image: url(./dragHandle.png);
+}
+
+.MToolControl.Draggable {
+ handle-image: url(./dragHandle.png);
+}
+
+.DragFeedback {
+ background-color: COLOR-WIDGET-NORMAL-SHADOW;
+}
+
+.ModifiedDragFeedback {
+ background-color: #4176AF;
+}
+
+.MTrimmedWindow {
+ background-color: #515658;
+}
+
+.MTrimBar {
+ background-color: #515658;
+}
+
+CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active {
+ swt-shadow-visible: false;
+}
+
+
+CTabFolder Tree, CTabFolder Canvas {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+.MPartStack.active Tree,
+.MPartStack.active CTabFolder Canvas {
+ background-color: #262626;
+ color: #CCC;
+}
+
+.MPartStack.active Table {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+
+.View {
+ background-color: #313538;
+ color: #F5F5F5;
+}
+
+
+/* ####################### Top Toolbar ########################## */
+
+#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher {
+ eclipse-perspective-keyline-color: #585858;
+ background-color: #515658 #515658 100%;
+ handle-image: none;
+ color: #EBE8E4;
+}
+
+
+/* ##################### Bottom Status Bar ####################### */
+
+#org-eclipse-ui-StatusLine,
+#org-eclipse-ui-ProgressBar,
+#org-eclipse-ui-ProgressBar Canvas {
+ color: #CCCCCC;
+}
+#org-eclipse-ui-StatusLine CLabel {
+ color: #BDBAB7;
+}
+
+StatusLine, ImageBasedFrame{
+ color: #BDBAB7;
+}
+
+
+
+/* ####################### CSS for .MParts ####################### */
+
+/* Make the content of the Form brighter because the color of
+ the font of some widgets is hard-coded to be black on Window */
+
+.MPart Form,
+.MPart Form Sash,
+.MPart Form Label,
+.MPart Form Section,
+.MPart Form FormText,
+.MPart Form Link,
+.MPart Form Hyperlink,
+.MPart Form ImageHyperlink,
+.MPart Form Button,
+.MPart Form Group,
+.MPart Form SashForm,
+.MPart Form LayoutComposite,
+.MPart Form ScrolledPageBook,
+.MPart Form DependenciesComposite,
+.MPart Form ListEditorComposite,
+.MPart Form Text[style~='SWT.READ_ONLY'],
+.MPart Form > LayoutComposite > LayoutComposite > ToolBar,
+.MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > *, /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/
+.MPartStack.active .MPart Form,
+.MPartStack.active .MPart Form Sash,
+.MPartStack.active .MPart Form Label,
+.MPartStack.active .MPart Form Section,
+.MPartStack.active .MPart Form FormText,
+.MPartStack.active .MPart Form Link,
+.MPartStack.active .MPart Form Hyperlink,
+.MPartStack.active .MPart Form ImageHyperlink,
+.MPartStack.active .MPart Form Button,
+.MPartStack.active .MPart Form Group,
+.MPartStack.active .MPart Form SashForm,
+.MPartStack.active .MPart Form LayoutComposite,
+.MPartStack.active .MPart Form ScrolledPageBook,
+.MPartStack.active .MPart Form DependenciesComposite,
+.MPartStack.active .MPart Form ListEditorComposite,
+.MPartStack.active .MPart Form Text[style~='SWT.READ_ONLY'],
+.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar,
+.MPartStack.active .MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ {
+ background-color: #4f5355;
+ color: #f4f7f7;
+}
+#org-eclipse-help-ui-HelpView Form,
+#org-eclipse-help-ui-HelpView Form Sash,
+#org-eclipse-help-ui-HelpView Form Label,
+#org-eclipse-help-ui-HelpView Form Section,
+#org-eclipse-help-ui-HelpView Form FormText,
+#org-eclipse-help-ui-HelpView Form Hyperlink,
+#org-eclipse-help-ui-HelpView Form Button,
+#org-eclipse-help-ui-HelpView Form Group,
+#org-eclipse-help-ui-HelpView Form LayoutComposite,
+#org-eclipse-help-ui-HelpView Form ScrolledPageBook,
+#org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
+ background-color: #2F2F2F;
+ color: #CCCCCC;
+}
+.MPartStack.active #org-eclipse-help-ui-HelpView Form,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Sash,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Label,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Section,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form FormText,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Hyperlink,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Button,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Group,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form LayoutComposite,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form ScrolledPageBook,
+.MPartStack.active #org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
+ background-color: #262626;
+ color: #BBBBBB;
+}
+.MPart Form Section Tree,
+.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree,
+.MPartStack.active .MPart Form Section Tree,
+.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree {
+ background-color: #313538;
+ color: #DDDDDD;
+}
+.MPart Form DatePicker > ImageHyperlink,
+.MPart Form ScheduleDatePicker > ImageHyperlink {
+ background-color: #3f4447;
+ color: #BBBBBB;
+}
+.MPartStack.active .MPart Form DatePicker > ImageHyperlink,
+.MPartStack.active .MPart Form ScheduleDatePicker > ImageHyperlink {
+ background-color: #313538;
+ color: #AAAAAA;
+}
+.MPart PageBook > Form > LayoutComposite {
+ background-color: #2F2F2F;
+ color: #CCC;
+}
+.MPartStack.active .MPart PageBook > Form > LayoutComposite {
+ background-color: #262626;
+ color: #BBBBBB;
+}
+.MPart Form FormHeading LayoutComposite,
+.MPart Form FormHeading ImageHyperlink {
+ background-color: #505f70;
+ color: #9ac9d8;
+}
+.MPartStack.active .MPart Form FormHeading LayoutComposite,
+.MPartStack.active .MPart Form FormHeading ImageHyperlink {
+ background-color: #415062;
+ color: #9ac9d8;
+}
diff --git a/bundles/org.eclipse.ui.themes/plugin.properties b/bundles/org.eclipse.ui.themes/plugin.properties
index 11664ef..30826db 100644
--- a/bundles/org.eclipse.ui.themes/plugin.properties
+++ b/bundles/org.eclipse.ui.themes/plugin.properties
@@ -15,7 +15,7 @@ theme.classic = Classic
theme.gtk = GTK
theme.mac = Mac
theme.win7 = Windows 7
-theme.dark = Dark Theme
+theme.dark = Dark
theme.winxpBlue = Windows XP Blue
theme.winxpOlive = Windows XP Olive
theme.win7Classic = Windows 7 Classic
diff --git a/bundles/org.eclipse.ui.themes/plugin.xml b/bundles/org.eclipse.ui.themes/plugin.xml
index 0117d6a..ddc2dea 100644
--- a/bundles/org.eclipse.ui.themes/plugin.xml
+++ b/bundles/org.eclipse.ui.themes/plugin.xml
@@ -15,10 +15,23 @@
label="%theme.classic">
</theme>
<theme
- basestylesheeturi="css/e4-dark.css"
- id="org.eclipse.ui.theme.e4_dark"
- label="%theme.dark">
- </theme>
+ basestylesheeturi="css/e4-dark.css"
+ id="org.eclipse.e4.ui.css.theme.e4_dark"
+ label="%theme.dark"
+ os="linux">
+ </theme>
+ <theme
+ basestylesheeturi="css/e4-dark_win.css"
+ id="org.eclipse.e4.ui.css.theme.e4_dark"
+ label="%theme.dark"
+ os="win32">
+ </theme>
+ <theme
+ basestylesheeturi="css/e4-dark_mac.css"
+ id="org.eclipse.e4.ui.css.theme.e4_dark"
+ label="%theme.dark"
+ os="macosx">
+ </theme>
<theme
basestylesheeturi="css/e4_default_gtk.css"
id="org.eclipse.e4.ui.css.theme.e4_default"
@@ -52,7 +65,7 @@
</theme>
<theme
basestylesheeturi="css/e4_default_winxp_blu.css"
- id="org.eclipse.e4.ui.css.theme.e4_default"
+ id="org.eclipse.e4.ui.css.theme.e4_default.xpblu"
label="%theme.winxpBlue"
os="win32">
</theme>
@@ -69,12 +82,12 @@
os="win32"
os_version="6.1">
</theme>
-
- <themeAssociation
+
+ <themeAssociation
themeId="org.eclipse.e4.ui.css.theme.e4_classic"
colorAndFontId="org.eclipse.ui.defaultTheme">
- </themeAssociation>
-
+ </themeAssociation>
+
</extension>
</plugin>