root / tmp / org.txm.rcp / css / e4-dark_win.css @ 1808
Historique | Voir | Annoter | Télécharger (12,37 ko)
1 |
/*******************************************************************************
|
---|---|
2 |
* Copyright (c) 2010, 2015 Andrea Guarinoni 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 |
* Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
|
10 |
* Lars Vogel <Lars.Vogel@vogella.com> - initial API and implementation
|
11 |
* Stefan Winkler <stefan@winklerweb.net> - Bug 431845
|
12 |
* Fabio Zadrozny <fabiofz@gmail.com> - Bug 434201, 434309, 430278
|
13 |
*******************************************************************************/
|
14 |
|
15 |
/*******************************************************************************
|
16 |
* The following bugs are referred to in this style sheet
|
17 |
* 1.) Bug 430052 - Imported rules cannot be overridden
|
18 |
*******************************************************************************/
|
19 |
|
20 |
|
21 |
/* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */
|
22 |
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css"); |
23 |
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */ |
24 |
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css"); |
25 |
|
26 |
Tree {
|
27 |
/**
|
28 |
* See Bug 434201: Dark theme: tree must respect the foreground color for items arrows
|
29 |
*/
|
30 |
swt-tree-arrows-color:#cccccc; |
31 |
swt-tree-arrows-mode: triangle; /* triangle or square */ |
32 |
|
33 |
/* See Bug 434309: Customize the tree/table selection to work properly
|
34 |
* with the dark theme.
|
35 |
*
|
36 |
* Note that the selection foreground is a bit lighter than the regular
|
37 |
* foreground because our background is also a bit lighter in this case.
|
38 |
*/
|
39 |
swt-selection-foreground-color: #fcfcf9; |
40 |
swt-selection-background-color: #494949; |
41 |
swt-hot-background-color: #2F2F2F; |
42 |
swt-selection-border-color: #7F7D68; |
43 |
swt-hot-border-color: #545454; |
44 |
} |
45 |
|
46 |
|
47 |
Table {
|
48 |
/* See Bug 434309: Customize the tree/table selection to work properly
|
49 |
* with the dark theme.
|
50 |
*
|
51 |
* Note that the selection foreground is a bit lighter than the regular
|
52 |
* foreground because our background is also a bit lighter in this case.
|
53 |
*/
|
54 |
swt-selection-foreground-color: #fcfcf9; |
55 |
|
56 |
swt-selection-background-color: #494949; |
57 |
swt-hot-background-color: #2F2F2F; |
58 |
swt-selection-border-color: #7F7D68; |
59 |
swt-hot-border-color: #545454; |
60 |
} |
61 |
|
62 |
|
63 |
.MTrimmedWindow.topLevel { |
64 |
margin-top: 3px; |
65 |
margin-bottom: 3px; |
66 |
margin-left: 3px; |
67 |
margin-right: 3px; |
68 |
} |
69 |
|
70 |
.MPartStack, .MPart { |
71 |
font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; |
72 |
} |
73 |
|
74 |
.MPartStack {
|
75 |
swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); |
76 |
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 */ |
77 |
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 */ |
78 |
swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ |
79 |
swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; |
80 |
swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ |
81 |
padding: 0px 2px 2px; |
82 |
swt-shadow-visible: false; |
83 |
swt-mru-visible: true; |
84 |
swt-corner-radius: 16px; |
85 |
} |
86 |
|
87 |
.MPartStack.active { |
88 |
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 */ |
89 |
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 */ |
90 |
swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ |
91 |
swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; |
92 |
swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ |
93 |
} |
94 |
|
95 |
.MPartStack.active.noFocus { |
96 |
swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; |
97 |
} |
98 |
|
99 |
.MPartStack.empty { |
100 |
swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */ |
101 |
swt-tab-outline: #535354; /* border color for selected tab */ |
102 |
swt-outer-keyline-color: #515658; /* border color for whole tabs container */ |
103 |
} |
104 |
|
105 |
.MPart.busy { |
106 |
font-style: italic; |
107 |
} |
108 |
|
109 |
.MPart.highlighted { |
110 |
font-weight: bold; |
111 |
} |
112 |
|
113 |
CTabItem,
|
114 |
CTabItem CLabel { |
115 |
background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ |
116 |
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR'; |
117 |
} |
118 |
CTabItem:selected, |
119 |
CTabItem:selected CLabel { |
120 |
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR'; |
121 |
} |
122 |
|
123 |
.MPartStack.active > CTabItem, |
124 |
.MPartStack.active > CTabItem CLabel { |
125 |
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ |
126 |
color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR'; |
127 |
} |
128 |
.MPartStack.active > CTabItem:selected, |
129 |
.MPartStack.active > CTabItem:selected CLabel { |
130 |
color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR'; |
131 |
} |
132 |
|
133 |
.MPartStack.active.noFocus > CTabItem:selected { |
134 |
color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; |
135 |
} |
136 |
|
137 |
CTabItem.busy { |
138 |
color: #888888; |
139 |
} |
140 |
|
141 |
#PerspectiveSwitcher {
|
142 |
eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; |
143 |
} |
144 |
|
145 |
.MToolControl.TrimStack { |
146 |
/*frame-image: url(./gtkTSFrame.png);*/
|
147 |
handle-image: url(./dragHandle.png); |
148 |
frame-cuts: 5px 1px 5px 16px; |
149 |
} |
150 |
|
151 |
.MToolBar.Draggable { |
152 |
handle-image: url(./dragHandle.png); |
153 |
} |
154 |
|
155 |
.MToolControl.Draggable { |
156 |
handle-image: url(./dragHandle.png); |
157 |
} |
158 |
|
159 |
.DragFeedback {
|
160 |
background-color: COLOR-WIDGET-NORMAL-SHADOW; |
161 |
} |
162 |
|
163 |
.ModifiedDragFeedback {
|
164 |
background-color: #4176AF; |
165 |
} |
166 |
|
167 |
.MTrimmedWindow {
|
168 |
background-color: #515658; |
169 |
} |
170 |
|
171 |
.MTrimBar {
|
172 |
background-color: #515658; |
173 |
} |
174 |
|
175 |
CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { |
176 |
swt-shadow-visible: false; |
177 |
} |
178 |
|
179 |
|
180 |
CTabFolder Tree, CTabFolder Canvas { |
181 |
background-color: #2F2F2F; |
182 |
color: #CCC; |
183 |
} |
184 |
|
185 |
.MPartStack.active CTabFolder Canvas { |
186 |
background-color: #262626; |
187 |
color: #CCC; |
188 |
} |
189 |
|
190 |
.MPartStack.active Table { |
191 |
background-color: #2F2F2F; |
192 |
color: #CCC; |
193 |
} |
194 |
|
195 |
.View {
|
196 |
background-color: #313538; |
197 |
color: #F5F5F5; |
198 |
} |
199 |
|
200 |
|
201 |
/* ####################### Top Toolbar ########################## */
|
202 |
|
203 |
#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher { |
204 |
eclipse-perspective-keyline-color: #585858; |
205 |
background-color: #515658 #515658 100%; |
206 |
handle-image: none; |
207 |
color: #EBE8E4; |
208 |
} |
209 |
|
210 |
|
211 |
/* ##################### Bottom Status Bar ####################### */
|
212 |
|
213 |
#org-eclipse-ui-StatusLine,
|
214 |
#org-eclipse-ui-ProgressBar,
|
215 |
#org-eclipse-ui-ProgressBar Canvas { |
216 |
color: #CCCCCC; |
217 |
} |
218 |
#org-eclipse-ui-StatusLine CLabel { |
219 |
color: #BDBAB7; |
220 |
} |
221 |
|
222 |
StatusLine, ImageBasedFrame{ |
223 |
color: #BDBAB7; |
224 |
} |
225 |
|
226 |
|
227 |
|
228 |
/* ####################### CSS for .MParts ####################### */
|
229 |
|
230 |
/* Make the content of the Form brighter because the color of
|
231 |
the font of some widgets is hard-coded to be black on Window */
|
232 |
|
233 |
.MPart Form, |
234 |
.MPart Form Sash, |
235 |
.MPart Form Label, |
236 |
.MPart Form Section, |
237 |
.MPart Form FormText, |
238 |
.MPart Form Link, |
239 |
.MPart Form Hyperlink, |
240 |
.MPart Form ImageHyperlink, |
241 |
.MPart Form Button, |
242 |
.MPart Form Group, |
243 |
.MPart Form SashForm, |
244 |
.MPart Form LayoutComposite, |
245 |
.MPart Form ScrolledPageBook, |
246 |
.MPart Form DependenciesComposite, |
247 |
.MPart Form ListEditorComposite, |
248 |
.MPart Form Text[style~='SWT.READ_ONLY'], |
249 |
.MPart Form > LayoutComposite > LayoutComposite > ToolBar, |
250 |
.MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */ |
251 |
.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > *, /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ |
252 |
.MPartStack.active .MPart Form, |
253 |
.MPartStack.active .MPart Form Sash, |
254 |
.MPartStack.active .MPart Form Label, |
255 |
.MPartStack.active .MPart Form Section, |
256 |
.MPartStack.active .MPart Form FormText, |
257 |
.MPartStack.active .MPart Form Link, |
258 |
.MPartStack.active .MPart Form Hyperlink, |
259 |
.MPartStack.active .MPart Form ImageHyperlink, |
260 |
.MPartStack.active .MPart Form Button, |
261 |
.MPartStack.active .MPart Form Group, |
262 |
.MPartStack.active .MPart Form SashForm, |
263 |
.MPartStack.active .MPart Form LayoutComposite, |
264 |
.MPartStack.active .MPart Form ScrolledPageBook, |
265 |
.MPartStack.active .MPart Form DependenciesComposite, |
266 |
.MPartStack.active .MPart Form ListEditorComposite, |
267 |
.MPartStack.active .MPart Form Text[style~='SWT.READ_ONLY'], |
268 |
.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar, |
269 |
.MPartStack.active .MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */ |
270 |
.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ { |
271 |
background-color: #4f5355; |
272 |
color: #f4f7f7; |
273 |
} |
274 |
#org-eclipse-help-ui-HelpView Form, |
275 |
#org-eclipse-help-ui-HelpView Form Sash, |
276 |
#org-eclipse-help-ui-HelpView Form Label, |
277 |
#org-eclipse-help-ui-HelpView Form Section, |
278 |
#org-eclipse-help-ui-HelpView Form FormText, |
279 |
#org-eclipse-help-ui-HelpView Form Hyperlink, |
280 |
#org-eclipse-help-ui-HelpView Form Button, |
281 |
#org-eclipse-help-ui-HelpView Form Group, |
282 |
#org-eclipse-help-ui-HelpView Form LayoutComposite, |
283 |
#org-eclipse-help-ui-HelpView Form ScrolledPageBook, |
284 |
#org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] { |
285 |
background-color: #2F2F2F; |
286 |
color: #CCCCCC; |
287 |
} |
288 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form, |
289 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Sash, |
290 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Label, |
291 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Section, |
292 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form FormText, |
293 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Hyperlink, |
294 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Button, |
295 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Group, |
296 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form LayoutComposite, |
297 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form ScrolledPageBook, |
298 |
.MPartStack.active #org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] { |
299 |
background-color: #262626; |
300 |
color: #BBBBBB; |
301 |
} |
302 |
.MPart Form Section Tree, |
303 |
.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree, |
304 |
.MPartStack.active .MPart Form Section Tree, |
305 |
.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree { |
306 |
background-color: #313538; |
307 |
color: #DDDDDD; |
308 |
} |
309 |
.MPart Form DatePicker > ImageHyperlink, |
310 |
.MPart Form ScheduleDatePicker > ImageHyperlink { |
311 |
background-color: #3f4447; |
312 |
color: #BBBBBB; |
313 |
} |
314 |
.MPartStack.active .MPart Form DatePicker > ImageHyperlink, |
315 |
.MPartStack.active .MPart Form ScheduleDatePicker > ImageHyperlink { |
316 |
background-color: #313538; |
317 |
color: #AAAAAA; |
318 |
} |
319 |
.MPart PageBook > Form > LayoutComposite { |
320 |
background-color: #2F2F2F; |
321 |
color: #CCC; |
322 |
} |
323 |
.MPartStack.active .MPart PageBook > Form > LayoutComposite { |
324 |
background-color: #262626; |
325 |
color: #BBBBBB; |
326 |
} |
327 |
.MPart Form FormHeading LayoutComposite, |
328 |
.MPart Form FormHeading ImageHyperlink { |
329 |
background-color: #505f70; |
330 |
color: #9ac9d8; |
331 |
} |
332 |
.MPartStack.active .MPart Form FormHeading LayoutComposite, |
333 |
.MPartStack.active .MPart Form FormHeading ImageHyperlink { |
334 |
background-color: #415062; |
335 |
color: #9ac9d8; |
336 |
} |
337 |
|
338 |
/* On the windows dark theme, the default is having the scrollbar themed
|
339 |
* Note that the user may also set -Dswt.enable.themedScrollBar=false to force
|
340 |
* it to false regardless of the CSS value.
|
341 |
*/
|
342 |
StyledText {
|
343 |
swt-scrollbar-themed: true; |
344 |
|
345 |
swt-scrollbar-background-color: #383838; |
346 |
swt-scrollbar-foreground-color: #494949; |
347 |
swt-scrollbar-width: 4px; |
348 |
swt-scrollbar-border-radius: 4px; |
349 |
swt-scrollbar-mouse-near-scroll-width: 15px; |
350 |
} |