Merge lp:~flexiondotorg/ubuntu-themes/notebook-refactor into lp:ubuntu-themes
- notebook-refactor
- Merge into trunk
Proposed by
Martin Wimpress
Status: | Work in progress |
---|---|
Proposed branch: | lp:~flexiondotorg/ubuntu-themes/notebook-refactor |
Merge into: | lp:ubuntu-themes |
Diff against target: |
1455 lines (+977/-396) 6 files modified
Ambiance/gtk-3.20/apps/gnome-terminal.css (+0/-58) Ambiance/gtk-3.20/gtk-main.css (+27/-0) Ambiance/gtk-3.20/gtk-widgets.css (+457/-142) Radiance/gtk-3.20/apps/gnome-terminal.css (+0/-58) Radiance/gtk-3.20/gtk-main.css (+27/-0) Radiance/gtk-3.20/gtk-widgets.css (+466/-138) |
To merge this branch: | bzr merge lp:~flexiondotorg/ubuntu-themes/notebook-refactor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+329593@code.launchpad.net |
Commit message
Refactor Notebooks (tabs) to use visually improved styling throughout Ambiance and Radiance. Fixes missing notebooks in Firefox (LP: #1631208)
Description of the change
This merge proposal is a re-factor of Notebooks (tabs) in the Ambiance and Radiance themes. The following issues are addressed:
* Firefox has tabs in dialogs such as Certificate Viewer (LP: #1631208)
* Notebook style is visually improved with clear distinction between active and inactive tabs
* Notebooks in Gedit and GNOME Terminal are consistent with notebooks used elsewhere
This work was completed as part of the "Fit and Finish" sprint 24th to 25th August 2017.
To post a comment you must log in.
Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote : | # |
So this went stale.
Unmerged revisions
- 556. By Martin Wimpress
-
Refactor notebooks.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Ambiance/gtk-3.20/apps/gnome-terminal.css' |
2 | --- Ambiance/gtk-3.20/apps/gnome-terminal.css 2016-08-01 12:10:11 +0000 |
3 | +++ Ambiance/gtk-3.20/apps/gnome-terminal.css 2017-08-25 11:48:27 +0000 |
4 | @@ -16,61 +16,3 @@ |
5 | terminal-screen-container { |
6 | background-color: transparent; |
7 | } |
8 | - |
9 | -notebook.terminal-notebook header { |
10 | - background-color: @dark_bg_color; |
11 | - border: none; |
12 | -} |
13 | - |
14 | - |
15 | -notebook.terminal-notebook header.top tab, |
16 | -notebook.terminal-notebook header.top tab:hover { |
17 | - background-color: shade(@bg_color, 0.7); |
18 | - border-width: 1px 1px 0px 1px; |
19 | - border-radius: 8px 8px 0px 0px; |
20 | - border-image: none; |
21 | - border-style: solid; |
22 | - border-color: @dark_bg_color; |
23 | -} |
24 | - |
25 | -notebook.terminal-notebook header.top tab:checked { |
26 | - background-color: @bg_color; |
27 | -} |
28 | - |
29 | -notebook.terminal-notebook tab button, |
30 | -notebook.terminal-notebook tab button:hover { |
31 | - background-color: transparent; |
32 | - padding: 1px; |
33 | -} |
34 | - |
35 | -notebook.terminal-notebook > header > box, |
36 | -notebook.terminal-notebook > header > box:hover { |
37 | - padding-left: 5px; |
38 | -} |
39 | - |
40 | -notebook.terminal-notebook > header > box button, |
41 | -notebook.terminal-notebook > header > box button:hover, |
42 | -notebook.terminal-notebook > header > box button:hover:backdrop { |
43 | - background: inherit; |
44 | - border: inherit; |
45 | - padding: inherit; |
46 | -} |
47 | - |
48 | -notebook.terminal-notebook > header > box > box > button:not(:last-child):hover, |
49 | -notebook.terminal-notebook > header > box > box > button:not(:last-child):hover:backdrop, |
50 | -notebook.terminal-notebook > header > box > box > button:not(:last-child) { |
51 | - padding-right: 5px; |
52 | -} |
53 | - |
54 | -notebook.terminal-notebook > header > box button:hover, |
55 | -notebook.terminal-notebook > header > box button:hover:backdrop { |
56 | - color: shade (@bg_color, 0.9); |
57 | -} |
58 | - |
59 | -notebook.terminal-notebook > header > box button { |
60 | - color: shade (@bg_color, 0.7); |
61 | -} |
62 | - |
63 | -notebook.terminal-notebook > header > box button:backdrop { |
64 | - color: shade (@bg_color, 0.4); |
65 | -} |
66 | |
67 | === modified file 'Ambiance/gtk-3.20/gtk-main.css' |
68 | --- Ambiance/gtk-3.20/gtk-main.css 2017-05-16 10:28:50 +0000 |
69 | +++ Ambiance/gtk-3.20/gtk-main.css 2017-08-25 11:48:27 +0000 |
70 | @@ -110,6 +110,33 @@ |
71 | @define-color focus_color alpha (@selected_bg_color, 0.5); |
72 | @define-color focus_bg_color alpha (@selected_bg_color, 0.1); |
73 | |
74 | +/************ |
75 | + * notebook * |
76 | + ************/ |
77 | + |
78 | +@define-color core_color_a #C0B7A9; /* Core color for orange widgets in Ambiance. */ |
79 | +@define-color core_color_b #edeceb; /* Core color for gray widgets in Ambiance. */ |
80 | + |
81 | +@define-color notebook_bg_color shade(@core_color_b, 1.02); |
82 | +@define-color border_color shade(@core_color_b, 0.67); |
83 | +@define-color notebook_tab_inner_border_color shade(@core_color_b, 1.04); |
84 | + |
85 | +@define-color notebook_tab_gradient_a shade(@core_color_b, 0.97); |
86 | +@define-color notebook_tab_gradient_b shade(@core_color_b, 0.92); |
87 | +@define-color notebook_tab_gradient_c shade(@core_color_b, 0.90); |
88 | +@define-color notebook_tab_gradient_d shade(@core_color_b, 0.86); |
89 | + |
90 | +/* active tab */ |
91 | + |
92 | +@define-color notebook_active_tab_border @menubar_menuitem_hover_border_color; |
93 | + |
94 | +@define-color notebook_active_tab_strip_gradient_a shade(@core_color_a, 1.05); |
95 | +@define-color notebook_active_tab_strip_gradient_b shade(@core_color_a, 0.94); |
96 | +@define-color notebook_active_tab_strip_border_bottom_color mix(#727272, shade(@core_color_a, 0.84), 0.65); |
97 | +@define-color notebook_active_tab_gradient_a shade(@core_color_b, 1.07); |
98 | +@define-color notebook_active_tab_gradient_b @notebook_bg_color; |
99 | + |
100 | + |
101 | @define-color scale_highlight_bg #df784e; |
102 | |
103 | @define-color osd_fg_color #eeeeec; |
104 | |
105 | === modified file 'Ambiance/gtk-3.20/gtk-widgets.css' |
106 | --- Ambiance/gtk-3.20/gtk-widgets.css 2017-06-09 08:46:35 +0000 |
107 | +++ Ambiance/gtk-3.20/gtk-widgets.css 2017-08-25 11:48:27 +0000 |
108 | @@ -600,41 +600,20 @@ |
109 | /********* |
110 | * frame * |
111 | *********/ |
112 | -.frame { |
113 | - border-radius: 3px; |
114 | - border-width: 1px; |
115 | - border-style: solid; |
116 | - border-color: shade (@bg_color, 0.82); |
117 | - border-image: none; |
118 | - background: none; |
119 | -} |
120 | - |
121 | -notebook.frame { |
122 | - border: none; |
123 | -} |
124 | - |
125 | -/* XXX: this is a copy of the above; adding notebook.frame stack there didn't |
126 | - * work */ |
127 | -frame border, notebook.frame > stack { |
128 | - border-radius: 3px; |
129 | - border-width: 1px; |
130 | - border-style: solid; |
131 | - border-color: shade (@bg_color, 0.82); |
132 | - border-image: none; |
133 | - background: none; |
134 | -} |
135 | - |
136 | -.frame.flat, frame border.flat { |
137 | - border: none; |
138 | -} |
139 | - |
140 | -scrolledwindow > viewport.frame, |
141 | -frame > box > stack > scrolledwindow { |
142 | - border-style: none; |
143 | -} |
144 | - |
145 | -frame > box.vertical > scrolledwindow.frame { |
146 | - border-width: 1px 0px 1px 0px; |
147 | +.frame, |
148 | +frame > border { /* firefox location entry */ |
149 | + border-radius: 3px; |
150 | + border-width: 1px; |
151 | + border-style: solid; |
152 | + border-color: shade (@bg_color, 0.82); |
153 | + border-image: none; |
154 | + background: none; |
155 | +} |
156 | + |
157 | +.frame.flat, |
158 | +frame > border.flat, |
159 | +overlay > frame > border { |
160 | + border: none; |
161 | } |
162 | |
163 | /************ |
164 | @@ -1010,119 +989,455 @@ |
165 | |
166 | notebook { |
167 | padding: 0; |
168 | - background-clip: border-box; |
169 | + border-style: none; |
170 | } |
171 | |
172 | notebook.frame { |
173 | - background-clip: border-box; |
174 | -} |
175 | - |
176 | -notebook header.top tab { padding: 4px 6px 2px 6px; } |
177 | -notebook header.top tab:checked { padding-bottom: 3px; } |
178 | -notebook header.bottom tab { padding: 2px 6px 4px 6px; } |
179 | -notebook header.bottom tab:checked { padding-top: 3px; } |
180 | -notebook header.left tab { padding: 2px 4px 2px 6px; } |
181 | -notebook header.left tab:checked { padding-right: 5px; } |
182 | -notebook header.right tab { padding: 2px 6px 2px 4px; } |
183 | -notebook header.right tab:checked { padding-left: 5px; } |
184 | + padding: 0; |
185 | + border-style: solid; |
186 | + border-color: shade (@bg_color, 0.82); |
187 | + background-color: shade (@notebook_bg_color, 1.00); |
188 | + border-width: 1px; |
189 | + border-radius: 4px; |
190 | +} |
191 | + |
192 | +/* pavu-control */ |
193 | +window.background > box.vertical > notebook:not(.frame), |
194 | +window.background.csd > box.vertical > notebook:not(.frame), |
195 | +window.background.ssd > box.vertical > notebook:not(.frame), |
196 | +window.background.solid-csd > box.vertical > notebook:not(.frame) { |
197 | + background-color: shade (@notebook_bg_color, 1.00); |
198 | + border-radius: 4px 4px 0px 0px; |
199 | +} |
200 | + |
201 | +window.background > box.vertical > notebook:not(.frame) > stack > box, |
202 | +window.background.csd > box.vertical > notebook:not(.frame) > stack > box, |
203 | +window.background.ssd > box.vertical > notebook:not(.frame) > stack > box, |
204 | +window.background.solid-csd > box.vertical > notebook:not(.frame) > stack > box { |
205 | + border-style: solid; |
206 | + border-width: 0px 1px 1px 1px; |
207 | + border-color: shade (@bg_color, 0.82); |
208 | +} |
209 | + |
210 | +window.background > box.vertical > notebook:not(.frame) > header.top, |
211 | +window.background.csd > box.vertical > notebook:not(.frame) > header.top, |
212 | +window.background.ssd > box.vertical > notebook:not(.frame) > header.top, |
213 | +window.background.solid-csd > box.vertical > notebook:not(.frame) > header.top { |
214 | + border-style: solid; |
215 | + border-width: 1px 1px 0px 1px; |
216 | + border-color: shade (@bg_color, 0.82); |
217 | +} |
218 | + |
219 | +printdialog > box.view.vertical.dialog-vbox > box.vertical > notebook { |
220 | + background-color: shade (@notebook_bg_color, 1.00); |
221 | + border-radius: 0px; |
222 | + border-style: solid; |
223 | + border-color: @borders; |
224 | + border-width: 0px 0px 1px 0px; |
225 | +} |
226 | + |
227 | +dialog.background.csd > box.vertical.dialog-vbox > notebook, /* meld preferences */ |
228 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook, |
229 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook { |
230 | + background-color: shade (@notebook_bg_color, 1.00); |
231 | +} |
232 | + |
233 | +notebook :hover { |
234 | + -gtk-icon-effect: highlight; |
235 | +} |
236 | |
237 | notebook header { |
238 | - border-width: 0; /* set below depending on position of tab bar */ |
239 | - border-color: shade (@bg_color, 0.82); |
240 | - border-style: solid; |
241 | -} |
242 | - |
243 | -/* Draw a border between tabs and content ... */ |
244 | -notebook:not(.frame) header.top { border-bottom-width: 1px; } |
245 | -notebook:not(.frame) header.right { border-left-width: 1px; } |
246 | -notebook:not(.frame) header.left { border-right-width: 1px; } |
247 | -notebook:not(.frame) header.bottom { border-top-width: 1px; } |
248 | - |
249 | -notebook.frame header.top { border-bottom: 1px solid @bg_color; } |
250 | - |
251 | -notebook header.top tab { |
252 | - border-image: -gtk-gradient (linear, left top, left bottom, |
253 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
254 | - to (shade (@bg_color, 0.9))) 1; |
255 | - border-image-width: 0 1px; |
256 | -} |
257 | - |
258 | -notebook header.top tab:checked, |
259 | -notebook header.top tab:checked:hover { |
260 | - background-image: linear-gradient(to bottom, |
261 | - shade(@bg_color, 1.075), |
262 | - shade(@bg_color, 1)); |
263 | - border-radius: 4px 4px 0px 0px; |
264 | - border-width: 0px 1px 0px 1px; |
265 | - border-style: solid; |
266 | - border-color: @borders; |
267 | -} |
268 | - |
269 | -notebook header.right tab { |
270 | - border-image: -gtk-gradient (linear, right top, left top, |
271 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
272 | - to (shade (@bg_color, 0.9))) 1; |
273 | - border-image-width: 1px 0; |
274 | -} |
275 | - |
276 | -notebook header.right tab:checked, |
277 | -notebook header.right tab:checked:hover { |
278 | + background-image: none; |
279 | + background-color: shade (@theme_bg_color, 1.0); |
280 | + border-width: 0px; |
281 | +} |
282 | + |
283 | +notebook header.top { |
284 | + margin: -1px -1px 0px 0px; |
285 | + border-width: 0px 0px 1px 0px; |
286 | + border-radius: 4px 4px 0px 0px; |
287 | + background-color: @theme_bg_color; |
288 | + box-shadow: inset 0px -1px alpha(shade(@bg_color, 0.82), 0.90); |
289 | +} |
290 | + |
291 | +printdialog notebook header.top, |
292 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top, |
293 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top, |
294 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top { |
295 | + border-radius: 0px; |
296 | +} |
297 | + |
298 | +notebook header.bottom { |
299 | + margin: 0px -1px -1px 0px; |
300 | + border-width: 1px 0px 0px 0px; |
301 | + border-radius: 0px 0px 4px 4px; |
302 | + background-color: @theme_bg_color; |
303 | + box-shadow: inset 0px 1px alpha(shade(@bg_color, 0.82), 0.90); |
304 | +} |
305 | + |
306 | +notebook header.left { |
307 | + margin: 0px 0px -1px -1px; |
308 | + border-width: 0px 1px 0px 0px; |
309 | + border-radius: 4px 0px 0px 4px; |
310 | + background-color: @theme_bg_color; |
311 | + box-shadow: inset -1px 0px alpha(shade(@bg_color, 0.82), 0.90); |
312 | +} |
313 | + |
314 | +notebook header.right { |
315 | + margin: 0px -1px -1px 0px; |
316 | + border-width: 0px 0px 0px 1px; |
317 | + border-radius: 0px 4px 4px 0px; |
318 | + background-color: @theme_bg_color; |
319 | + box-shadow: inset 1px 0px alpha(shade(@bg_color, 0.82), 0.90); |
320 | +} |
321 | + |
322 | +notebook header tab { |
323 | + border-color: shade (@bg_color, 0.82); |
324 | + border-style: solid; |
325 | + border-width: 1px; |
326 | + background-color: transparent; |
327 | + background-image: linear-gradient(to bottom, |
328 | + @notebook_tab_gradient_a, |
329 | + @notebook_tab_gradient_d); |
330 | + padding: 6px; |
331 | +} |
332 | + |
333 | +notebook header tab label { |
334 | + color: @theme_fg_color; |
335 | + font-weight: normal; |
336 | +} |
337 | + |
338 | +notebook header .prelight-page, |
339 | +notebook header .prelight-page label { |
340 | + color: mix (@theme_fg_color, @theme_bg_color, 0.15); |
341 | +} |
342 | + |
343 | +notebook header .active-page, |
344 | +notebook header tab .active-page label { |
345 | + color: @theme_fg_color; |
346 | +} |
347 | + |
348 | +/* tabs and header in view areas */ |
349 | +.gedit-bottom-panel-paned > grid > notebook > header.top, |
350 | +window.background > notebook > header.top, /* nautilus preferences */ |
351 | +paned.horizontal > box.vertical > notebook > header.top, |
352 | +paned.horizontal > paned.vertical > notebook > header.top { |
353 | + border-style: solid; |
354 | + border-color: shade (@bg_color, 0.82); |
355 | + border-width: 1px 0px 0px 1px; |
356 | + border-radius: 4px 4px 0px 0px; |
357 | + box-shadow: none; |
358 | +} |
359 | + |
360 | +paned.horizontal > box.vertical > notebook scrolledwindow.frame, |
361 | +paned.horizontal > paned.vertical > notebook scrolledwindow.frame { |
362 | + border-width: 1px 1px 1px 1px; |
363 | + border-style: solid; |
364 | + border-color: shade (@bg_color, 0.82); |
365 | +} |
366 | + |
367 | +.gedit-bottom-panel-paned > grid > notebook > header tab, |
368 | +window.background > notebook > header tab, |
369 | +paned.horizontal > notebook > header tab, |
370 | +paned.horizontal > box.vertical > notebook > header tab, |
371 | +paned.horizontal > paned.vertical > notebook > header tab { |
372 | + padding: 6px; |
373 | + margin: 0px -0px 0px -1px; |
374 | + border-width: 0px 1px 0 1px; |
375 | + border-style: solid; |
376 | + border-radius: 4px 4px 0 0; |
377 | +} |
378 | + |
379 | +.gedit-bottom-panel-paned > grid > notebook > header tab:checked, |
380 | +.gedit-bottom-panel-paned > grid > notebook > header tab:checked:hover, |
381 | +window.background > notebook > header.top tab:checked, |
382 | +window.background > notebook > header.top tab:checked:hover, |
383 | +paned.horizontal > notebook > header.top tab:checked, |
384 | +paned.horizontal > notebook > header.top tab:checked:hover, |
385 | +paned.horizontal > box.vertical > notebook > header.top tab:checked, |
386 | +paned.horizontal > box.vertical > notebook > header.top tab:checked:hover, |
387 | +paned.horizontal > paned.vertical > notebook > header.top tab:checked, |
388 | +paned.horizontal > paned.vertical > notebook > header.top tab:checked:hover { |
389 | + background-image: linear-gradient(to bottom, |
390 | + shade(@notebook_bg_color, 1.18), |
391 | + shade(@notebook_bg_color, 1.00)); |
392 | + border-radius: 4px 4px 0 0; |
393 | + border-width: 1px 1px 0 1px; |
394 | + border-style: solid; |
395 | + box-shadow: none; |
396 | +} |
397 | + |
398 | +.gedit-bottom-panel-paned > grid > notebook > header button.flat.small-button, |
399 | +paned.horizontal > box.vertical > notebook > header button.flat, |
400 | +paned.horizontal > paned.vertical > notebook > header button.flat { |
401 | + padding: 1px; |
402 | +} |
403 | + |
404 | +/* closable-page */ |
405 | +paned.horizontal > notebook { |
406 | + border-width: 1px 1px 1px 1px; |
407 | + border-style: solid; |
408 | + border-color: shade (@bg_color, 0.82); |
409 | + border-radius: 4px 4px 0px 0px; |
410 | +} |
411 | + |
412 | +paned.horizontal > notebook > header { |
413 | + border-width: 0px 0px 0px 0px; |
414 | + border-style: solid; |
415 | + border-color: shade (@bg_color, 0.82); |
416 | + border-radius: 4px 4px 0px 0px; |
417 | +} |
418 | + |
419 | +paned.horizontal > notebook > header label { |
420 | + padding: 4px; |
421 | +} |
422 | + |
423 | +paned.horizontal > notebook > header tab { |
424 | + border-width: 1px 1px 1px 1px; |
425 | +} |
426 | + |
427 | +paned.horizontal > notebook > header button.flat.small-button { |
428 | + padding: 1px; |
429 | +} |
430 | + |
431 | +paned.horizontal > notebook > stack > box { |
432 | + background-color: shade (@notebook_bg_color, 1.00); |
433 | +} |
434 | + |
435 | +/* tabs in dialog windows */ |
436 | +/* horizontal tabs */ |
437 | +window.background > box.vertical > notebook > header.top tab, /* pavu-control */ |
438 | +window.background.csd > box.vertical > notebook > header.top tab, |
439 | +window.background.ssd > box.vertical > notebook > header.top tab, |
440 | +window.background.solid-csd > box.vertical > notebook > header.top tab, |
441 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, /* meld preferences */ |
442 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, |
443 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, |
444 | +printdialog notebook > header.top tab, |
445 | +notebook.frame > header.top tab, |
446 | +notebook.frame > header.bottom tab { |
447 | + margin: 0px 0px 0px -1px; |
448 | + border-width: 1px 1px 1px 1px; |
449 | + border-style: solid; |
450 | +} |
451 | + |
452 | +window.background > box.vertical > notebook > header.top tab, /* pavu-control */ |
453 | +window.background.csd > box.vertical > notebook > header.top tab, |
454 | +window.background.ssd > box.vertical > notebook > header.top tab, |
455 | +window.background.solid-csd > box.vertical > notebook > header.top tab, |
456 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, |
457 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, |
458 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, |
459 | +printdialog notebook > header.top tab, |
460 | +notebook.frame > header.top tab { |
461 | + padding: 6px; |
462 | + border-radius: 4px 4px 0px 0px; |
463 | +} |
464 | + |
465 | +window.background > box.vertical > notebook > header.top tab:checked, /* pavu-control */ |
466 | +window.background.csd > box.vertical > notebook > header.top tab:checked, |
467 | +window.background.ssd > box.vertical > notebook > header.top tab:checked, |
468 | +window.background.solid-csd > box.vertical > notebook > header.top tab:checked, |
469 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
470 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
471 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
472 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
473 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
474 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
475 | +printdialog notebook > header.top tab:checked, |
476 | +printdialog notebook > header.top tab:checked:hover, |
477 | +notebook.frame > header.top tab:checked, |
478 | +notebook.frame > header.top tab:checked:hover { |
479 | + background-image: linear-gradient(to bottom, |
480 | + shade(@notebook_bg_color, 1.18), |
481 | + shade(@notebook_bg_color, 1.00)); |
482 | + border-radius: 4px 4px 0px 0px; |
483 | + border-width: 1px 1px 0px 1px; |
484 | + border-style: solid; |
485 | +} |
486 | + |
487 | +notebook.frame > header.bottom tab { |
488 | + padding: 6px; |
489 | +} |
490 | + |
491 | +notebook.frame > header.bottom tab:checked, |
492 | +notebook.frame > header.bottom tab:checked:hover { |
493 | + background-image: linear-gradient(to top, |
494 | + shade(@notebook_bg_color, 1.18), |
495 | + shade(@notebook_bg_color, 1.00)); |
496 | + border-radius: 0px 0px 4px 4px; |
497 | + border-style: solid; |
498 | + border-width: 0px 1px 1px 1px; |
499 | +} |
500 | + |
501 | +/* vertical tabs */ |
502 | +notebook.frame > header.left tab, |
503 | +notebook.frame > header.right tab { |
504 | + padding: 6px; |
505 | + margin: -1px 0px 0px 0px; |
506 | + border-width: 1px 1px 1px 1px; |
507 | + border-style: solid; |
508 | +} |
509 | + |
510 | +notebook.frame > header.left tab { |
511 | + border-radius: 4px 0px 0px 4px; |
512 | +} |
513 | + |
514 | + |
515 | +notebook.frame > header.left tab:checked, |
516 | +notebook.frame > header.left tab:checked:hover { |
517 | + background-image: linear-gradient(to right, |
518 | + shade(@notebook_bg_color, 1.18), |
519 | + shade(@notebook_bg_color, 1.00)); |
520 | + border-style: solid; |
521 | + border-width: 1px 0px 1px 1px; |
522 | + border-radius: 4px 0px 0px 4px; |
523 | +} |
524 | + |
525 | +notebook.frame > header.right tab { |
526 | + border-radius: 0px 4px 4px 0px; |
527 | +} |
528 | + |
529 | +notebook.frame > header.right tab:checked, |
530 | +notebook.frame > header.right tab:checked:hover { |
531 | background-image: linear-gradient(to left, |
532 | - shade(@bg_color, 1.075), |
533 | - shade(@bg_color, 1)); |
534 | - border-radius: 0px 4px 4px 0px; |
535 | - border-width: 1px 0px 1px 0px; |
536 | - border-color: shade(@bg_color, 0.95); |
537 | -} |
538 | - |
539 | -notebook header.left tab { |
540 | - border-image: -gtk-gradient (linear, left top, right top, |
541 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
542 | - to (shade (@bg_color, 0.9))) 1; |
543 | - border-image-width: 1px 0; |
544 | -} |
545 | - |
546 | -notebook header.left tab:checked, |
547 | -notebook header.left tab:checked:hover { |
548 | - background-image: linear-gradient(to right, |
549 | - shade(@bg_color, 1.075), |
550 | - shade(@bg_color, 1)); |
551 | - border-radius: 4px 0px 0px 4px; |
552 | - border-width: 1px 0px 1px 0px; |
553 | - border-color: shade(@bg_color, 0.95); |
554 | -} |
555 | - |
556 | -notebook header.bottom tab { |
557 | - border-image: -gtk-gradient (linear, left bottom, left top, |
558 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
559 | - to (shade (@bg_color, 0.9))) 1; |
560 | - border-image-width: 0 1px; |
561 | -} |
562 | - |
563 | -notebook header.bottom tab:checked, |
564 | -notebook header.bottom tab:checked:hover { |
565 | - background-image: linear-gradient(to top, |
566 | - shade(@bg_color, 1.075), |
567 | - shade(@bg_color, 1)); |
568 | - border-radius: 0 0 4px 4px; |
569 | - border-width: 0px 1px 0px 1px; |
570 | - border-style: solid; |
571 | - border-color: shade(@bg_color, 0.95); |
572 | -} |
573 | - |
574 | -/* Draw a focus ring around labels in tabs */ |
575 | -notebook tab label { |
576 | - border: 1px solid transparent; |
577 | - border-radius: 5px; |
578 | -} |
579 | - |
580 | -notebook:focus tab:checked label { |
581 | - border-color: @focus_color; |
582 | - background-color: @focus_bg_color; |
583 | -} |
584 | - |
585 | -notebook GtkDrawingArea { |
586 | - background-color: shade (@bg_color, 1.02); |
587 | + shade(@notebook_bg_color, 1.18), |
588 | + shade(@notebook_bg_color, 1.00)); |
589 | + border-style: solid; |
590 | + border-width: 1px 1px 1px 0px; |
591 | + border-radius: 0px 4px 4px 0px; |
592 | +} |
593 | + |
594 | +notebook tab.reorderable-page:checked, |
595 | +notebook tab.reorderable-page:checked:hover { |
596 | + background-image: linear-gradient(to bottom, |
597 | + shade(@notebook_bg_color, 1.18), |
598 | + shade(@notebook_bg_color, 1.00)); |
599 | + border-radius: 4px 4px 0 0; |
600 | + box-shadow: none; |
601 | + border-style: solid; |
602 | +} |
603 | + |
604 | +/* outlines */ |
605 | +notebook header.top tab:checked { |
606 | + -gtk-outline-top-left-radius: 4px; |
607 | + -gtk-outline-top-right-radius: 4px; |
608 | + -gtk-outline-bottom-left-radius: 0px; |
609 | + -gtk-outline-bottom-right-radius: 0px; |
610 | +} |
611 | + |
612 | +notebook header.bottom tab:checked { |
613 | + -gtk-outline-top-left-radius: 0px; |
614 | + -gtk-outline-top-right-radius: 0px; |
615 | + -gtk-outline-bottom-left-radius: 4px; |
616 | + -gtk-outline-bottom-right-radius: 4px; |
617 | +} |
618 | + |
619 | +notebook header.left tab:checked { |
620 | + -gtk-outline-top-left-radius: 4px; |
621 | + -gtk-outline-top-right-radius: 0px; |
622 | + -gtk-outline-bottom-left-radius: 0px; |
623 | + -gtk-outline-bottom-right-radius: 4px; |
624 | +} |
625 | + |
626 | +notebook header.right tab:checked { |
627 | + -gtk-outline-top-left-radius: 0px; |
628 | + -gtk-outline-top-right-radius: 4px; |
629 | + -gtk-outline-bottom-left-radius: 4px; |
630 | + -gtk-outline-bottom-right-radius: 0px; |
631 | +} |
632 | + |
633 | +/* close button styling */ |
634 | +notebook > header > tabs > tab > box > button.flat, |
635 | +notebook > header > tabs > tab > box > button.flat.small-button { |
636 | + border-image: none; |
637 | + background-image: none; |
638 | + background-color: transparent; |
639 | + border-radius: 3px; |
640 | + border-style: none; |
641 | + border-color: transparent; |
642 | + border-width: 0px; |
643 | + -gtk-icon-shadow: none; |
644 | + padding: 0px; |
645 | +} |
646 | + |
647 | +notebook > header > tabs > tab > box > button.flat:hover, |
648 | +notebook > header > tabs > tab > box > button.flat.small-button:hover { |
649 | + -gtk-icon-effect: highlight; |
650 | +} |
651 | + |
652 | +notebook > header > tabs > tab > box > button.flat:checked, |
653 | +notebook > header > tabs > tab > box > button.flat:hover:active, |
654 | +notebook > header > tabs > tab > box > button.flat.small-button:checked, |
655 | +notebook > header > tabs > tab > box > button.flat.small-button:hover:active { |
656 | + color: @button_active_text; |
657 | + background-color: alpha(black, 0.08); |
658 | + box-shadow: inset 0 1px alpha(black, 0.05); |
659 | + -gtk-icon-shadow: 0 1px @button_active_text_shadow; |
660 | + border-color: alpha(black, 0.27) |
661 | + alpha(black, 0.13) |
662 | + alpha(black, 0.13) |
663 | + alpha(black, 0.13); |
664 | +} |
665 | + |
666 | +notebook > header > tabs > tab.prelight-page button.flat.small-button, |
667 | +notebook > header > tabs > tab.active-page button.flat.small-button { |
668 | + color: mix(@theme_fg_color, @theme_base_color, 0.6); |
669 | + -gtk-icon-shadow: 0 1px @button_text_shadow; |
670 | +} |
671 | + |
672 | +notebook header.top tabs arrow.up, |
673 | +notebook header.bottom tabs arrow.up { |
674 | + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); |
675 | +} |
676 | + |
677 | +notebook header.top tabs arrow.down, |
678 | +notebook header.bottom tabs arrow.down { |
679 | + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); |
680 | +} |
681 | + |
682 | +notebook header.left tabs arrow.up, |
683 | +notebook header.right tabs arrow.up { |
684 | + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); |
685 | +} |
686 | + |
687 | +notebook header.left tabs arrow.down, |
688 | +notebook header.right tabs arrow.down { |
689 | + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); |
690 | +} |
691 | + |
692 | +notebook header tabs arrow { |
693 | + color: @theme_fg_color; |
694 | +} |
695 | + |
696 | +notebook header tabs arrow:hover { |
697 | + color: @theme_selected_bg_color; |
698 | +} |
699 | + |
700 | +notebook header tabs arrow:active { |
701 | + color: @theme_fg_color; |
702 | +} |
703 | + |
704 | +notebook header tabs arrow:disabled { |
705 | + color: rgba(141, 144, 145, 0.3); |
706 | +} |
707 | + |
708 | +notebook header tabs arrow:backdrop { |
709 | + color: rgba(84, 89, 90, 0.4); |
710 | +} |
711 | + |
712 | +notebook header tabs arrow:disabled { |
713 | + color: #c7c7c7; |
714 | +} |
715 | + |
716 | +notebook header tab:checked label { |
717 | + color: @theme_fg_color; |
718 | + font-weight: normal; |
719 | +} |
720 | + |
721 | +notebook header tab label { |
722 | + color: shade (@theme_fg_color, 1.30); |
723 | + font-weight: normal; |
724 | } |
725 | |
726 | /****************** |
727 | |
728 | === modified file 'Radiance/gtk-3.20/apps/gnome-terminal.css' |
729 | --- Radiance/gtk-3.20/apps/gnome-terminal.css 2016-08-04 16:31:00 +0000 |
730 | +++ Radiance/gtk-3.20/apps/gnome-terminal.css 2017-08-25 11:48:27 +0000 |
731 | @@ -16,61 +16,3 @@ |
732 | terminal-screen-container { |
733 | background-color: transparent; |
734 | } |
735 | - |
736 | -notebook.terminal-notebook header { |
737 | - background-color: @dark_bg_color; |
738 | - border: none; |
739 | -} |
740 | - |
741 | - |
742 | -notebook.terminal-notebook header.top tab, |
743 | -notebook.terminal-notebook header.top tab:hover { |
744 | - background-color: shade(@bg_color, 0.75); |
745 | - border-width: 1px 1px 0px 1px; |
746 | - border-radius: 8px 8px 0px 0px; |
747 | - border-image: none; |
748 | - border-style: solid; |
749 | - border-color: @dark_bg_color; |
750 | -} |
751 | - |
752 | -notebook.terminal-notebook header.top tab:checked { |
753 | - background-color: shade(@bg_color, 1.2); |
754 | -} |
755 | - |
756 | -notebook.terminal-notebook tab button, |
757 | -notebook.terminal-notebook tab button:hover { |
758 | - background-color: transparent; |
759 | - padding: 1px; |
760 | -} |
761 | - |
762 | -notebook.terminal-notebook > header > box, |
763 | -notebook.terminal-notebook > header > box:hover { |
764 | - padding-left: 5px; |
765 | -} |
766 | - |
767 | -notebook.terminal-notebook > header > box button, |
768 | -notebook.terminal-notebook > header > box button:hover, |
769 | -notebook.terminal-notebook > header > box button:hover:backdrop { |
770 | - background: inherit; |
771 | - border: inherit; |
772 | - padding: inherit; |
773 | -} |
774 | - |
775 | -notebook.terminal-notebook > header > box > box > button:not(:last-child):hover, |
776 | -notebook.terminal-notebook > header > box > box > button:not(:last-child):hover:backdrop, |
777 | -notebook.terminal-notebook > header > box > box > button:not(:last-child) { |
778 | - padding-right: 5px; |
779 | -} |
780 | - |
781 | -notebook.terminal-notebook > header > box button:hover, |
782 | -notebook.terminal-notebook > header > box button:hover:backdrop { |
783 | - color: shade (@bg_color, 0.9); |
784 | -} |
785 | - |
786 | -notebook.terminal-notebook > header > box button { |
787 | - color: shade (@bg_color, 0.7); |
788 | -} |
789 | - |
790 | -notebook.terminal-notebook > header > box button:backdrop { |
791 | - color: shade (@bg_color, 0.4); |
792 | -} |
793 | |
794 | === modified file 'Radiance/gtk-3.20/gtk-main.css' |
795 | --- Radiance/gtk-3.20/gtk-main.css 2017-05-16 10:28:50 +0000 |
796 | +++ Radiance/gtk-3.20/gtk-main.css 2017-08-25 11:48:27 +0000 |
797 | @@ -107,6 +107,33 @@ |
798 | @define-color focus_color alpha (@selected_bg_color, 0.5); |
799 | @define-color focus_bg_color alpha (@selected_bg_color, 0.1); |
800 | |
801 | +/************ |
802 | + * notebook * |
803 | + ************/ |
804 | + |
805 | +@define-color core_color_a #C0B7A9; /* Core color for orange widgets in Radiance. */ |
806 | +@define-color core_color_b #edeceb; /* Core color for gray widgets in Radiance. */ |
807 | + |
808 | +@define-color notebook_bg_color shade(@core_color_b, 1.02); |
809 | +@define-color border_color shade(@core_color_b, 0.67); |
810 | +@define-color notebook_tab_inner_border_color shade(@core_color_b, 1.04); |
811 | + |
812 | +@define-color notebook_tab_gradient_a shade(@core_color_b, 0.97); |
813 | +@define-color notebook_tab_gradient_b shade(@core_color_b, 0.92); |
814 | +@define-color notebook_tab_gradient_c shade(@core_color_b, 0.90); |
815 | +@define-color notebook_tab_gradient_d shade(@core_color_b, 0.86); |
816 | + |
817 | +/* active tab */ |
818 | + |
819 | +@define-color notebook_active_tab_border @menubar_menuitem_hover_border_color; |
820 | + |
821 | +@define-color notebook_active_tab_strip_gradient_a shade(@core_color_a, 1.05); |
822 | +@define-color notebook_active_tab_strip_gradient_b shade(@core_color_a, 0.94); |
823 | +@define-color notebook_active_tab_strip_border_bottom_color mix(#727272, shade(@core_color_a, 0.84), 0.65); |
824 | +@define-color notebook_active_tab_gradient_a shade(@core_color_b, 1.07); |
825 | +@define-color notebook_active_tab_gradient_b @notebook_bg_color; |
826 | + |
827 | + |
828 | @define-color scale_highlight_bg #df784e; |
829 | |
830 | @define-color shadow_color alpha(black, 0.5); |
831 | |
832 | === modified file 'Radiance/gtk-3.20/gtk-widgets.css' |
833 | --- Radiance/gtk-3.20/gtk-widgets.css 2017-06-09 08:46:35 +0000 |
834 | +++ Radiance/gtk-3.20/gtk-widgets.css 2017-08-25 11:48:27 +0000 |
835 | @@ -609,41 +609,20 @@ |
836 | /********* |
837 | * frame * |
838 | *********/ |
839 | -.frame { |
840 | - border-radius: 3px; |
841 | - border-width: 1px; |
842 | - border-style: solid; |
843 | - border-color: shade (@bg_color, 0.82); |
844 | - border-image: none; |
845 | - background: none; |
846 | -} |
847 | - |
848 | -notebook.frame { |
849 | - border: none; |
850 | -} |
851 | - |
852 | -/* XXX: this is a copy of the above; adding notebook.frame stack there didn't |
853 | - * work */ |
854 | -frame border, notebook.frame > stack { |
855 | - border-radius: 3px; |
856 | - border-width: 1px; |
857 | - border-style: solid; |
858 | - border-color: shade (@bg_color, 0.82); |
859 | - border-image: none; |
860 | - background: none; |
861 | -} |
862 | - |
863 | -.frame.flat, frame border.flat { |
864 | - border: none; |
865 | -} |
866 | - |
867 | -scrolledwindow > viewport.frame, |
868 | -frame > box > stack > scrolledwindow { |
869 | - border-style: none; |
870 | -} |
871 | - |
872 | -frame > box.vertical > scrolledwindow.frame { |
873 | - border-width: 1px 0px 1px 0px; |
874 | +.frame, |
875 | +frame > border { /* firefox location entry */ |
876 | + border-radius: 3px; |
877 | + border-width: 1px; |
878 | + border-style: solid; |
879 | + border-color: shade (@bg_color, 0.82); |
880 | + border-image: none; |
881 | + background: none; |
882 | +} |
883 | + |
884 | +.frame.flat, |
885 | +frame > border.flat, |
886 | +overlay > frame > border { |
887 | + border: none; |
888 | } |
889 | |
890 | /************ |
891 | @@ -1016,112 +995,461 @@ |
892 | /************ |
893 | * notebook * |
894 | ************/ |
895 | -notebook header.top tab { padding: 4px 6px 2px 6px; } |
896 | -notebook header.top tab:checked { padding-bottom: 3px; } |
897 | -notebook header.bottom tab { padding: 2px 6px 4px 6px; } |
898 | -notebook header.bottom tab:checked { padding-top: 3px; } |
899 | -notebook header.left tab { padding: 2px 4px 2px 6px; } |
900 | -notebook header.left tab:checked { padding-right: 5px; } |
901 | -notebook header.right tab { padding: 2px 6px 2px 4px; } |
902 | -notebook header.right tab:checked { padding-left: 5px; } |
903 | +/************ |
904 | + * notebook * |
905 | + ************/ |
906 | + |
907 | +notebook { |
908 | + padding: 0; |
909 | + border-style: none; |
910 | +} |
911 | + |
912 | +notebook.frame { |
913 | + padding: 0; |
914 | + border-style: solid; |
915 | + border-color: shade (@bg_color, 0.82); |
916 | + background-color: shade (@notebook_bg_color, 1.00); |
917 | + border-width: 1px; |
918 | + border-radius: 4px; |
919 | +} |
920 | + |
921 | +/* pavu-control */ |
922 | +window.background > box.vertical > notebook:not(.frame), |
923 | +window.background.csd > box.vertical > notebook:not(.frame), |
924 | +window.background.ssd > box.vertical > notebook:not(.frame), |
925 | +window.background.solid-csd > box.vertical > notebook:not(.frame) { |
926 | + background-color: shade (@notebook_bg_color, 1.00); |
927 | + border-radius: 4px 4px 0px 0px; |
928 | +} |
929 | + |
930 | +window.background > box.vertical > notebook:not(.frame) > stack > box, |
931 | +window.background.csd > box.vertical > notebook:not(.frame) > stack > box, |
932 | +window.background.ssd > box.vertical > notebook:not(.frame) > stack > box, |
933 | +window.background.solid-csd > box.vertical > notebook:not(.frame) > stack > box { |
934 | + border-style: solid; |
935 | + border-width: 0px 1px 1px 1px; |
936 | + border-color: shade (@bg_color, 0.82); |
937 | +} |
938 | + |
939 | +window.background > box.vertical > notebook:not(.frame) > header.top, |
940 | +window.background.csd > box.vertical > notebook:not(.frame) > header.top, |
941 | +window.background.ssd > box.vertical > notebook:not(.frame) > header.top, |
942 | +window.background.solid-csd > box.vertical > notebook:not(.frame) > header.top { |
943 | + border-style: solid; |
944 | + border-width: 1px 1px 0px 1px; |
945 | + border-color: shade (@bg_color, 0.82); |
946 | +} |
947 | + |
948 | +printdialog > box.view.vertical.dialog-vbox > box.vertical > notebook { |
949 | + background-color: shade (@theme_bg_color, 1.1); |
950 | + border-radius: 0px; |
951 | + border-style: solid; |
952 | + border-color: @borders; |
953 | + border-width: 0px 0px 1px 0px; |
954 | +} |
955 | + |
956 | +dialog.background.csd > box.vertical.dialog-vbox > notebook, /* meld preferences */ |
957 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook, |
958 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook { |
959 | + background-color: shade (@theme_bg_color, 1.1); |
960 | +} |
961 | + |
962 | +notebook :hover { |
963 | + -gtk-icon-effect: highlight; |
964 | +} |
965 | |
966 | notebook header { |
967 | - border-width: 0; /* set below depending on position of tab bar */ |
968 | - border-color: shade (@bg_color, 0.82); |
969 | - border-style: solid; |
970 | -} |
971 | - |
972 | -/* Draw a border between tabs and content ... */ |
973 | -notebook:not(.frame) header.top { border-bottom-width: 1px; } |
974 | -notebook:not(.frame) header.right { border-left-width: 1px; } |
975 | -notebook:not(.frame) header.left { border-right-width: 1px; } |
976 | -notebook:not(.frame) header.bottom { border-top-width: 1px; } |
977 | - |
978 | -notebook.frame header.top { border-bottom: 1px solid @bg_color; } |
979 | - |
980 | -notebook header.top tab { |
981 | - border-image: -gtk-gradient (linear, left top, left bottom, |
982 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
983 | - to (shade (@bg_color, 0.9))) 1; |
984 | - border-image-width: 0 1px; |
985 | -} |
986 | - |
987 | -notebook header.top tab:checked, |
988 | -notebook header.top tab:checked:hover { |
989 | - background-image: linear-gradient(to bottom, |
990 | - shade(@bg_color, 1.075), |
991 | - shade(@bg_color, 1)); |
992 | - border-radius: 4px 4px 0px 0px; |
993 | - border-width: 0px 1px 0px 1px; |
994 | - border-style: solid; |
995 | - border-color: @borders; |
996 | -} |
997 | - |
998 | -notebook header.right tab { |
999 | - border-image: -gtk-gradient (linear, right top, left top, |
1000 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
1001 | - to (shade (@bg_color, 0.9))) 1; |
1002 | - border-image-width: 1px 0; |
1003 | -} |
1004 | - |
1005 | -notebook header.right tab:checked, |
1006 | -notebook header.right tab:checked:hover { |
1007 | + background-image: none; |
1008 | + background-color: shade (@theme_bg_color, 1.0); |
1009 | + border-width: 0px; |
1010 | +} |
1011 | + |
1012 | +notebook header.top { |
1013 | + margin: -1px -1px 0px 0px; |
1014 | + border-width: 0px 0px 1px 0px; |
1015 | + border-radius: 4px 4px 0px 0px; |
1016 | + background-color: @theme_bg_color; |
1017 | + box-shadow: inset 0px -1px alpha(shade(@bg_color, 0.82), 0.90); |
1018 | +} |
1019 | + |
1020 | +printdialog notebook header.top, |
1021 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top, |
1022 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top, |
1023 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top { |
1024 | + border-radius: 0px; |
1025 | +} |
1026 | + |
1027 | +notebook header.bottom { |
1028 | + margin: 0px -1px -1px 0px; |
1029 | + border-width: 1px 0px 0px 0px; |
1030 | + border-radius: 0px 0px 4px 4px; |
1031 | + background-color: @theme_bg_color; |
1032 | + box-shadow: inset 0px 1px alpha(shade(@bg_color, 0.82), 0.90); |
1033 | +} |
1034 | + |
1035 | +notebook header.left { |
1036 | + margin: 0px 0px -1px -1px; |
1037 | + border-width: 0px 1px 0px 0px; |
1038 | + border-radius: 4px 0px 0px 4px; |
1039 | + background-color: @theme_bg_color; |
1040 | + box-shadow: inset -1px 0px alpha(shade(@bg_color, 0.82), 0.90); |
1041 | +} |
1042 | + |
1043 | +notebook header.right { |
1044 | + margin: 0px -1px -1px 0px; |
1045 | + border-width: 0px 0px 0px 1px; |
1046 | + border-radius: 0px 4px 4px 0px; |
1047 | + background-color: @theme_bg_color; |
1048 | + box-shadow: inset 1px 0px alpha(shade(@bg_color, 0.82), 0.90); |
1049 | +} |
1050 | + |
1051 | +notebook header tab { |
1052 | + border-color: shade (@bg_color, 0.82); |
1053 | + border-style: solid; |
1054 | + border-width: 1px; |
1055 | + background-color: transparent; |
1056 | + background-image: linear-gradient(to bottom, |
1057 | + @notebook_tab_gradient_a, |
1058 | + @notebook_tab_gradient_d); |
1059 | + padding: 6px; |
1060 | +} |
1061 | + |
1062 | +notebook header tab label { |
1063 | + color: @theme_fg_color; |
1064 | + font-weight: normal; |
1065 | +} |
1066 | + |
1067 | +notebook header .prelight-page, |
1068 | +notebook header .prelight-page label { |
1069 | + color: mix (@theme_fg_color, @theme_bg_color, 0.15); |
1070 | +} |
1071 | + |
1072 | +notebook header .active-page, |
1073 | +notebook header tab .active-page label { |
1074 | + color: @theme_fg_color; |
1075 | +} |
1076 | + |
1077 | +/* tabs and header in view areas */ |
1078 | +.gedit-bottom-panel-paned > grid > notebook > header.top, |
1079 | +window.background > notebook > header.top, /* nautilus preferences */ |
1080 | +paned.horizontal > box.vertical > notebook > header.top, |
1081 | +paned.horizontal > paned.vertical > notebook > header.top { |
1082 | + border-style: solid; |
1083 | + border-color: shade (@bg_color, 0.82); |
1084 | + border-width: 1px 0px 0px 1px; |
1085 | + border-radius: 4px 4px 0px 0px; |
1086 | + box-shadow: none; |
1087 | +} |
1088 | + |
1089 | +paned.horizontal > box.vertical > notebook scrolledwindow.frame, |
1090 | +paned.horizontal > paned.vertical > notebook scrolledwindow.frame { |
1091 | + border-width: 1px 1px 1px 1px; |
1092 | + border-style: solid; |
1093 | + border-color: shade (@bg_color, 0.82); |
1094 | +} |
1095 | + |
1096 | +.gedit-bottom-panel-paned > grid > notebook > header tab, |
1097 | +window.background > notebook > header tab, |
1098 | +paned.horizontal > notebook > header tab, |
1099 | +paned.horizontal > box.vertical > notebook > header tab, |
1100 | +paned.horizontal > paned.vertical > notebook > header tab { |
1101 | + padding: 6px; |
1102 | + margin: 0px -0px 0px -1px; |
1103 | + border-width: 0px 1px 0 1px; |
1104 | + border-style: solid; |
1105 | + border-radius: 4px 4px 0 0; |
1106 | +} |
1107 | + |
1108 | +.gedit-bottom-panel-paned > grid > notebook > header tab:checked, |
1109 | +.gedit-bottom-panel-paned > grid > notebook > header tab:checked:hover, |
1110 | +window.background > notebook > header.top tab:checked, |
1111 | +window.background > notebook > header.top tab:checked:hover, |
1112 | +paned.horizontal > notebook > header.top tab:checked, |
1113 | +paned.horizontal > notebook > header.top tab:checked:hover, |
1114 | +paned.horizontal > box.vertical > notebook > header.top tab:checked, |
1115 | +paned.horizontal > box.vertical > notebook > header.top tab:checked:hover, |
1116 | +paned.horizontal > paned.vertical > notebook > header.top tab:checked, |
1117 | +paned.horizontal > paned.vertical > notebook > header.top tab:checked:hover { |
1118 | + background-image: linear-gradient(to bottom, |
1119 | + shade(@notebook_bg_color, 1.18), |
1120 | + shade(@notebook_bg_color, 1.00)); |
1121 | + border-radius: 4px 4px 0 0; |
1122 | + border-width: 1px 1px 0 1px; |
1123 | + border-style: solid; |
1124 | + box-shadow: none; |
1125 | +} |
1126 | + |
1127 | +.gedit-bottom-panel-paned > grid > notebook > header button.flat.small-button, |
1128 | +paned.horizontal > box.vertical > notebook > header button.flat, |
1129 | +paned.horizontal > paned.vertical > notebook > header button.flat { |
1130 | + padding: 1px; |
1131 | +} |
1132 | + |
1133 | +/* closable-page */ |
1134 | +paned.horizontal > notebook { |
1135 | + border-width: 1px 1px 1px 1px; |
1136 | + border-style: solid; |
1137 | + border-color: shade (@bg_color, 0.82); |
1138 | + border-radius: 4px 4px 0px 0px; |
1139 | +} |
1140 | + |
1141 | +paned.horizontal > notebook > header { |
1142 | + border-width: 0px 0px 0px 0px; |
1143 | + border-style: solid; |
1144 | + border-color: shade (@bg_color, 0.82); |
1145 | + border-radius: 4px 4px 0px 0px; |
1146 | +} |
1147 | + |
1148 | +paned.horizontal > notebook > header label { |
1149 | + padding: 4px; |
1150 | +} |
1151 | + |
1152 | +paned.horizontal > notebook > header tab { |
1153 | + border-width: 1px 1px 1px 1px; |
1154 | +} |
1155 | + |
1156 | +paned.horizontal > notebook > header button.flat.small-button { |
1157 | + padding: 1px; |
1158 | +} |
1159 | + |
1160 | +paned.horizontal > notebook > stack > box { |
1161 | + background-color: shade (@notebook_bg_color, 1.00); |
1162 | +} |
1163 | + |
1164 | +/* tabs in dialog windows */ |
1165 | +/* horizontal tabs */ |
1166 | +window.background > box.vertical > notebook > header.top tab, /* pavu-control */ |
1167 | +window.background.csd > box.vertical > notebook > header.top tab, |
1168 | +window.background.ssd > box.vertical > notebook > header.top tab, |
1169 | +window.background.solid-csd > box.vertical > notebook > header.top tab, |
1170 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, /* meld preferences */ |
1171 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, |
1172 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, |
1173 | +printdialog notebook > header.top tab, |
1174 | +notebook.frame > header.top tab, |
1175 | +notebook.frame > header.bottom tab { |
1176 | + margin: 0px 0px 0px -1px; |
1177 | + border-width: 1px 1px 1px 1px; |
1178 | + border-style: solid; |
1179 | +} |
1180 | + |
1181 | +window.background > box.vertical > notebook > header.top tab, /* pavu-control */ |
1182 | +window.background.csd > box.vertical > notebook > header.top tab, |
1183 | +window.background.ssd > box.vertical > notebook > header.top tab, |
1184 | +window.background.solid-csd > box.vertical > notebook > header.top tab, |
1185 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, |
1186 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, |
1187 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, |
1188 | +printdialog notebook > header.top tab, |
1189 | +notebook.frame > header.top tab { |
1190 | + padding: 6px; |
1191 | + border-radius: 4px 4px 0px 0px; |
1192 | +} |
1193 | + |
1194 | +window.background > box.vertical > notebook > header.top tab:checked, /* pavu-control */ |
1195 | +window.background.csd > box.vertical > notebook > header.top tab:checked, |
1196 | +window.background.ssd > box.vertical > notebook > header.top tab:checked, |
1197 | +window.background.solid-csd > box.vertical > notebook > header.top tab:checked, |
1198 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
1199 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
1200 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab:checked, |
1201 | +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
1202 | +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
1203 | +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab:checked:hover, |
1204 | +printdialog notebook > header.top tab:checked, |
1205 | +printdialog notebook > header.top tab:checked:hover, |
1206 | +notebook.frame > header.top tab:checked, |
1207 | +notebook.frame > header.top tab:checked:hover { |
1208 | + background-image: linear-gradient(to bottom, |
1209 | + shade(@notebook_bg_color, 1.18), |
1210 | + shade(@notebook_bg_color, 1.00)); |
1211 | + border-radius: 4px 4px 0px 0px; |
1212 | + border-width: 1px 1px 0px 1px; |
1213 | + border-style: solid; |
1214 | +} |
1215 | + |
1216 | +notebook.frame > header.bottom tab { |
1217 | + padding: 6px; |
1218 | +} |
1219 | + |
1220 | +notebook.frame > header.bottom tab:checked, |
1221 | +notebook.frame > header.bottom tab:checked:hover { |
1222 | + background-image: linear-gradient(to top, |
1223 | + shade(@notebook_bg_color, 1.18), |
1224 | + shade(@notebook_bg_color, 1.00)); |
1225 | + border-radius: 0px 0px 4px 4px; |
1226 | + border-style: solid; |
1227 | + border-width: 0px 1px 1px 1px; |
1228 | +} |
1229 | + |
1230 | +/* vertical tabs */ |
1231 | +notebook.frame > header.left tab, |
1232 | +notebook.frame > header.right tab { |
1233 | + padding: 6px; |
1234 | + margin: -1px 0px 0px 0px; |
1235 | + border-width: 1px 1px 1px 1px; |
1236 | + border-style: solid; |
1237 | +} |
1238 | + |
1239 | +notebook.frame > header.left tab { |
1240 | + border-radius: 4px 0px 0px 4px; |
1241 | +} |
1242 | + |
1243 | + |
1244 | +notebook.frame > header.left tab:checked, |
1245 | +notebook.frame > header.left tab:checked:hover { |
1246 | + background-image: linear-gradient(to right, |
1247 | + shade(@notebook_bg_color, 1.18), |
1248 | + shade(@notebook_bg_color, 1.00)); |
1249 | + border-style: solid; |
1250 | + border-width: 1px 0px 1px 1px; |
1251 | + border-radius: 4px 0px 0px 4px; |
1252 | +} |
1253 | + |
1254 | +notebook.frame > header.right tab { |
1255 | + border-radius: 0px 4px 4px 0px; |
1256 | +} |
1257 | + |
1258 | +notebook.frame > header.right tab:checked, |
1259 | +notebook.frame > header.right tab:checked:hover { |
1260 | background-image: linear-gradient(to left, |
1261 | - shade(@bg_color, 1.075), |
1262 | - shade(@bg_color, 1)); |
1263 | - border-radius: 0px 4px 4px 0px; |
1264 | - border-width: 1px 0px 1px 0px; |
1265 | - border-color: shade(@bg_color, 0.95); |
1266 | -} |
1267 | - |
1268 | -notebook header.left tab { |
1269 | - border-image: -gtk-gradient (linear, left top, right top, |
1270 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
1271 | - to (shade (@bg_color, 0.9))) 1; |
1272 | - border-image-width: 1px 0; |
1273 | -} |
1274 | - |
1275 | -notebook header.left tab:checked, |
1276 | -notebook header.left tab:checked:hover { |
1277 | - background-image: linear-gradient(to right, |
1278 | - shade(@bg_color, 1.075), |
1279 | - shade(@bg_color, 1)); |
1280 | - border-radius: 4px 0px 0px 4px; |
1281 | - border-width: 1px 0px 1px 0px; |
1282 | - border-color: shade(@bg_color, 0.95); |
1283 | -} |
1284 | - |
1285 | -notebook header.bottom tab { |
1286 | - border-image: -gtk-gradient (linear, left bottom, left top, |
1287 | - from (alpha (shade (@bg_color, 0.9), 0.0)), |
1288 | - to (shade (@bg_color, 0.9))) 1; |
1289 | - border-image-width: 0 1px; |
1290 | -} |
1291 | - |
1292 | -notebook header.bottom tab:checked, |
1293 | -notebook header.bottom tab:checked:hover { |
1294 | - background-image: linear-gradient(to top, |
1295 | - shade(@bg_color, 1.075), |
1296 | - shade(@bg_color, 1)); |
1297 | - border-radius: 0 0 4px 4px; |
1298 | - border-width: 0px 1px 0px 1px; |
1299 | - border-style: solid; |
1300 | - border-color: shade(@bg_color, 0.95); |
1301 | -} |
1302 | - |
1303 | -/* Draw a focus ring around labels in tabs */ |
1304 | -notebook tab label { |
1305 | - border: 1px solid transparent; |
1306 | - border-radius: 5px; |
1307 | -} |
1308 | - |
1309 | -notebook:focus tab:checked label { |
1310 | - border-color: @focus_color; |
1311 | - background-color: @focus_bg_color; |
1312 | -} |
1313 | - |
1314 | -notebook GtkDrawingArea { |
1315 | - background-color: shade (@bg_color, 1.02); |
1316 | + shade(@notebook_bg_color, 1.18), |
1317 | + shade(@notebook_bg_color, 1.00)); |
1318 | + border-style: solid; |
1319 | + border-width: 1px 1px 1px 0px; |
1320 | + border-radius: 0px 4px 4px 0px; |
1321 | +} |
1322 | + |
1323 | +notebook tab.reorderable-page:checked, |
1324 | +notebook tab.reorderable-page:checked:hover { |
1325 | + background-image: linear-gradient(to bottom, |
1326 | + shade(@notebook_bg_color, 1.18), |
1327 | + shade(@notebook_bg_color, 1.00)); |
1328 | + border-radius: 4px 4px 0 0; |
1329 | + box-shadow: none; |
1330 | + border-style: solid; |
1331 | +} |
1332 | + |
1333 | +/* outlines */ |
1334 | +notebook header.top tab:checked { |
1335 | + -gtk-outline-top-left-radius: 4px; |
1336 | + -gtk-outline-top-right-radius: 4px; |
1337 | + -gtk-outline-bottom-left-radius: 0px; |
1338 | + -gtk-outline-bottom-right-radius: 0px; |
1339 | +} |
1340 | + |
1341 | +notebook header.bottom tab:checked { |
1342 | + -gtk-outline-top-left-radius: 0px; |
1343 | + -gtk-outline-top-right-radius: 0px; |
1344 | + -gtk-outline-bottom-left-radius: 4px; |
1345 | + -gtk-outline-bottom-right-radius: 4px; |
1346 | +} |
1347 | + |
1348 | +notebook header.left tab:checked { |
1349 | + -gtk-outline-top-left-radius: 4px; |
1350 | + -gtk-outline-top-right-radius: 0px; |
1351 | + -gtk-outline-bottom-left-radius: 0px; |
1352 | + -gtk-outline-bottom-right-radius: 4px; |
1353 | +} |
1354 | + |
1355 | +notebook header.right tab:checked { |
1356 | + -gtk-outline-top-left-radius: 0px; |
1357 | + -gtk-outline-top-right-radius: 4px; |
1358 | + -gtk-outline-bottom-left-radius: 4px; |
1359 | + -gtk-outline-bottom-right-radius: 0px; |
1360 | +} |
1361 | + |
1362 | +/* close button styling */ |
1363 | +notebook > header > tabs > tab > box > button.flat, |
1364 | +notebook > header > tabs > tab > box > button.flat.small-button { |
1365 | + border-image: none; |
1366 | + background-image: none; |
1367 | + background-color: transparent; |
1368 | + border-radius: 3px; |
1369 | + border-style: none; |
1370 | + border-color: transparent; |
1371 | + border-width: 0px; |
1372 | + -gtk-icon-shadow: none; |
1373 | + padding: 0px; |
1374 | +} |
1375 | + |
1376 | +notebook > header > tabs > tab > box > button.flat:hover, |
1377 | +notebook > header > tabs > tab > box > button.flat.small-button:hover { |
1378 | + -gtk-icon-effect: highlight; |
1379 | +} |
1380 | + |
1381 | +notebook > header > tabs > tab > box > button.flat:checked, |
1382 | +notebook > header > tabs > tab > box > button.flat:hover:active, |
1383 | +notebook > header > tabs > tab > box > button.flat.small-button:checked, |
1384 | +notebook > header > tabs > tab > box > button.flat.small-button:hover:active { |
1385 | + color: @button_active_text; |
1386 | + background-color: alpha(black, 0.08); |
1387 | + box-shadow: inset 0 1px alpha(black, 0.05); |
1388 | + -gtk-icon-shadow: 0 1px @button_active_text_shadow; |
1389 | + border-color: alpha(black, 0.27) |
1390 | + alpha(black, 0.13) |
1391 | + alpha(black, 0.13) |
1392 | + alpha(black, 0.13); |
1393 | +} |
1394 | + |
1395 | +notebook > header > tabs > tab.prelight-page button.flat.small-button, |
1396 | +notebook > header > tabs > tab.active-page button.flat.small-button { |
1397 | + color: mix(@theme_fg_color, @theme_base_color, 0.6); |
1398 | + -gtk-icon-shadow: 0 1px @button_text_shadow; |
1399 | +} |
1400 | + |
1401 | +notebook header.top tabs arrow.up, |
1402 | +notebook header.bottom tabs arrow.up { |
1403 | + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); |
1404 | +} |
1405 | + |
1406 | +notebook header.top tabs arrow.down, |
1407 | +notebook header.bottom tabs arrow.down { |
1408 | + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); |
1409 | +} |
1410 | + |
1411 | +notebook header.left tabs arrow.up, |
1412 | +notebook header.right tabs arrow.up { |
1413 | + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); |
1414 | +} |
1415 | + |
1416 | +notebook header.left tabs arrow.down, |
1417 | +notebook header.right tabs arrow.down { |
1418 | + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); |
1419 | +} |
1420 | + |
1421 | +notebook header tabs arrow { |
1422 | + color: @theme_fg_color; |
1423 | +} |
1424 | + |
1425 | +notebook header tabs arrow:hover { |
1426 | + color: @theme_selected_bg_color; |
1427 | +} |
1428 | + |
1429 | +notebook header tabs arrow:active { |
1430 | + color: @theme_fg_color; |
1431 | +} |
1432 | + |
1433 | +notebook header tabs arrow:disabled { |
1434 | + color: rgba(141, 144, 145, 0.3); |
1435 | +} |
1436 | + |
1437 | +notebook header tabs arrow:backdrop { |
1438 | + color: rgba(84, 89, 90, 0.4); |
1439 | +} |
1440 | + |
1441 | +notebook header tabs arrow:disabled { |
1442 | + color: #c7c7c7; |
1443 | +} |
1444 | + |
1445 | +notebook header tab:checked label { |
1446 | + color: @theme_fg_color; |
1447 | + font-weight: normal; |
1448 | +} |
1449 | + |
1450 | +notebook header tab label { |
1451 | + color: shade (@theme_fg_color, 1.30); |
1452 | + font-weight: normal; |
1453 | } |
1454 | |
1455 | /****************** |
Approving on behalf of Will C.