source: orange/Orange/OrangeCanvas/styles/orange.qss @ 11346:6f6342462c46

Revision 11346:6f6342462c46, 7.4 KB checked in by markotoplak, 14 months ago (diff)

Removed dark grid in the toolbar.

Line 
1/*  Default Orange stylesheet
2 */
3
4/*
5 * Icon search paths relative to this files directory.
6 * (main.py script will add this to QDir.searchPaths)
7 */
8
9@canvas_icons: orange;
10
11
12/* Main window background color */
13
14CanvasMainWindow {
15    background-color: #E9EFF2;
16}
17
18
19/* The widget buttons in the dock tool box */
20
21WidgetsToolGrid QToolButton {
22    font-family: "Helvetica";
23    font-size: 10px;
24    font-weight: bold;
25    color: #333;
26}
27
28
29/* Dock widget toolbox tab buttons (categories) */
30
31WidgetToolBox QToolButton#toolbox-tab-button {
32    /* nativeStyling property overrides the QStyle and uses a fixed drawing
33    routine */
34    qproperty-nativeStyling_: "false";
35
36    font-family: "Helvetica";
37    font-size: 14px;
38    font-weight: bold;
39    color: #333;
40    border: none;
41    border-bottom: 1px solid #B5B8B8;
42    background: qlineargradient(
43        x1: 0, y1: 0, x2: 0, y2: 1,
44        stop: 0 #F2F2F2,
45        stop: 0.5 #F2F2F2,
46        stop: 0.8 #EBEBEB,
47        stop: 1.0 #DBDBDB
48    );
49}
50
51
52WidgetToolBox QToolButton#toolbox-tab-button:hover {
53    background-color: palette(light);
54}
55
56
57WidgetToolBox QToolButton#toolbox-tab-button:checked {
58    background-color: palette(dark);
59}
60
61
62WidgetToolBox QToolButton#toolbox-tab-button:focus {
63    background-color: palette(highlight);
64    border: 1px solid #609ED7
65}
66
67
68WidgetToolBox ToolGrid {
69    background-color: #F2F2F2;
70    padding-bottom: 8px;
71}
72
73
74WidgetToolBox ToolGrid QToolButton {
75    border: none;
76    /* border-bottom: 2px solid #B5B8B8;
77    border-right: 2px solid #B5B8B8; */
78    background-color: #F2F2F2;
79}
80
81
82WidgetToolBox ToolGrid QToolButton[last-column] {
83    border-right: none;
84}
85
86WidgetToolBox  ToolGrid QToolButton:focus {
87    background-color: palette(window);
88}
89
90WidgetToolBox  ToolGrid QToolButton:pressed {
91    background-color: palette(dark);
92}
93
94
95
96/*
97 *QuickCategoryToolbar _QuickCategoryButton {
98 *    qproperty-nativeStyling_: "true";
99 *    background-color: palette(button);
100 *    border: none;
101 *    border-bottom: 1px solid palette(dark);
102 *}
103 */
104
105
106/* Canvas Dock Header */
107
108CollapsibleDockWidget::title {
109    background: qlineargradient(
110        x1: 0, y1: 0, x2: 0, y2: 1,
111        stop: 0 #808080, stop: 1.0 #666
112    );
113}
114
115/* Dock widget title bar button icons (icon size for both must be set).
116 * The buttons define the title bar height.
117 */
118
119CollapsibleDockWidget::close-button, CollapsibleDockWidget::float-button {
120    padding: 1px;
121    icon-size: 11px;
122}
123
124CanvasToolDock WidgetToolBox {
125    border: 1px solid #B5B8B8;
126}
127
128
129/* Toolbar at the bottom of the dock widget when in in expanded state
130 */
131
132CanvasToolDock QToolBar {
133    height: 28;
134    spacing: 1;
135    border: none;
136    /*
137    background: qlineargradient(
138        x1: 0, y1: 0, x2: 0, y2: 1,
139        stop: 0 #808080, stop: 1.0 #666
140    );
141    */
142    background-color: #898989;
143
144}
145
146CanvasToolDock QToolBar QToolButton {
147    border: none;
148    background: qlineargradient(
149        x1: 0, y1: 0, x2: 0, y2: 1,
150        stop: 0 #808080, stop: 1.0 #666
151    );
152}
153
154CanvasToolDock QToolBar QToolButton:menu-indicator {
155     image: url(canvas_icons:/Dropdown.svg);
156     subcontrol-position: top right;
157     height: 8px;
158     width: 8px;
159}
160
161CanvasToolDock QToolBar QToolButton:checked,
162CanvasToolDock QToolBar QToolButton:pressed {
163    background-color: #FFA840;
164}
165
166
167/* Toolbar in the dock when in collapsed state.
168 */
169
170CollapsibleDockWidget QWidget#canvas-quick-dock QToolBar {
171    spacing: 1;
172    border: none;
173    /*
174    background: qlineargradient(
175        x1: 0, y1: 0, x2: 0, y2: 1,
176        stop: 0 #808080, stop: 1.0 #666
177    );
178    */
179    background-color: #898989;
180}
181
182
183CollapsibleDockWidget QWidget#canvas-quick-dock QToolBar QToolButton {
184    border: none;
185    background: qlineargradient(
186        x1: 0, y1: 0, x2: 1, y2: 0,
187        stop: 0 #808080, stop: 1.0 #666
188    );
189}
190
191CollapsibleDockWidget QWidget#canvas-quick-dock QToolBar QToolButton:menu-indicator {
192     image: url(canvas_icons:/Dropdown.svg);
193     subcontrol-position: top right;
194     height: 8px;
195     width: 8px;
196}
197
198CollapsibleDockWidget QWidget#canvas-quick-dock QToolBar QToolButton:checked,
199CollapsibleDockWidget QWidget#canvas-quick-dock QToolBar QToolButton:pressed {
200    background-color: #FFA840;
201}
202
203
204/* Splitter between the widget toolbox and quick help.
205 */
206
207CanvasToolDock QSplitter::handle {
208    border: 1px solid #B5B8B8;
209
210/*    border-top: 1px solid #B5B8B8;
211 *   border-bottom: 1px solid #B5B8B8;
212 *   border-left: 1px solid #B6B6B6;
213 *   border-right: 1px solid #B6B6B6;
214 */
215
216    background:  qlineargradient(
217        x1: 0, y1: 0, x2: 0, y2: 1,
218        stop: 0 #D4D4D4, stop: 0.05 #EDEDED,
219        stop: 0.5 #F2F2F2,
220        stop: 0.95 #EDEDED, stop: 1.0 #E0E0E0
221    );
222}
223
224
225/* Scheme Info Dialog
226 */
227
228SchemeInfoDialog {
229    font-family: "Helvetica";
230    background-color: #E9EFF2;
231}
232
233SchemeInfoDialog SchemeInfoEdit QLabel {
234    font-family: "Helvetica";
235    font-weight: bold;
236    font-size: 16px;
237    color: black;
238}
239
240SchemeInfoDialog QLabel#heading {
241    font-size: 21px;
242    color: #515151;
243}
244
245SchemeInfoDialog StyledWidget#auto-show-container * {
246    font-family: "Helvetica";
247    font-size: 12px;
248    color: #1A1A1A;
249}
250
251SchemeInfoDialog StyledWidget#auto-show-container {
252    border-top: 1px solid #C1C2C3;
253}
254
255SchemeInfoDialog SchemeInfoEdit QLineEdit {
256    padding: 4px;
257    /* background-color: red; */
258    /* font-weight: normal; */
259    font-size: 12px;
260    color: #1A1A1A;
261}
262
263SchemeInfoDialog SchemeInfoEdit QTextEdit {
264    padding: 4px;
265    background-color: white;
266    /* font-weight: normal; */
267    font-size: 12px;
268    color: #1A1A1A;
269}
270
271
272/* Preview Dialog (Recent Schemes and Tutorials)
273 */
274
275PreviewDialog {
276    background-color: #E9EFF2;
277}
278
279PreviewDialog QLabel#heading {
280    font-family: "Helvetica";
281    font-weight: bold;
282    font-size: 21px;
283    color: #515151;
284}
285
286PreviewDialog PreviewBrowser * {
287    font-family: "Helvetica";
288    color: #1A1A1A;
289}
290
291PreviewDialog PreviewBrowser TextLabel#path-text {
292    font-size: 12px;
293}
294
295PreviewDialog PreviewBrowser QLabel#path-label {
296    font-size: 12px;
297}
298
299/* Welcome Screen Dialog
300 */
301
302WelcomeDialog {
303    background-color: #E9EFF2;
304}
305
306WelcomeDialog QToolButton {
307    font-family: "Helvetica";
308    font-size: 13px;
309    font-style: normal;
310    font-weight: bold;
311    color: #333;
312}
313
314WelcomeDialog QWidget#bottom-bar {
315    border-top: 1px solid #C1C2C3;
316}
317
318WelcomeDialog QWidget#bottom-bar QCheckBox {   
319    font-family: "Helvetica";
320    font-size: 12px;
321    color: #333;
322}
323
324/* SchemeEditWidget
325 */
326
327SchemeEditWidget {
328    font-family: "Helvetica";
329    font-size: 12px;
330}
331
332/* Quick Menu
333 */
334
335QuickMenu {
336    background-color: #E9EFF2;
337}
338
339QuickMenu QFrame#menu-frame {
340    border: 1px solid #9CACB4;
341    border-radius: 3px;
342    background-color: #E9EFF2;
343}
344
345QuickMenu ToolTree QTreeView::item {
346    height: 25px;
347    border-top: 1px solid #e9eff2;
348    border-bottom: 1px solid #e9eff2;
349}
350
351QuickMenu QTreeView::item:hover {
352    background-color: lightblue;
353    color: white;
354}
355
356QuickMenu QTreeView::item:selected {
357    background-color: blue;
358    color: white;
359}
360
361/* Quick Menu search line edit
362 */
363
364QuickMenu QLineEdit {
365    height: 25px;
366    margin: 0px;
367    padding: 0px;
368    border: 1px solid #9CACB4;
369    border-radius: 3px;
370    background-color: white;
371}
372
373QuickMenu QLineEdit:focus {
374    border: 2px solid #9CACB4;
375    border-radius: 2px;
376}
377
378QuickMenu QLineEdit QToolButton {
379    qproperty-flat_: false;
380    height: 25px;
381    border: 1px solid #9CACB4;
382    border-top-left-radius: 3px;
383    border-bottom-left-radius: 3px;
384    background-color: #9CACB4;
385    padding: 0px;
386    margin: 0px;
387    icon-size: 23px;
388}
Note: See TracBrowser for help on using the repository browser.