Fixed Styling and window system resource handling
This commit is contained in:
@ -1,205 +1,78 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2010, 2014 IBM Corporation 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
|
||||
* Lars Vogel <Lars.Vogel@gmail.com> - Bug 420836
|
||||
*******************************************************************************/
|
||||
|
||||
/* New ColorDefinitions for the E4 default 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_OUTER_KEYLINE_COLOR',
|
||||
'#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR',
|
||||
'#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_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_OUTER_KEYLINE_COLOR',
|
||||
'#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR',
|
||||
'#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
|
||||
Label, Button[style~='SWT.CHECK'] {
|
||||
color: black;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_START')
|
||||
Composite Label {
|
||||
color: black;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_END');
|
||||
#SeparatorLabel {
|
||||
color: #1d659f;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTER_KEYLINE_COLOR');
|
||||
/*
|
||||
Text {
|
||||
font: Verdana 8px;
|
||||
}
|
||||
*/
|
||||
|
||||
Composite Text {
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_INNER_KEYLINE_COLOR');
|
||||
SashForm {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
|
||||
color: #B6BCCC;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTLINE_COLOR');
|
||||
#DetailsView {
|
||||
background-color: #e8e8e8 #cccccc 60%;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START');
|
||||
Table {
|
||||
/*background-color: #e8e8e8 #cccccc 60%;*/
|
||||
background-color: #f7f7f7 60%;
|
||||
color: black;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END');
|
||||
Tree {
|
||||
/*background-color: #e8e8e8 #cccccc 60%;*/
|
||||
background-color: #f7f7f7 60%;
|
||||
color: black;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
|
||||
color: #CCCCCC;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR');
|
||||
.MTrimBar {
|
||||
background-color: white #dddddd #eeeeee 35% 25% 25%;
|
||||
color: white;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
|
||||
color: #FFFFFF;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_INNER_KEYLINE_COLOR');
|
||||
CTabFolder {
|
||||
/* The tab rendering background for the min/max toolbar pulls
|
||||
* background from the tabfolder's background (or it's parent?)
|
||||
* and so the gradient doesn't come through. So just set the
|
||||
* tabfolder's background to a color */
|
||||
/*background-color: white #dddddd #eeeeee 35% 25% 25%;*/
|
||||
background-color: #eeeeee;
|
||||
color: white;
|
||||
swt-simple: true;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
|
||||
color: #B6BCCC;
|
||||
category: '#org-eclipse-ui-presentation-default';
|
||||
label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR');
|
||||
}
|
||||
|
||||
/* Already existing ColorDefinitions overridden for the E4 default theme */
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
|
||||
color: #dddfe5;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.MTrimmedWindow.topLevel {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.MPart.busy {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.MPart.highlighted {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.MPartStack, .MPart {
|
||||
font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
|
||||
CTabItem {
|
||||
color: black;
|
||||
}
|
||||
|
||||
CTabItem:selected {
|
||||
color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR';
|
||||
background-color: #cccccc #e8e8e8 60%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.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% 100%;
|
||||
swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
|
||||
swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR';
|
||||
swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
|
||||
swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR';
|
||||
padding: 0px 2px 2px;
|
||||
swt-shadow-visible: false;
|
||||
swt-mru-visible: false;
|
||||
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
|
||||
CTabItem.active:selected {
|
||||
background-color: #ffffff #cccccc #dddddd 50% 50%;
|
||||
color: #1d659f;
|
||||
font: bold;
|
||||
}
|
||||
|
||||
.MPartStack.active {
|
||||
swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100% 100%;
|
||||
swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
|
||||
swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR';
|
||||
swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
|
||||
swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
|
||||
swt-shadow-visible: false;
|
||||
}
|
||||
|
||||
.MPartStack.active.noFocus {
|
||||
swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
|
||||
}
|
||||
|
||||
.MPartStack.active.noFocus > CTabItem:selected {
|
||||
color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR';
|
||||
}
|
||||
|
||||
#PerspectiveSwitcher {
|
||||
eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
|
||||
}
|
||||
|
||||
.MToolControl.TrimStack {
|
||||
frame-image: url(./winXPTSFrame.png);
|
||||
handle-image: url(./winXPHandle.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: #A0A000;
|
||||
}
|
||||
|
||||
.MPartStack > Composite {
|
||||
background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END';
|
||||
}
|
||||
|
||||
.MPartStack.active > Composite {
|
||||
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
|
||||
}
|
||||
|
||||
.MPartStack.active.noFocus > Composite {
|
||||
background-color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END';
|
||||
Shell {
|
||||
background-color: #e8e8e8 #cccccc 60%;
|
||||
swt-background-mode: default;
|
||||
}
|
||||
|
Reference in New Issue
Block a user