root / tmp / org.txm.rcp / css / e4-dark_mac.css @ 2021
Historique | Voir | Annoter | Télécharger (16,33 ko)
1 | 923 | mdecorde | /*******************************************************************************
|
---|---|---|---|
2 | 923 | mdecorde | * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
|
3 | 923 | mdecorde | * All rights reserved. This program and the accompanying materials
|
4 | 923 | mdecorde | * are made available under the terms of the Eclipse Public License v1.0
|
5 | 923 | mdecorde | * which accompanies this distribution, and is available at
|
6 | 923 | mdecorde | * http://www.eclipse.org/legal/epl-v10.html
|
7 | 923 | mdecorde | *
|
8 | 923 | mdecorde | * Contributors:
|
9 | 923 | mdecorde | * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
|
10 | 923 | mdecorde | *******************************************************************************/
|
11 | 923 | mdecorde | |
12 | 923 | mdecorde | /*******************************************************************************
|
13 | 923 | mdecorde | * The following bugs are referred to in this style sheet
|
14 | 923 | mdecorde | * 1.) Bug 419482 - Cascading policy in CSS
|
15 | 923 | mdecorde | * 2.) Bug 430052 - Imported rules cannot be overridden
|
16 | 923 | mdecorde | *******************************************************************************/
|
17 | 923 | mdecorde | |
18 | 923 | mdecorde | |
19 | 923 | mdecorde | /* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */
|
20 | 923 | mdecorde | @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css"); |
21 | 923 | mdecorde | @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */ |
22 | 923 | mdecorde | @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css"); |
23 | 923 | mdecorde | |
24 | 923 | mdecorde | |
25 | 923 | mdecorde | .MTrimmedWindow.topLevel { |
26 | 923 | mdecorde | margin-top: 3px; |
27 | 923 | mdecorde | margin-bottom: 3px; |
28 | 923 | mdecorde | margin-left: 3px; |
29 | 923 | mdecorde | margin-right: 3px; |
30 | 923 | mdecorde | } |
31 | 923 | mdecorde | |
32 | 923 | mdecorde | .MPartStack, .MPart { |
33 | 923 | mdecorde | font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; |
34 | 923 | mdecorde | } |
35 | 923 | mdecorde | |
36 | 923 | mdecorde | .MPartStack {
|
37 | 923 | mdecorde | swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); |
38 | 923 | mdecorde | 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 */ |
39 | 923 | mdecorde | 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 */ |
40 | 923 | mdecorde | swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ |
41 | 923 | mdecorde | swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; |
42 | 923 | mdecorde | swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ |
43 | 923 | mdecorde | padding: 0px 2px 2px; |
44 | 923 | mdecorde | swt-shadow-visible: false; |
45 | 923 | mdecorde | swt-mru-visible: true; |
46 | 923 | mdecorde | swt-corner-radius: 16px; |
47 | 923 | mdecorde | } |
48 | 923 | mdecorde | |
49 | 923 | mdecorde | .MPartStack.active { |
50 | 923 | mdecorde | 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 */ |
51 | 923 | mdecorde | 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 */ |
52 | 923 | mdecorde | swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ |
53 | 923 | mdecorde | swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; |
54 | 923 | mdecorde | swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ |
55 | 923 | mdecorde | } |
56 | 923 | mdecorde | |
57 | 923 | mdecorde | .MPartStack.active.noFocus { |
58 | 923 | mdecorde | swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; |
59 | 923 | mdecorde | } |
60 | 923 | mdecorde | |
61 | 923 | mdecorde | .MPartStack.empty { |
62 | 923 | mdecorde | swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */ |
63 | 923 | mdecorde | swt-tab-outline: #535354; /* border color for selected tab */ |
64 | 923 | mdecorde | swt-outer-keyline-color: #515658; /* border color for whole tabs container */ |
65 | 923 | mdecorde | } |
66 | 923 | mdecorde | |
67 | 923 | mdecorde | .MPart.busy { |
68 | 923 | mdecorde | font-style: italic; |
69 | 923 | mdecorde | } |
70 | 923 | mdecorde | |
71 | 923 | mdecorde | .MPart.highlighted { |
72 | 923 | mdecorde | font-weight: bold; |
73 | 923 | mdecorde | } |
74 | 923 | mdecorde | |
75 | 923 | mdecorde | CTabItem,
|
76 | 923 | mdecorde | CTabItem CLabel { |
77 | 923 | mdecorde | background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ |
78 | 923 | mdecorde | color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR'; |
79 | 923 | mdecorde | } |
80 | 923 | mdecorde | CTabItem:selected, |
81 | 923 | mdecorde | CTabItem:selected CLabel { |
82 | 923 | mdecorde | color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR'; |
83 | 923 | mdecorde | } |
84 | 923 | mdecorde | |
85 | 923 | mdecorde | .MPartStack.active > CTabItem, |
86 | 923 | mdecorde | .MPartStack.active > CTabItem CLabel { |
87 | 923 | mdecorde | background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ |
88 | 923 | mdecorde | color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR'; |
89 | 923 | mdecorde | } |
90 | 923 | mdecorde | .MPartStack.active > CTabItem:selected, |
91 | 923 | mdecorde | .MPartStack.active > CTabItem:selected CLabel { |
92 | 923 | mdecorde | color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR'; |
93 | 923 | mdecorde | } |
94 | 923 | mdecorde | |
95 | 923 | mdecorde | .MPartStack.active.noFocus > CTabItem:selected { |
96 | 923 | mdecorde | color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; |
97 | 923 | mdecorde | } |
98 | 923 | mdecorde | |
99 | 923 | mdecorde | CTabItem.busy { |
100 | 923 | mdecorde | color: #888888; |
101 | 923 | mdecorde | } |
102 | 923 | mdecorde | |
103 | 923 | mdecorde | #PerspectiveSwitcher {
|
104 | 923 | mdecorde | eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; |
105 | 923 | mdecorde | } |
106 | 923 | mdecorde | |
107 | 923 | mdecorde | .MToolControl.TrimStack { |
108 | 923 | mdecorde | /*frame-image: url(./gtkTSFrame.png);*/
|
109 | 923 | mdecorde | handle-image: url(./dragHandle.png); |
110 | 923 | mdecorde | frame-cuts: 5px 1px 5px 16px; |
111 | 923 | mdecorde | } |
112 | 923 | mdecorde | |
113 | 923 | mdecorde | .MToolBar.Draggable { |
114 | 923 | mdecorde | handle-image: url(./dragHandle.png); |
115 | 923 | mdecorde | } |
116 | 923 | mdecorde | |
117 | 923 | mdecorde | .MToolControl.Draggable { |
118 | 923 | mdecorde | handle-image: url(./dragHandle.png); |
119 | 923 | mdecorde | } |
120 | 923 | mdecorde | |
121 | 923 | mdecorde | .DragFeedback {
|
122 | 923 | mdecorde | background-color: COLOR-WIDGET-NORMAL-SHADOW; |
123 | 923 | mdecorde | } |
124 | 923 | mdecorde | |
125 | 923 | mdecorde | .ModifiedDragFeedback {
|
126 | 923 | mdecorde | background-color: #4176AF; |
127 | 923 | mdecorde | } |
128 | 923 | mdecorde | |
129 | 923 | mdecorde | .MTrimmedWindow {
|
130 | 923 | mdecorde | background-color: #515658; |
131 | 923 | mdecorde | } |
132 | 923 | mdecorde | |
133 | 923 | mdecorde | .MTrimBar {
|
134 | 923 | mdecorde | background-color: #515658; |
135 | 923 | mdecorde | } |
136 | 923 | mdecorde | |
137 | 923 | mdecorde | CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { |
138 | 923 | mdecorde | swt-shadow-visible: false; |
139 | 923 | mdecorde | } |
140 | 923 | mdecorde | |
141 | 923 | mdecorde | |
142 | 923 | mdecorde | CTabFolder Tree, CTabFolder Canvas { |
143 | 923 | mdecorde | background-color: #2F2F2F; |
144 | 923 | mdecorde | color: #CCC; |
145 | 923 | mdecorde | } |
146 | 923 | mdecorde | |
147 | 923 | mdecorde | .MPartStack.active CTabFolder Canvas { |
148 | 923 | mdecorde | background-color: #262626; |
149 | 923 | mdecorde | color: #CCC; |
150 | 923 | mdecorde | } |
151 | 923 | mdecorde | |
152 | 923 | mdecorde | .MPartStack.active Table { |
153 | 923 | mdecorde | background-color: #2F2F2F; |
154 | 923 | mdecorde | color: #CCC; |
155 | 923 | mdecorde | } |
156 | 923 | mdecorde | |
157 | 923 | mdecorde | .View {
|
158 | 923 | mdecorde | background-color: #313538; |
159 | 923 | mdecorde | color: #F5F5F5; |
160 | 923 | mdecorde | } |
161 | 923 | mdecorde | |
162 | 923 | mdecorde | |
163 | 923 | mdecorde | /* ###################### Top Toolbar ########################## */
|
164 | 923 | mdecorde | |
165 | 923 | mdecorde | #org-eclipse-ui-main-toolbar, #PerspectiveSwitcher { |
166 | 923 | mdecorde | eclipse-perspective-keyline-color: #585858; |
167 | 923 | mdecorde | background-color: #515658 #515658 100%; |
168 | 923 | mdecorde | handle-image: none; |
169 | 923 | mdecorde | color: #EBE8E4; |
170 | 923 | mdecorde | } |
171 | 923 | mdecorde | |
172 | 923 | mdecorde | |
173 | 923 | mdecorde | /* #################### Bottom Status Bar ######################## */
|
174 | 923 | mdecorde | |
175 | 923 | mdecorde | #org-eclipse-ui-StatusLine,
|
176 | 923 | mdecorde | #org-eclipse-ui-ProgressBar,
|
177 | 923 | mdecorde | #org-eclipse-ui-ProgressBar Canvas { |
178 | 923 | mdecorde | color: #CCCCCC; |
179 | 923 | mdecorde | } |
180 | 923 | mdecorde | #org-eclipse-ui-StatusLine CLabel { |
181 | 923 | mdecorde | color: #BDBAB7; |
182 | 923 | mdecorde | } |
183 | 923 | mdecorde | |
184 | 923 | mdecorde | StatusLine, ImageBasedFrame{ |
185 | 923 | mdecorde | color: #BDBAB7; |
186 | 923 | mdecorde | } |
187 | 923 | mdecorde | |
188 | 923 | mdecorde | |
189 | 923 | mdecorde | |
190 | 923 | mdecorde | /* ###################### Global Styles ########################## */
|
191 | 923 | mdecorde | |
192 | 923 | mdecorde | TabFolder,
|
193 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
194 | 923 | mdecorde | TabFolder > Composite > TabFolder, |
195 | 923 | mdecorde | TabFolder > Composite > * > TabFolder, |
196 | 923 | mdecorde | DocCommentOwnerComposite > Group > TabFolder, |
197 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > TabFolder, |
198 | 923 | mdecorde | Shell > Composite > Composite > TabFolder, |
199 | 923 | mdecorde | Composite > Composite > Composite > Group > TabFolder, |
200 | 923 | mdecorde | Shell > Composite > Composite > Composite > TabFolder, |
201 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > TabFolder, |
202 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > TabFolder, |
203 | 923 | mdecorde | 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, |
204 | 923 | mdecorde | 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 { |
205 | 923 | mdecorde | /* background-color is not applied to the whole button,
|
206 | 923 | mdecorde | but text color is changed, so it appear light on light */
|
207 | 923 | mdecorde | background-color: #515658; |
208 | 923 | mdecorde | color: #222; |
209 | 923 | mdecorde | } |
210 | 923 | mdecorde | |
211 | 923 | mdecorde | Button,
|
212 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
213 | 923 | mdecorde | Composite > Button, |
214 | 923 | mdecorde | TabFolder > Composite > Button, |
215 | 923 | mdecorde | TabFolder > Composite > * > Button, |
216 | 923 | mdecorde | DocCommentOwnerComposite > Group > Button, |
217 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Button, |
218 | 923 | mdecorde | Shell > Composite > Composite > Button, |
219 | 923 | mdecorde | Composite > Composite > Composite > Group > Button, |
220 | 923 | mdecorde | Shell > Composite > Composite > Composite > Button, |
221 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Button, |
222 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Button, |
223 | 923 | mdecorde | 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, |
224 | 923 | mdecorde | 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, |
225 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Button, |
226 | 923 | mdecorde | .MPart Button, |
227 | 923 | mdecorde | .MPartStack.active .MPart Button, |
228 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button, |
229 | 923 | mdecorde | .MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button { |
230 | 923 | mdecorde | /* background-color is not applied to the whole button,
|
231 | 923 | mdecorde | but text color is changed, so it appear light on light */
|
232 | 923 | mdecorde | background-color: #515658; |
233 | 923 | mdecorde | color: #222; |
234 | 923 | mdecorde | } |
235 | 923 | mdecorde | Button[style~='SWT.CHECK'], |
236 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
237 | 923 | mdecorde | Composite > Button[style~='SWT.CHECK'], |
238 | 923 | mdecorde | TabFolder > Composite > Button[style~='SWT.CHECK'], |
239 | 923 | mdecorde | TabFolder > Composite > * > Button[style~='SWT.CHECK'], |
240 | 923 | mdecorde | DocCommentOwnerComposite > Group > Button[style~='SWT.CHECK'], |
241 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Button[style~='SWT.CHECK'], |
242 | 923 | mdecorde | Shell > Composite > Composite > Button[style~='SWT.CHECK'], |
243 | 923 | mdecorde | Composite > Composite > Composite > Group > Button[style~='SWT.CHECK'], |
244 | 923 | mdecorde | Shell > Composite > Composite > Composite > Button[style~='SWT.CHECK'], |
245 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.CHECK'], |
246 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.CHECK'], |
247 | 923 | mdecorde | 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'], |
248 | 923 | mdecorde | 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'], |
249 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Button[style~='SWT.CHECK'], |
250 | 923 | mdecorde | .MPart Button[style~='SWT.CHECK'], |
251 | 923 | mdecorde | .MPartStack.active .MPart Button[style~='SWT.CHECK'], |
252 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'], |
253 | 923 | mdecorde | .MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'] { |
254 | 923 | mdecorde | /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
|
255 | 923 | mdecorde | /* so, css rules applied to Button have to be overridden for non-Button matches */
|
256 | 923 | mdecorde | color: #ddd; |
257 | 923 | mdecorde | } |
258 | 923 | mdecorde | Button[style~='SWT.RADIO'], |
259 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
260 | 923 | mdecorde | Composite > Button[style~='SWT.RADIO'], |
261 | 923 | mdecorde | TabFolder > Composite > Button[style~='SWT.RADIO'], |
262 | 923 | mdecorde | TabFolder > Composite > * > Button[style~='SWT.RADIO'], |
263 | 923 | mdecorde | DocCommentOwnerComposite > Group > Button[style~='SWT.RADIO'], |
264 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Button[style~='SWT.RADIO'], |
265 | 923 | mdecorde | Shell > Composite > Composite > Button[style~='SWT.RADIO'], |
266 | 923 | mdecorde | Composite > Composite > Composite > Group > Button[style~='SWT.RADIO'], |
267 | 923 | mdecorde | Shell > Composite > Composite > Composite > Button[style~='SWT.RADIO'], |
268 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.RADIO'], |
269 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.RADIO'], |
270 | 923 | mdecorde | 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'], |
271 | 923 | mdecorde | 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'], |
272 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Button[style~='SWT.RADIO'], |
273 | 923 | mdecorde | .MPart Button[style~='SWT.RADIO'], |
274 | 923 | mdecorde | .MPartStack.active .MPart Button[style~='SWT.RADIO'], |
275 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'], |
276 | 923 | mdecorde | .MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'] { |
277 | 923 | mdecorde | /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
|
278 | 923 | mdecorde | /* so, css rules applied to Button have to be overridden for non-Button matches */
|
279 | 923 | mdecorde | color: #ddd; |
280 | 923 | mdecorde | } |
281 | 923 | mdecorde | |
282 | 923 | mdecorde | Combo,
|
283 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
284 | 923 | mdecorde | Composite > Combo, |
285 | 923 | mdecorde | TabFolder > Composite > Combo, |
286 | 923 | mdecorde | TabFolder > Composite > * > Combo, |
287 | 923 | mdecorde | DocCommentOwnerComposite > Group > Combo, |
288 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Combo, |
289 | 923 | mdecorde | Shell > Composite > Composite > Combo, |
290 | 923 | mdecorde | Composite > Composite > Composite > Group > Combo, |
291 | 923 | mdecorde | Shell > Composite > Composite > Composite > Combo, |
292 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Combo, |
293 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Combo, |
294 | 923 | mdecorde | 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, |
295 | 923 | mdecorde | 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, |
296 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Combo, |
297 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo { |
298 | 923 | mdecorde | background-color: #949DA5; |
299 | 923 | mdecorde | color: #222; /* background of drop-drown list is hard-coded to white */ |
300 | 923 | mdecorde | } |
301 | 923 | mdecorde | Combo:selected, |
302 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
303 | 923 | mdecorde | Composite > Combo:selected, |
304 | 923 | mdecorde | TabFolder > Composite > Combo:selected, |
305 | 923 | mdecorde | TabFolder > Composite > * > Combo:selected, |
306 | 923 | mdecorde | DocCommentOwnerComposite > Group > Combo:selected, |
307 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Combo:selected, |
308 | 923 | mdecorde | Shell > Composite > Composite > Combo:selected, |
309 | 923 | mdecorde | Composite > Composite > Composite > Group > Combo:selected, |
310 | 923 | mdecorde | Shell > Composite > Composite > Composite > Combo:selected, |
311 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Combo:selected, |
312 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Combo:selected, |
313 | 923 | mdecorde | 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, |
314 | 923 | mdecorde | 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, |
315 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Combo:selected, |
316 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo:selected { |
317 | 923 | mdecorde | background-color: #41464A; |
318 | 923 | mdecorde | color: #FFF; |
319 | 923 | mdecorde | } |
320 | 923 | mdecorde | |
321 | 923 | mdecorde | Text[style~='SWT.SEARCH'], |
322 | 923 | mdecorde | /* the following are required due to Bug 419482: */
|
323 | 923 | mdecorde | Composite > Text[style~='SWT.SEARCH'], |
324 | 923 | mdecorde | TabFolder > Composite > Text[style~='SWT.SEARCH'], |
325 | 923 | mdecorde | TabFolder > Composite > * > Text[style~='SWT.SEARCH'], |
326 | 923 | mdecorde | DocCommentOwnerComposite > Group > Text[style~='SWT.SEARCH'], |
327 | 923 | mdecorde | TabFolder > Composite > ScrolledComposite > Text[style~='SWT.SEARCH'], |
328 | 923 | mdecorde | Shell > Composite > Composite > Text[style~='SWT.SEARCH'], |
329 | 923 | mdecorde | Composite > Composite > Composite > Group > Text[style~='SWT.SEARCH'], |
330 | 923 | mdecorde | Shell > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], |
331 | 923 | mdecorde | ScrolledComposite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], |
332 | 923 | mdecorde | Shell > Composite > Composite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], |
333 | 923 | mdecorde | 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'], |
334 | 923 | mdecorde | 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'], |
335 | 923 | mdecorde | #org-eclipse-pde-runtime-LogView Text[style~='SWT.SEARCH'], |
336 | 923 | mdecorde | Form > LayoutComposite > LayoutComposite > Text[style~='SWT.SEARCH'], |
337 | 923 | mdecorde | .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Text[style~='SWT.SEARCH'] { |
338 | 923 | mdecorde | /* search boxes */
|
339 | 923 | mdecorde | background-color: #949da5; /* background-color is hard-coded */ |
340 | 923 | mdecorde | color: #333; |
341 | 923 | mdecorde | } |