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