Statistiques
| Révision :

root / tmp / org.txm.rcp / css / e4_basestyle.css @ 2021

Historique | Voir | Annoter | Télécharger (7,12 ko)

1
/*******************************************************************************
2
 * Copyright (c) 2010, 2014 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
10
 *     Lars Vogel <Lars.Vogel@gmail.com> - Bug 420836
11
 *******************************************************************************/
12

    
13
/* New ColorDefinitions for the E4 default theme */ 
14
ThemesExtension { color-definition: 
15
        '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START', 
16
        '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END',
17
        '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR',
18
        '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR',
19
        '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR',
20
        '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START',
21
        '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END',
22
        '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR',
23
        '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR',
24
        '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
25
}
26

    
27
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
28
        color: #FFFFFF;
29
        category: '#org-eclipse-ui-presentation-default';
30
        label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_START')
31
}
32

    
33
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
34
        color: #FFFFFF;
35
        category: '#org-eclipse-ui-presentation-default';
36
        label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_END');
37
}
38

    
39
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
40
        color: #FFFFFF;
41
        category: '#org-eclipse-ui-presentation-default';
42
        label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTER_KEYLINE_COLOR');
43
}
44

    
45
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR {
46
        color: #FFFFFF;
47
        category: '#org-eclipse-ui-presentation-default';
48
        label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_INNER_KEYLINE_COLOR');
49
}
50

    
51
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
52
        color: #B6BCCC;
53
        category: '#org-eclipse-ui-presentation-default';
54
        label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTLINE_COLOR');
55
}
56

    
57
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
58
        color: #FFFFFF;
59
        category: '#org-eclipse-ui-presentation-default';
60
        label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START');
61
}
62

    
63
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
64
        color: #FFFFFF;
65
        category: '#org-eclipse-ui-presentation-default';
66
        label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END');
67
}
68

    
69
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
70
        color: #CCCCCC;
71
        category: '#org-eclipse-ui-presentation-default';
72
        label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR');
73
}
74

    
75
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
76
        color: #FFFFFF;
77
        category: '#org-eclipse-ui-presentation-default';
78
        label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_INNER_KEYLINE_COLOR');
79
}
80

    
81
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
82
        color: #B6BCCC;
83
        category: '#org-eclipse-ui-presentation-default';
84
        label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR');
85
}
86

    
87
/* Already existing ColorDefinitions overridden for the E4 default theme */
88
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
89
        color: #dddfe5;
90
}
91

    
92
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
93
        color: #FFFFFF;
94
}
95

    
96
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{
97
        color: #FFFFFF;
98
}
99

    
100
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
101
        color: #FFFFFF;
102
}
103

    
104
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
105
        color: #FFFFFF;
106
}
107

    
108
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
109
        color: #FFFFFF;
110
}
111

    
112
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
113
        /* Never use black */
114
        color: #101010;
115
}
116

    
117
.MTrimmedWindow.topLevel {
118
        margin-top: 0px;
119
        margin-bottom: 0px;
120
        margin-left: 1px;
121
        margin-right: 1px;
122
}
123

    
124
.MPart.busy {
125
        font-style: italic;
126
}
127

    
128
.MPart.highlighted {
129
        font-weight: bold;
130
}
131

    
132
.MPartStack, .MPart {
133
        font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
134
}
135

    
136
CTabItem:selected {
137
        color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR';
138
}
139

    
140
.MPartStack {
141
        swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
142
        swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100% 100%;
143
        swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
144
        swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR';
145
        swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
146
        swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR';
147
        padding: 0px 2px 2px;
148
        swt-shadow-visible: false;
149
        swt-mru-visible: false;
150
        color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
151
}
152

    
153
.MPartStack.active {
154
        swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100% 100%;
155
        swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
156
        swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR';
157
        swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
158
        swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
159
        swt-shadow-visible: false;
160
}
161

    
162
.MPartStack.active.noFocus {
163
        swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
164
}
165

    
166
.MPartStack.active.noFocus > CTabItem:selected {
167
        color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR';
168
}
169

    
170
#PerspectiveSwitcher {
171
        eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
172
}
173

    
174
.MToolControl.TrimStack {
175
        frame-image:  url(./winXPTSFrame.png);
176
        handle-image:  url(./winXPHandle.png);
177
        frame-cuts: 5px 1px 5px 16px;
178
}
179

    
180
.MToolBar.Draggable {
181
        handle-image:  url(./dragHandle.png);
182
}
183

    
184
.MToolControl.Draggable {
185
        handle-image:  url(./dragHandle.png);
186
}
187

    
188
.DragFeedback {
189
        background-color: COLOR-WIDGET-NORMAL-SHADOW;
190
}
191

    
192
.ModifiedDragFeedback {
193
        background-color: #A0A000;
194
}
195

    
196
.MPartStack > Composite {
197
        background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END';
198
}
199

    
200
.MPartStack.active > Composite {
201
        background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
202
}
203

    
204
.MPartStack.active.noFocus > Composite {
205
        background-color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END';
206
}