Merge lp:~3v1n0/ubuntu-themes/gs-decorations-fixes into lp:ubuntu-themes
- gs-decorations-fixes
- Merge into trunk
Proposed by
Marco Trevisan (Treviño)
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Iain Lane | ||||||||||||
Approved revision: | 553 | ||||||||||||
Merged at revision: | 539 | ||||||||||||
Proposed branch: | lp:~3v1n0/ubuntu-themes/gs-decorations-fixes | ||||||||||||
Merge into: | lp:ubuntu-themes | ||||||||||||
Diff against target: |
807 lines (+309/-221) 7 files modified
Ambiance/gtk-3.20/apps/unity.css (+4/-60) Ambiance/gtk-3.20/gtk-main.css (+3/-2) Ambiance/gtk-3.20/gtk-widgets.css (+144/-58) Radiance/gtk-3.20/apps/unity.css (+4/-37) Radiance/gtk-3.20/gtk-main.css (+3/-0) Radiance/gtk-3.20/gtk-widgets-radiance.css (+1/-7) Radiance/gtk-3.20/gtk-widgets.css (+150/-57) |
||||||||||||
To merge this branch: | bzr merge lp:~3v1n0/ubuntu-themes/gs-decorations-fixes | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Iain Lane | Approve | ||
Ken VanDine | Approve | ||
Dmitry Shachnev | Approve | ||
Alberts Muktupāvels | Pending | ||
Review via email: mp+323760@code.launchpad.net |
Commit message
Ambiance, Radiance: fix shadows, handlers, decorations look for CSD and SSD in GS
- Gtk Decorations theme adapted to match unity
- Shadows follows the unity7 design for all the csd widgets
- Enabled the resize extents for windows
- Implemented a theme for solid-csd windows
- Fixed tooltips
Description of the change
To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) wrote : | # |
Working great and looks good. Thanks for the fix!
review:
Approve
- 554. By Marco Trevisan (Treviño)
-
Ambiance, Radiance: ensure all titlebars have the same padding
Revision history for this message
Iain Lane (laney) wrote : | # |
I think I'll upload this. Thanks!
review:
Approve
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/unity.css' | |||
2 | --- Ambiance/gtk-3.20/apps/unity.css 2016-08-01 12:10:11 +0000 | |||
3 | +++ Ambiance/gtk-3.20/apps/unity.css 2017-05-10 12:39:09 +0000 | |||
4 | @@ -6,9 +6,9 @@ | |||
5 | 6 | 6 | ||
6 | 7 | -UnityDecoration-shadow-offset-x: 1px; | 7 | -UnityDecoration-shadow-offset-x: 1px; |
7 | 8 | -UnityDecoration-shadow-offset-y: 5px; | 8 | -UnityDecoration-shadow-offset-y: 5px; |
9 | 9 | -UnityDecoration-active-shadow-color: rgba (0, 0, 0, 0.75); | 9 | -UnityDecoration-active-shadow-color: alpha (@active_shadow_color, 0.75); |
10 | 10 | -UnityDecoration-active-shadow-radius: 30px; | 10 | -UnityDecoration-active-shadow-radius: 30px; |
12 | 11 | -UnityDecoration-inactive-shadow-color: rgba (0, 0, 0, 0.3); | 11 | -UnityDecoration-inactive-shadow-color: @inactive_shadow_color; |
13 | 12 | -UnityDecoration-inactive-shadow-radius: 25px; | 12 | -UnityDecoration-inactive-shadow-radius: 25px; |
14 | 13 | 13 | ||
15 | 14 | -UnityDecoration-glow-size: 10px; | 14 | -UnityDecoration-glow-size: 10px; |
16 | @@ -19,64 +19,8 @@ | |||
17 | 19 | -UnityDecoration-title-alignment: 0.0; | 19 | -UnityDecoration-title-alignment: 0.0; |
18 | 20 | } | 20 | } |
19 | 21 | 21 | ||
78 | 22 | UnityDecoration .top { | 22 | /* Definitions of UnityDecoration .top (and :backdrop) are now shared with |
79 | 23 | border: 1px solid rgba (0, 3, 5, 0.03); /* shade (@dark_bg_color, 1.04) - shade (@dark_bg_color, 1.5) */ | 23 | * Gtk .titlebar (and :backdrop); .left and .right are not used by this theme */ |
22 | 24 | border-bottom-width: 0; | ||
23 | 25 | border-radius: 6px 6px 0 0; | ||
24 | 26 | padding: 1px 6px 0 6px; | ||
25 | 27 | |||
26 | 28 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
27 | 29 | inset 0 1px shade (@dark_bg_color, 1.6), inset 0 0 transparent; | ||
28 | 30 | |||
29 | 31 | background-color: transparent; | ||
30 | 32 | background-clip: border-box; | ||
31 | 33 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
32 | 34 | from (shade (@dark_bg_color, 1.5)), | ||
33 | 35 | to (shade (@dark_bg_color, 1.04))); | ||
34 | 36 | |||
35 | 37 | color: @dark_fg_color; | ||
36 | 38 | text-shadow: 1px 0 #333, -1px 0 #333, 0 1px #333, 0 -1px #333; | ||
37 | 39 | } | ||
38 | 40 | |||
39 | 41 | UnityDecoration .top:backdrop { | ||
40 | 42 | border: 1px solid rgba (14, 13, 0, 0.03); /* @dark_bg_color - shade (#474642, 0.92) */; | ||
41 | 43 | border-bottom-width: 0; | ||
42 | 44 | background-color: transparent; | ||
43 | 45 | background-clip: border-box; | ||
44 | 46 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
45 | 47 | from (shade (#474642, 0.92)), | ||
46 | 48 | to (@dark_bg_color)); | ||
47 | 49 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
48 | 50 | inset 0 1px #474642, inset 0 0 transparent; | ||
49 | 51 | color: #807d78; | ||
50 | 52 | } | ||
51 | 53 | |||
52 | 54 | UnityDecoration .left, | ||
53 | 55 | UnityDecoration .right { | ||
54 | 56 | background-color: shade (@bg_color, 0.7); | ||
55 | 57 | background-size: 1px 70px; | ||
56 | 58 | background-repeat: repeat-x; | ||
57 | 59 | |||
58 | 60 | /* start color: mix of the top border color and bg-image gradient end */ | ||
59 | 61 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
60 | 62 | color-stop (0, #2b2a2a), | ||
61 | 63 | color-stop (0.5, #2b2a2a), | ||
62 | 64 | color-stop (1, shade (@bg_color, 0.7))); | ||
63 | 65 | } | ||
64 | 66 | |||
65 | 67 | UnityDecoration .left:backdrop, | ||
66 | 68 | UnityDecoration .right:backdrop { | ||
67 | 69 | /* start color: mix of the top border color and bg-image gradient end */ | ||
68 | 70 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
69 | 71 | color-stop (0, #373632), | ||
70 | 72 | color-stop (0.5, #373632), | ||
71 | 73 | color-stop (1, shade (@bg_color, 0.7))); | ||
72 | 74 | } | ||
73 | 75 | |||
74 | 76 | UnityDecoration .bottom { | ||
75 | 77 | background-image: none; | ||
76 | 78 | background-color: shade (@bg_color, 0.7); | ||
77 | 79 | } | ||
80 | 80 | 24 | ||
81 | 81 | /* Panel Style */ | 25 | /* Panel Style */ |
82 | 82 | 26 | ||
83 | 83 | 27 | ||
84 | === modified file 'Ambiance/gtk-3.20/gtk-main.css' | |||
85 | --- Ambiance/gtk-3.20/gtk-main.css 2016-08-30 09:51:51 +0000 | |||
86 | +++ Ambiance/gtk-3.20/gtk-main.css 2017-05-10 12:39:09 +0000 | |||
87 | @@ -13,6 +13,9 @@ | |||
88 | 13 | 13 | ||
89 | 14 | @define-color borders shade(@bg_color, 0.82); | 14 | @define-color borders shade(@bg_color, 0.82); |
90 | 15 | 15 | ||
91 | 16 | @define-color active_shadow_color black; | ||
92 | 17 | @define-color inactive_shadow_color alpha(black, 0.3); | ||
93 | 18 | |||
94 | 16 | /* misc colors used by gtk+ | 19 | /* misc colors used by gtk+ |
95 | 17 | * | 20 | * |
96 | 18 | * Gtk doesn't currently expand color variables for style properties. Thus, | 21 | * Gtk doesn't currently expand color variables for style properties. Thus, |
97 | @@ -54,8 +57,6 @@ | |||
98 | 54 | 57 | ||
99 | 55 | @define-color scale_highlight_bg #df784e; | 58 | @define-color scale_highlight_bg #df784e; |
100 | 56 | 59 | ||
101 | 57 | @define-color shadow_color alpha(black, 0.5); | ||
102 | 58 | |||
103 | 59 | @define-color osd_fg_color #eeeeec; | 60 | @define-color osd_fg_color #eeeeec; |
104 | 60 | @define-color osd_bg_color alpha(#202526, 0.7); | 61 | @define-color osd_bg_color alpha(#202526, 0.7); |
105 | 61 | @define-color osd_border_color alpha(black, 0.7); | 62 | @define-color osd_border_color alpha(black, 0.7); |
106 | 62 | 63 | ||
107 | === modified file 'Ambiance/gtk-3.20/gtk-widgets.css' | |||
108 | --- Ambiance/gtk-3.20/gtk-widgets.css 2017-01-25 17:43:32 +0000 | |||
109 | +++ Ambiance/gtk-3.20/gtk-widgets.css 2017-05-10 12:39:09 +0000 | |||
110 | @@ -637,17 +637,6 @@ | |||
111 | 637 | border-width: 1px 0px 1px 0px; | 637 | border-width: 1px 0px 1px 0px; |
112 | 638 | } | 638 | } |
113 | 639 | 639 | ||
114 | 640 | |||
115 | 641 | /**************** | ||
116 | 642 | * window-frame * | ||
117 | 643 | ****************/ | ||
118 | 644 | |||
119 | 645 | .csd.popup { | ||
120 | 646 | border-style: none; | ||
121 | 647 | border-radius: 0; | ||
122 | 648 | box-shadow: 0 3px 8px @shadow_color; | ||
123 | 649 | } | ||
124 | 650 | |||
125 | 651 | /************ | 640 | /************ |
126 | 652 | * iconview * | 641 | * iconview * |
127 | 653 | ************/ | 642 | ************/ |
128 | @@ -833,6 +822,11 @@ | |||
129 | 833 | font-weight: normal; | 822 | font-weight: normal; |
130 | 834 | } | 823 | } |
131 | 835 | 824 | ||
132 | 825 | .background.popup.csd { | ||
133 | 826 | /* Delete menus background, we don't need border-radious here */ | ||
134 | 827 | background-color: transparent; | ||
135 | 828 | } | ||
136 | 829 | |||
137 | 836 | /*********** | 830 | /*********** |
138 | 837 | * menubar * | 831 | * menubar * |
139 | 838 | ***********/ | 832 | ***********/ |
140 | @@ -1953,12 +1947,8 @@ | |||
141 | 1953 | background-color: @base_color; | 1947 | background-color: @base_color; |
142 | 1954 | } | 1948 | } |
143 | 1955 | 1949 | ||
144 | 1956 | headerbar { | ||
145 | 1957 | padding: 2px 6px; | ||
146 | 1958 | } | ||
147 | 1959 | |||
148 | 1960 | /* | 1950 | /* |
150 | 1961 | * Header Bars | 1951 | * Header Bars and decorations |
151 | 1962 | * | 1952 | * |
152 | 1963 | * The following rules only style header bars when they are used as a window's | 1953 | * The following rules only style header bars when they are used as a window's |
153 | 1964 | * titlebar widget (i.e., they have .titlebar set as well). | 1954 | * titlebar widget (i.e., they have .titlebar set as well). |
154 | @@ -1967,19 +1957,132 @@ | |||
155 | 1967 | * that prefer showing traditional title bars. The rules for those are further | 1957 | * that prefer showing traditional title bars. The rules for those are further |
156 | 1968 | * down grouped with normal toolbars. | 1958 | * down grouped with normal toolbars. |
157 | 1969 | */ | 1959 | */ |
159 | 1970 | .titlebar { | 1960 | decoration { |
160 | 1961 | margin: 10px; | ||
161 | 1962 | border-radius: 6px 6px 0 0; | ||
162 | 1963 | box-shadow: 1px 5px 13px alpha(@active_shadow_color, 0.85); | ||
163 | 1964 | } | ||
164 | 1965 | |||
165 | 1966 | decoration:backdrop, | ||
166 | 1967 | tooltip.csd decoration, | ||
167 | 1968 | .popup decoration { | ||
168 | 1969 | box-shadow: 1px 5px 13px transparent, /* this should match normal shadow geometries */ | ||
169 | 1970 | 1px 5px 8px @inactive_shadow_color; | ||
170 | 1971 | transition: 100ms ease-out; | ||
171 | 1972 | } | ||
172 | 1973 | |||
173 | 1974 | .ssd decoration { | ||
174 | 1975 | box-shadow: none; | ||
175 | 1976 | } | ||
176 | 1977 | |||
177 | 1978 | popover { | ||
178 | 1979 | /* FIXME: we can't reuse the default shadow definition as increasing marging | ||
179 | 1980 | * would break the tip | ||
180 | 1981 | */ | ||
181 | 1982 | margin: 13px; | ||
182 | 1983 | box-shadow: 1px 3px 6px @inactive_shadow_color; | ||
183 | 1984 | } | ||
184 | 1985 | |||
185 | 1986 | popover:backdrop, | ||
186 | 1987 | popover.background:backdrop { | ||
187 | 1988 | box-shadow: 1px 3px 6px alpha(@inactive_shadow_color, 0.5); | ||
188 | 1989 | } | ||
189 | 1990 | |||
190 | 1991 | tooltip decoration { | ||
191 | 1992 | background-color: transparent; | ||
192 | 1993 | background-image: none; | ||
193 | 1994 | } | ||
194 | 1995 | |||
195 | 1996 | .maximized decoration, | ||
196 | 1997 | .fullscreen decoration, | ||
197 | 1998 | .unity-csd decoration { | ||
198 | 1999 | margin: 0; | ||
199 | 2000 | border-radius: 0; | ||
200 | 2001 | box-shadow: none; | ||
201 | 2002 | } | ||
202 | 2003 | |||
203 | 2004 | .tiled decoration { | ||
204 | 2005 | border-radius: 0; | ||
205 | 2006 | } | ||
206 | 2007 | |||
207 | 2008 | .default-decoration.titlebar:not(headerbar), | ||
208 | 2009 | headerbar.default-decoration { | ||
209 | 2010 | min-height: 26px; | ||
210 | 2011 | } | ||
211 | 2012 | |||
212 | 2013 | .solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), | ||
213 | 2014 | .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), | ||
214 | 2015 | .solid-csd .titlebar:dir(rtl):not(headerbar), | ||
215 | 2016 | .solid-csd .titlebar:dir(ltr):not(headerbar), | ||
216 | 2017 | .solid-csd headerbar:backdrop:dir(rtl), | ||
217 | 2018 | .solid-csd headerbar:backdrop:dir(ltr), | ||
218 | 2019 | .solid-csd headerbar, | ||
219 | 2020 | .solid-csd headerbar:dir(ltr) { | ||
220 | 2021 | margin-left: 0; | ||
221 | 2022 | margin-right: 0; | ||
222 | 2023 | margin-top: 0; | ||
223 | 2024 | border-radius: 0; | ||
224 | 2025 | box-shadow: none; | ||
225 | 2026 | } | ||
226 | 2027 | |||
227 | 2028 | .solid-csd decoration { | ||
228 | 2029 | margin: 0; | ||
229 | 2030 | box-shadow: none; | ||
230 | 2031 | border-width: 2px; | ||
231 | 2032 | border-style: solid; | ||
232 | 2033 | border-color: shade (@dark_bg_color, 1.15); | ||
233 | 2034 | border-radius: 0; | ||
234 | 2035 | } | ||
235 | 2036 | |||
236 | 2037 | .solid-csd:backdrop decoration { | ||
237 | 2038 | border-color: @dark_bg_color | ||
238 | 2039 | } | ||
239 | 2040 | |||
240 | 2041 | .titlebar, | ||
241 | 2042 | UnityDecoration .top { | ||
242 | 2043 | border: 1px solid rgba (0, 3, 5, 0.03); /* shade (@dark_bg_color, 1.04) - shade (@dark_bg_color, 1.5) */ | ||
243 | 2044 | border-bottom-width: 0; | ||
244 | 2045 | border-radius: 6px 6px 0 0; | ||
245 | 2046 | padding: 1px 6px 0 6px; | ||
246 | 2047 | |||
247 | 2048 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
248 | 2049 | inset 0 1px shade (@dark_bg_color, 1.6), inset 0 0 transparent; | ||
249 | 2050 | |||
250 | 2051 | background-color: transparent; | ||
251 | 2052 | background-clip: border-box; | ||
252 | 1971 | background-image: -gtk-gradient (linear, left top, left bottom, | 2053 | background-image: -gtk-gradient (linear, left top, left bottom, |
253 | 1972 | from (shade (@dark_bg_color, 1.5)), | 2054 | from (shade (@dark_bg_color, 1.5)), |
254 | 2055 | to (shade (@dark_bg_color, 1.04))); | ||
255 | 2056 | |||
256 | 2057 | color: @dark_fg_color; | ||
257 | 2058 | text-shadow: 1px 0 #333, -1px 0 #333, 0 1px #333, 0 -1px #333; | ||
258 | 2059 | } | ||
259 | 2060 | |||
260 | 2061 | .titlebar:backdrop, | ||
261 | 2062 | UnityDecoration .top:backdrop { | ||
262 | 2063 | border: 1px solid rgba (14, 13, 0, 0.03); /* @dark_bg_color - shade (#474642, 0.92) */; | ||
263 | 2064 | border-bottom-width: 0; | ||
264 | 2065 | background-color: transparent; | ||
265 | 2066 | background-clip: border-box; | ||
266 | 2067 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
267 | 2068 | from (shade (#474642, 0.92)), | ||
268 | 1973 | to (@dark_bg_color)); | 2069 | to (@dark_bg_color)); |
278 | 1974 | border-color: shade (@dark_bg_color, 1.5); | 2070 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, |
279 | 1975 | border-style: solid; | 2071 | inset 0 1px #474642, inset 0 0 transparent; |
280 | 1976 | border-width: 1px 0 0 0; | 2072 | color: #807d78; |
281 | 1977 | border-radius: 7px 7px 0 0; | 2073 | } |
282 | 1978 | 2074 | ||
283 | 1979 | color: @dark_fg_color; | 2075 | .maximized .titlebar, |
284 | 1980 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | 2076 | .tiled .titlebar { |
285 | 1981 | 2077 | border-radius: 0; | |
286 | 1982 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.65); | 2078 | border-image: none; |
287 | 2079 | border: none; | ||
288 | 2080 | box-shadow: none; | ||
289 | 2081 | } | ||
290 | 2082 | |||
291 | 2083 | .maximized .titlebar:not(:backdrop):not(.toolbar-mode), | ||
292 | 2084 | .tiled .titlebar:not(:backdrop):not(.toolbar-mode) { | ||
293 | 2085 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.6); | ||
294 | 1983 | } | 2086 | } |
295 | 1984 | 2087 | ||
296 | 1985 | .titlebar .title { | 2088 | .titlebar .title { |
297 | @@ -1991,23 +2094,6 @@ | |||
298 | 1991 | opacity: 0.5; | 2094 | opacity: 0.5; |
299 | 1992 | } | 2095 | } |
300 | 1993 | 2096 | ||
301 | 1994 | .titlebar:backdrop { | ||
302 | 1995 | color: @backdrop_fg_color; | ||
303 | 1996 | background-image: none; | ||
304 | 1997 | background-color: @dark_bg_color; | ||
305 | 1998 | border-top-color: @dark_bg_color; | ||
306 | 1999 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.2); | ||
307 | 2000 | } | ||
308 | 2001 | |||
309 | 2002 | .maximized .titlebar { | ||
310 | 2003 | border-radius: 0; | ||
311 | 2004 | border: none; | ||
312 | 2005 | } | ||
313 | 2006 | |||
314 | 2007 | .maximized .titlebar.toolbar-mode { | ||
315 | 2008 | box-shadow: none; | ||
316 | 2009 | } | ||
317 | 2010 | |||
318 | 2011 | .titlebar button.titlebutton { | 2097 | .titlebar button.titlebutton { |
319 | 2012 | background-clip: padding-box; | 2098 | background-clip: padding-box; |
320 | 2013 | border: 1px solid #383734; | 2099 | border: 1px solid #383734; |
321 | @@ -2050,6 +2136,8 @@ | |||
322 | 2050 | } | 2136 | } |
323 | 2051 | 2137 | ||
324 | 2052 | 2138 | ||
325 | 2139 | |||
326 | 2140 | |||
327 | 2053 | /*********** | 2141 | /*********** |
328 | 2054 | * toolbar * | 2142 | * toolbar * |
329 | 2055 | ***********/ | 2143 | ***********/ |
330 | @@ -2070,8 +2158,7 @@ | |||
331 | 2070 | * primary-toolbar * | 2158 | * primary-toolbar * |
332 | 2071 | *******************/ | 2159 | *******************/ |
333 | 2072 | .primary-toolbar, | 2160 | .primary-toolbar, |
336 | 2073 | headerbar, | 2161 | .titlebar.toolbar-mode { |
335 | 2074 | .maximized headerbar.titlebar:not(:backdrop) { | ||
337 | 2075 | -GtkWidget-window-dragging: true; | 2162 | -GtkWidget-window-dragging: true; |
338 | 2076 | 2163 | ||
339 | 2077 | background-image: -gtk-gradient (linear, left top, left bottom, | 2164 | background-image: -gtk-gradient (linear, left top, left bottom, |
340 | @@ -2089,12 +2176,8 @@ | |||
341 | 2089 | box-shadow: inset 0 1px shade (@dark_bg_color, 0.94); | 2176 | box-shadow: inset 0 1px shade (@dark_bg_color, 0.94); |
342 | 2090 | } | 2177 | } |
343 | 2091 | 2178 | ||
344 | 2092 | .maximized headerbar.titlebar.toolbar-mode:not(:backdrop) { | ||
345 | 2093 | border-width: 0; | ||
346 | 2094 | } | ||
347 | 2095 | |||
348 | 2096 | .primary-toolbar:backdrop, | 2179 | .primary-toolbar:backdrop, |
350 | 2097 | headerbar:backdrop { | 2180 | .titlebar.toolbar-mode:backdrop { |
351 | 2098 | background-image: none; | 2181 | background-image: none; |
352 | 2099 | background-color: @dark_bg_color; | 2182 | background-color: @dark_bg_color; |
353 | 2100 | box-shadow: none; | 2183 | box-shadow: none; |
354 | @@ -2105,11 +2188,13 @@ | |||
355 | 2105 | } | 2188 | } |
356 | 2106 | 2189 | ||
357 | 2107 | .primary-toolbar:disabled, | 2190 | .primary-toolbar:disabled, |
358 | 2191 | .titlebar.toolbar-mode:disabled, | ||
359 | 2108 | headerbar:disabled { | 2192 | headerbar:disabled { |
360 | 2109 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | 2193 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); |
361 | 2110 | } | 2194 | } |
362 | 2111 | 2195 | ||
363 | 2112 | .primary-toolbar button, | 2196 | .primary-toolbar button, |
364 | 2197 | .titlebar button, | ||
365 | 2113 | headerbar button, | 2198 | headerbar button, |
366 | 2114 | headerbar button:disabled, | 2199 | headerbar button:disabled, |
367 | 2115 | .primary-toolbar button.flat:hover { | 2200 | .primary-toolbar button.flat:hover { |
368 | @@ -2365,12 +2450,20 @@ | |||
369 | 2365 | background-image: -gtk-gradient (radial, center 0, 0, center 0, 0.8, | 2450 | background-image: -gtk-gradient (radial, center 0, 0, center 0, 0.8, |
370 | 2366 | from (alpha (mix (@tooltip_bg_color, #ffffff, 0.2), 0.86)), | 2451 | from (alpha (mix (@tooltip_bg_color, #ffffff, 0.2), 0.86)), |
371 | 2367 | to (alpha (@tooltip_bg_color, 0.86))); | 2452 | to (alpha (@tooltip_bg_color, 0.86))); |
373 | 2368 | border-color: alpha (#ffffff, 0.2); | 2453 | border-color: alpha (white, 0.2); |
374 | 2369 | border-radius: 5px; | 2454 | border-radius: 5px; |
375 | 2370 | border-style: solid; | 2455 | border-style: solid; |
376 | 2371 | border-width: 1px; | 2456 | border-width: 1px; |
377 | 2372 | } | 2457 | } |
378 | 2373 | 2458 | ||
379 | 2459 | tooltip.csd:not(.unity-csd) decoration { | ||
380 | 2460 | border-radius: 5px; | ||
381 | 2461 | } | ||
382 | 2462 | |||
383 | 2463 | tooltip.background { | ||
384 | 2464 | background-color: transparent; | ||
385 | 2465 | } | ||
386 | 2466 | |||
387 | 2374 | tooltip label { | 2467 | tooltip label { |
388 | 2375 | color: @tooltip_fg_color; | 2468 | color: @tooltip_fg_color; |
389 | 2376 | } | 2469 | } |
390 | @@ -2428,16 +2521,9 @@ | |||
391 | 2428 | 2521 | ||
392 | 2429 | border-radius: 5px; | 2522 | border-radius: 5px; |
393 | 2430 | border: 1px solid darker(@bg_color); | 2523 | border: 1px solid darker(@bg_color); |
394 | 2431 | |||
395 | 2432 | box-shadow: 0 2px 3px @shadow_color; | ||
396 | 2433 | margin: 10px; | ||
397 | 2434 | padding: 2px; | 2524 | padding: 2px; |
398 | 2435 | } | 2525 | } |
399 | 2436 | 2526 | ||
400 | 2437 | popover:backdrop { | ||
401 | 2438 | box-shadow: none; | ||
402 | 2439 | } | ||
403 | 2440 | |||
404 | 2441 | /* Popover menuitems are actually buttons. The following rules reset most of | 2527 | /* Popover menuitems are actually buttons. The following rules reset most of |
405 | 2442 | * the button styles for them. | 2528 | * the button styles for them. |
406 | 2443 | */ | 2529 | */ |
407 | 2444 | 2530 | ||
408 | === modified file 'Radiance/gtk-3.20/apps/unity.css' | |||
409 | --- Radiance/gtk-3.20/apps/unity.css 2016-08-04 16:31:00 +0000 | |||
410 | +++ Radiance/gtk-3.20/apps/unity.css 2017-05-10 12:39:09 +0000 | |||
411 | @@ -6,9 +6,9 @@ | |||
412 | 6 | 6 | ||
413 | 7 | -UnityDecoration-shadow-offset-x: 1px; | 7 | -UnityDecoration-shadow-offset-x: 1px; |
414 | 8 | -UnityDecoration-shadow-offset-y: 5px; | 8 | -UnityDecoration-shadow-offset-y: 5px; |
416 | 9 | -UnityDecoration-active-shadow-color: rgba (0, 0, 0, 0.78); | 9 | -UnityDecoration-active-shadow-color: alpha (@active_shadow_color, 0.78); |
417 | 10 | -UnityDecoration-active-shadow-radius: 30px; | 10 | -UnityDecoration-active-shadow-radius: 30px; |
419 | 11 | -UnityDecoration-inactive-shadow-color: rgba (0, 0, 0, 0.3); | 11 | -UnityDecoration-inactive-shadow-color: @inactive_shadow_color; |
420 | 12 | -UnityDecoration-inactive-shadow-radius: 25px; | 12 | -UnityDecoration-inactive-shadow-radius: 25px; |
421 | 13 | 13 | ||
422 | 14 | -UnityDecoration-glow-size: 10px; | 14 | -UnityDecoration-glow-size: 10px; |
423 | @@ -19,41 +19,8 @@ | |||
424 | 19 | -UnityDecoration-title-alignment: 0.0; | 19 | -UnityDecoration-title-alignment: 0.0; |
425 | 20 | } | 20 | } |
426 | 21 | 21 | ||
462 | 22 | UnityDecoration .top { | 22 | /* Definitions of UnityDecoration .top (and :backdrop) are now shared with |
463 | 23 | border: 1px solid rgba (85, 40, 0, 0.04); /* shade (@dark_bg_color) (shade (#edebe6, 1.06) */ | 23 | * Gtk .titlebar (and :backdrop); .left and .right are not used by this theme */ |
429 | 24 | border-bottom-width: 0; | ||
430 | 25 | border-radius: 6px 6px 0 0; | ||
431 | 26 | padding: 1px 6px 0 6px; | ||
432 | 27 | |||
433 | 28 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
434 | 29 | inset 0 1px shade (@edebe6, 1.065), inset 0 0 transparent; | ||
435 | 30 | |||
436 | 31 | background-color: transparent; | ||
437 | 32 | background-clip: border-box; | ||
438 | 33 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
439 | 34 | from (shade (#edebe6, 1.06)), | ||
440 | 35 | to (@dark_bg_color)); | ||
441 | 36 | |||
442 | 37 | color: shade (@dark_bg_color, 0.4); | ||
443 | 38 | text-shadow: 1px 0 shade (@dark_bg_color, 1.06), -1px 0 shade (@dark_bg_color, 1.06), | ||
444 | 39 | 0 1px shade (@dark_bg_color, 1.06), 0 -1px shade (@dark_bg_color, 1.06); | ||
445 | 40 | } | ||
446 | 41 | |||
447 | 42 | UnityDecoration .top:backdrop { | ||
448 | 43 | border: 1px solid rgba (110, 27, 0, 0.04); /* shade @dark_bg_color - shade (#edebe6, 0.96) */ | ||
449 | 44 | border-bottom-width: 0; | ||
450 | 45 | background-color: transparent; | ||
451 | 46 | background-clip: border-box; | ||
452 | 47 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
453 | 48 | from (shade (#edebe6, 0.96)), | ||
454 | 49 | to (@dark_bg_color)); | ||
455 | 50 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
456 | 51 | inset 0 1px shade (#edebe6, 0.97), inset 0 0 transparent; | ||
457 | 52 | |||
458 | 53 | color: #a39e9a; | ||
459 | 54 | text-shadow: 1px 0 1px shade (@dark_bg_color, 1.08), -1px 0 1px shade (@dark_bg_color, 1.08), | ||
460 | 55 | 0 1px 1px shade (@dark_bg_color, 1.08), 0 -1px 1px shade (@dark_bg_color, 1.08); | ||
461 | 56 | } | ||
464 | 57 | 24 | ||
465 | 58 | UnityDecoration .left, | 25 | UnityDecoration .left, |
466 | 59 | UnityDecoration .right { | 26 | UnityDecoration .right { |
467 | 60 | 27 | ||
468 | === modified file 'Radiance/gtk-3.20/gtk-main.css' | |||
469 | --- Radiance/gtk-3.20/gtk-main.css 2016-08-30 09:51:51 +0000 | |||
470 | +++ Radiance/gtk-3.20/gtk-main.css 2017-05-10 12:39:09 +0000 | |||
471 | @@ -13,6 +13,9 @@ | |||
472 | 13 | 13 | ||
473 | 14 | @define-color borders shade(@bg_color, 0.82); | 14 | @define-color borders shade(@bg_color, 0.82); |
474 | 15 | 15 | ||
475 | 16 | @define-color active_shadow_color black; | ||
476 | 17 | @define-color inactive_shadow_color alpha(black, 0.3); | ||
477 | 18 | |||
478 | 16 | /* misc colors used by gtk+ | 19 | /* misc colors used by gtk+ |
479 | 17 | * | 20 | * |
480 | 18 | * Gtk doesn't currently expand color variables for style properties. Thus, | 21 | * Gtk doesn't currently expand color variables for style properties. Thus, |
481 | 19 | 22 | ||
482 | === modified file 'Radiance/gtk-3.20/gtk-widgets-radiance.css' | |||
483 | --- Radiance/gtk-3.20/gtk-widgets-radiance.css 2016-10-06 18:53:39 +0000 | |||
484 | +++ Radiance/gtk-3.20/gtk-widgets-radiance.css 2017-05-10 12:39:09 +0000 | |||
485 | @@ -70,9 +70,7 @@ | |||
486 | 70 | } | 70 | } |
487 | 71 | 71 | ||
488 | 72 | /* primary-toolbar */ | 72 | /* primary-toolbar */ |
492 | 73 | .primary-toolbar, | 73 | .primary-toolbar { |
490 | 74 | headerbar, | ||
491 | 75 | .maximized headerbar.titlebar:not(:backdrop) { | ||
493 | 76 | background-image: -gtk-gradient (linear, left top, left bottom, | 74 | background-image: -gtk-gradient (linear, left top, left bottom, |
494 | 77 | from (shade (@dark_bg_color, 0.96)), | 75 | from (shade (@dark_bg_color, 0.96)), |
495 | 78 | to (shade (@dark_bg_color, 1.1))); | 76 | to (shade (@dark_bg_color, 1.1))); |
496 | @@ -104,7 +102,3 @@ | |||
497 | 104 | from (shade (@dark_bg_color, 1.03)), | 102 | from (shade (@dark_bg_color, 1.03)), |
498 | 105 | to (shade (@dark_bg_color, 0.96))); | 103 | to (shade (@dark_bg_color, 0.96))); |
499 | 106 | } | 104 | } |
500 | 107 | |||
501 | 108 | .titlebar { | ||
502 | 109 | border-top-width: 0px; | ||
503 | 110 | } | ||
504 | 111 | 105 | ||
505 | === modified file 'Radiance/gtk-3.20/gtk-widgets.css' | |||
506 | --- Radiance/gtk-3.20/gtk-widgets.css 2016-10-31 04:08:49 +0000 | |||
507 | +++ Radiance/gtk-3.20/gtk-widgets.css 2017-05-10 12:39:09 +0000 | |||
508 | @@ -646,17 +646,6 @@ | |||
509 | 646 | border-width: 1px 0px 1px 0px; | 646 | border-width: 1px 0px 1px 0px; |
510 | 647 | } | 647 | } |
511 | 648 | 648 | ||
512 | 649 | |||
513 | 650 | /**************** | ||
514 | 651 | * window-frame * | ||
515 | 652 | ****************/ | ||
516 | 653 | |||
517 | 654 | .csd.popup { | ||
518 | 655 | border-style: none; | ||
519 | 656 | border-radius: 0; | ||
520 | 657 | box-shadow: 0 3px 8px @shadow_color; | ||
521 | 658 | } | ||
522 | 659 | |||
523 | 660 | /************ | 649 | /************ |
524 | 661 | * iconview * | 650 | * iconview * |
525 | 662 | ************/ | 651 | ************/ |
526 | @@ -842,6 +831,11 @@ | |||
527 | 842 | font-weight: normal; | 831 | font-weight: normal; |
528 | 843 | } | 832 | } |
529 | 844 | 833 | ||
530 | 834 | .background.popup.csd { | ||
531 | 835 | /* Delete menus background, we don't need border-radious here */ | ||
532 | 836 | background-color: transparent; | ||
533 | 837 | } | ||
534 | 838 | |||
535 | 845 | /*********** | 839 | /*********** |
536 | 846 | * menubar * | 840 | * menubar * |
537 | 847 | ***********/ | 841 | ***********/ |
538 | @@ -1952,12 +1946,8 @@ | |||
539 | 1952 | background-color: @base_color; | 1946 | background-color: @base_color; |
540 | 1953 | } | 1947 | } |
541 | 1954 | 1948 | ||
542 | 1955 | headerbar { | ||
543 | 1956 | padding: 2px 6px; | ||
544 | 1957 | } | ||
545 | 1958 | |||
546 | 1959 | /* | 1949 | /* |
548 | 1960 | * Header Bars | 1950 | * Header Bars and decorations |
549 | 1961 | * | 1951 | * |
550 | 1962 | * The following rules only style header bars when they are used as a window's | 1952 | * The following rules only style header bars when they are used as a window's |
551 | 1963 | * titlebar widget (i.e., they have .titlebar set as well). | 1953 | * titlebar widget (i.e., they have .titlebar set as well). |
552 | @@ -1966,16 +1956,136 @@ | |||
553 | 1966 | * that prefer showing traditional title bars. The rules for those are further | 1956 | * that prefer showing traditional title bars. The rules for those are further |
554 | 1967 | * down grouped with normal toolbars. | 1957 | * down grouped with normal toolbars. |
555 | 1968 | */ | 1958 | */ |
561 | 1969 | .titlebar { | 1959 | decoration { |
562 | 1970 | background-image: -gtk-gradient (linear, left top, left bottom, | 1960 | margin: 10px; |
563 | 1971 | from (shade (@dark_bg_color, 1.5)), | 1961 | border-radius: 6px 6px 0 0; |
564 | 1972 | to (@dark_bg_color)); | 1962 | box-shadow: 1px 5px 13px alpha(@active_shadow_color, 0.85); |
565 | 1973 | border-color: shade (@dark_bg_color, 1.5); | 1963 | } |
566 | 1964 | |||
567 | 1965 | decoration:backdrop, | ||
568 | 1966 | tooltip.csd decoration, | ||
569 | 1967 | .popup decoration { | ||
570 | 1968 | box-shadow: 1px 5px 13px transparent, /* this should match normal shadow geometries */ | ||
571 | 1969 | 1px 5px 8px @inactive_shadow_color; | ||
572 | 1970 | transition: 100ms ease-out; | ||
573 | 1971 | } | ||
574 | 1972 | |||
575 | 1973 | .ssd decoration { | ||
576 | 1974 | box-shadow: none; | ||
577 | 1975 | } | ||
578 | 1976 | |||
579 | 1977 | popover { | ||
580 | 1978 | /* FIXME: we can't reuse the default shadow definition as increasing marging | ||
581 | 1979 | * would break the tip | ||
582 | 1980 | */ | ||
583 | 1981 | margin: 13px; | ||
584 | 1982 | box-shadow: 1px 3px 6px @inactive_shadow_color; | ||
585 | 1983 | } | ||
586 | 1984 | |||
587 | 1985 | popover:backdrop, | ||
588 | 1986 | popover.background:backdrop { | ||
589 | 1987 | box-shadow: 1px 3px 6px alpha(@inactive_shadow_color, 0.5); | ||
590 | 1988 | } | ||
591 | 1989 | |||
592 | 1990 | tooltip decoration { | ||
593 | 1991 | background-color: transparent; | ||
594 | 1992 | background-image: none; | ||
595 | 1993 | } | ||
596 | 1994 | |||
597 | 1995 | .maximized decoration, | ||
598 | 1996 | .fullscreen decoration, | ||
599 | 1997 | .unity-csd decoration { | ||
600 | 1998 | margin: 0; | ||
601 | 1999 | border-radius: 0; | ||
602 | 2000 | box-shadow: none; | ||
603 | 2001 | } | ||
604 | 2002 | |||
605 | 2003 | .tiled decoration { | ||
606 | 2004 | border-radius: 0; | ||
607 | 2005 | } | ||
608 | 2006 | |||
609 | 2007 | .default-decoration.titlebar:not(headerbar), | ||
610 | 2008 | headerbar.default-decoration { | ||
611 | 2009 | min-height: 26px; | ||
612 | 2010 | } | ||
613 | 2011 | |||
614 | 2012 | .solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), | ||
615 | 2013 | .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), | ||
616 | 2014 | .solid-csd .titlebar:dir(rtl):not(headerbar), | ||
617 | 2015 | .solid-csd .titlebar:dir(ltr):not(headerbar), | ||
618 | 2016 | .solid-csd headerbar:backdrop:dir(rtl), | ||
619 | 2017 | .solid-csd headerbar:backdrop:dir(ltr), | ||
620 | 2018 | .solid-csd headerbar, | ||
621 | 2019 | .solid-csd headerbar:dir(ltr) { | ||
622 | 2020 | margin-left: 0; | ||
623 | 2021 | margin-right: 0; | ||
624 | 2022 | margin-top: 0; | ||
625 | 2023 | border-radius: 0; | ||
626 | 2024 | box-shadow: none; | ||
627 | 2025 | } | ||
628 | 2026 | |||
629 | 2027 | .solid-csd decoration { | ||
630 | 2028 | margin: 0; | ||
631 | 2029 | box-shadow: none; | ||
632 | 2030 | border-width: 2px; | ||
633 | 1974 | border-style: solid; | 2031 | border-style: solid; |
638 | 1975 | border-width: 1px 0 0 0; | 2032 | border-color: shade (@dark_bg_color, 0.85); |
639 | 1976 | border-radius: 7px 7px 0 0; | 2033 | border-radius: 0; |
640 | 1977 | 2034 | } | |
641 | 1978 | color: @dark_fg_color; | 2035 | |
642 | 2036 | .solid-csd:backdrop decoration { | ||
643 | 2037 | border-color: @dark_bg_color | ||
644 | 2038 | } | ||
645 | 2039 | |||
646 | 2040 | .titlebar, | ||
647 | 2041 | UnityDecoration .top { | ||
648 | 2042 | border: 1px solid rgba (85, 40, 0, 0.04); /* shade (@dark_bg_color) (shade (#edebe6, 1.06) */ | ||
649 | 2043 | border-bottom-width: 0; | ||
650 | 2044 | border-radius: 6px 6px 0 0; | ||
651 | 2045 | padding: 1px 6px 0 6px; | ||
652 | 2046 | |||
653 | 2047 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
654 | 2048 | inset 0 1px shade (@edebe6, 1.065), inset 0 0 transparent; | ||
655 | 2049 | |||
656 | 2050 | background-color: transparent; | ||
657 | 2051 | background-clip: border-box; | ||
658 | 2052 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
659 | 2053 | from (shade (#edebe6, 1.06)), | ||
660 | 2054 | to (@dark_bg_color)); | ||
661 | 2055 | |||
662 | 2056 | color: shade (@dark_bg_color, 0.4); | ||
663 | 2057 | text-shadow: 1px 0 shade (@dark_bg_color, 1.06), -1px 0 shade (@dark_bg_color, 1.06), | ||
664 | 2058 | 0 1px shade (@dark_bg_color, 1.06), 0 -1px shade (@dark_bg_color, 1.06); | ||
665 | 2059 | } | ||
666 | 2060 | |||
667 | 2061 | .titlebar:backdrop, | ||
668 | 2062 | UnityDecoration .top:backdrop { | ||
669 | 2063 | border: 1px solid rgba (110, 27, 0, 0.04); /* shade @dark_bg_color - shade (#edebe6, 0.96) */ | ||
670 | 2064 | border-bottom-width: 0; | ||
671 | 2065 | background-color: transparent; | ||
672 | 2066 | background-clip: border-box; | ||
673 | 2067 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
674 | 2068 | from (shade (#edebe6, 0.96)), | ||
675 | 2069 | to (@dark_bg_color)); | ||
676 | 2070 | box-shadow: inset 0 0 transparent, inset 0 0 transparent, | ||
677 | 2071 | inset 0 1px shade (#edebe6, 0.97), inset 0 0 transparent; | ||
678 | 2072 | |||
679 | 2073 | color: #a39e9a; | ||
680 | 2074 | text-shadow: 1px 0 1px shade (@dark_bg_color, 1.08), -1px 0 1px shade (@dark_bg_color, 1.08), | ||
681 | 2075 | 0 1px 1px shade (@dark_bg_color, 1.08), 0 -1px 1px shade (@dark_bg_color, 1.08); | ||
682 | 2076 | } | ||
683 | 2077 | |||
684 | 2078 | .maximized .titlebar, | ||
685 | 2079 | .tiled .titlebar { | ||
686 | 2080 | border-radius: 0; | ||
687 | 2081 | border-image: none; | ||
688 | 2082 | border: none; | ||
689 | 2083 | box-shadow: none; | ||
690 | 2084 | } | ||
691 | 2085 | |||
692 | 2086 | .maximized .titlebar:not(:backdrop):not(.toolbar-mode), | ||
693 | 2087 | .tiled .titlebar:not(:backdrop):not(.toolbar-mode) { | ||
694 | 2088 | box-shadow: inset 0 1px shade (#edebe6, 1.08); | ||
695 | 1979 | } | 2089 | } |
696 | 1980 | 2090 | ||
697 | 1981 | .titlebar .title { | 2091 | .titlebar .title { |
698 | @@ -1987,23 +2097,6 @@ | |||
699 | 1987 | opacity: 0.5; | 2097 | opacity: 0.5; |
700 | 1988 | } | 2098 | } |
701 | 1989 | 2099 | ||
702 | 1990 | .titlebar:backdrop { | ||
703 | 1991 | color: @backdrop_fg_color; | ||
704 | 1992 | background-image: none; | ||
705 | 1993 | background-color: @dark_bg_color; | ||
706 | 1994 | border-top-color: @dark_bg_color; | ||
707 | 1995 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.2); | ||
708 | 1996 | } | ||
709 | 1997 | |||
710 | 1998 | .maximized .titlebar { | ||
711 | 1999 | border-radius: 0; | ||
712 | 2000 | border: none; | ||
713 | 2001 | } | ||
714 | 2002 | |||
715 | 2003 | .maximized .titlebar.toolbar-mode { | ||
716 | 2004 | box-shadow: none; | ||
717 | 2005 | } | ||
718 | 2006 | |||
719 | 2007 | .titlebar button.titlebutton { | 2100 | .titlebar button.titlebutton { |
720 | 2008 | background-clip: padding-box; | 2101 | background-clip: padding-box; |
721 | 2009 | border: 1px solid #d0c7bf; | 2102 | border: 1px solid #d0c7bf; |
722 | @@ -2046,6 +2139,8 @@ | |||
723 | 2046 | } | 2139 | } |
724 | 2047 | 2140 | ||
725 | 2048 | 2141 | ||
726 | 2142 | |||
727 | 2143 | |||
728 | 2049 | /*********** | 2144 | /*********** |
729 | 2050 | * toolbar * | 2145 | * toolbar * |
730 | 2051 | ***********/ | 2146 | ***********/ |
731 | @@ -2066,8 +2161,7 @@ | |||
732 | 2066 | * primary-toolbar * | 2161 | * primary-toolbar * |
733 | 2067 | *******************/ | 2162 | *******************/ |
734 | 2068 | .primary-toolbar, | 2163 | .primary-toolbar, |
737 | 2069 | headerbar, | 2164 | .titlebar.toolbar-mode { |
736 | 2070 | .maximized headerbar.titlebar:not(:backdrop) { | ||
738 | 2071 | -GtkWidget-window-dragging: true; | 2165 | -GtkWidget-window-dragging: true; |
739 | 2072 | 2166 | ||
740 | 2073 | background-image: -gtk-gradient (linear, left top, left bottom, | 2167 | background-image: -gtk-gradient (linear, left top, left bottom, |
741 | @@ -2085,12 +2179,8 @@ | |||
742 | 2085 | box-shadow: inset 0 1px shade (@dark_bg_color, 0.94); | 2179 | box-shadow: inset 0 1px shade (@dark_bg_color, 0.94); |
743 | 2086 | } | 2180 | } |
744 | 2087 | 2181 | ||
745 | 2088 | .maximized headerbar.titlebar.toolbar-mode:not(:backdrop) { | ||
746 | 2089 | border-width: 0; | ||
747 | 2090 | } | ||
748 | 2091 | |||
749 | 2092 | .primary-toolbar:backdrop, | 2182 | .primary-toolbar:backdrop, |
751 | 2093 | headerbar:backdrop { | 2183 | .titlebar.toolbar-mode:backdrop { |
752 | 2094 | background-image: none; | 2184 | background-image: none; |
753 | 2095 | background-color: @dark_bg_color; | 2185 | background-color: @dark_bg_color; |
754 | 2096 | box-shadow: none; | 2186 | box-shadow: none; |
755 | @@ -2101,11 +2191,13 @@ | |||
756 | 2101 | } | 2191 | } |
757 | 2102 | 2192 | ||
758 | 2103 | .primary-toolbar:disabled, | 2193 | .primary-toolbar:disabled, |
759 | 2194 | .titlebar.toolbar-mode:disabled, | ||
760 | 2104 | headerbar:disabled { | 2195 | headerbar:disabled { |
761 | 2105 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | 2196 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); |
762 | 2106 | } | 2197 | } |
763 | 2107 | 2198 | ||
764 | 2108 | .primary-toolbar button, | 2199 | .primary-toolbar button, |
765 | 2200 | .titlebar button, | ||
766 | 2109 | headerbar button, | 2201 | headerbar button, |
767 | 2110 | headerbar button:disabled, | 2202 | headerbar button:disabled, |
768 | 2111 | .primary-toolbar button.flat:hover { | 2203 | .primary-toolbar button.flat:hover { |
769 | @@ -2361,12 +2453,20 @@ | |||
770 | 2361 | background-image: -gtk-gradient (radial, center 0, 0, center 0, 0.8, | 2453 | background-image: -gtk-gradient (radial, center 0, 0, center 0, 0.8, |
771 | 2362 | from (alpha (mix (@tooltip_bg_color, #ffffff, 0.2), 0.86)), | 2454 | from (alpha (mix (@tooltip_bg_color, #ffffff, 0.2), 0.86)), |
772 | 2363 | to (alpha (@tooltip_bg_color, 0.86))); | 2455 | to (alpha (@tooltip_bg_color, 0.86))); |
774 | 2364 | border-color: alpha (#ffffff, 0.2); | 2456 | border-color: alpha (white, 0.2); |
775 | 2365 | border-radius: 5px; | 2457 | border-radius: 5px; |
776 | 2366 | border-style: solid; | 2458 | border-style: solid; |
777 | 2367 | border-width: 1px; | 2459 | border-width: 1px; |
778 | 2368 | } | 2460 | } |
779 | 2369 | 2461 | ||
780 | 2462 | tooltip.csd:not(.unity-csd) decoration { | ||
781 | 2463 | border-radius: 5px; | ||
782 | 2464 | } | ||
783 | 2465 | |||
784 | 2466 | tooltip.background { | ||
785 | 2467 | background-color: transparent; | ||
786 | 2468 | } | ||
787 | 2469 | |||
788 | 2370 | tooltip label { | 2470 | tooltip label { |
789 | 2371 | color: @tooltip_fg_color; | 2471 | color: @tooltip_fg_color; |
790 | 2372 | } | 2472 | } |
791 | @@ -2419,16 +2519,9 @@ | |||
792 | 2419 | 2519 | ||
793 | 2420 | border-radius: 5px; | 2520 | border-radius: 5px; |
794 | 2421 | border: 1px solid darker(@bg_color); | 2521 | border: 1px solid darker(@bg_color); |
795 | 2422 | |||
796 | 2423 | box-shadow: 0 2px 3px @shadow_color; | ||
797 | 2424 | margin: 10px; | ||
798 | 2425 | padding: 2px; | 2522 | padding: 2px; |
799 | 2426 | } | 2523 | } |
800 | 2427 | 2524 | ||
801 | 2428 | popover:backdrop { | ||
802 | 2429 | box-shadow: none; | ||
803 | 2430 | } | ||
804 | 2431 | |||
805 | 2432 | /* Popover menuitems are actually buttons. The following rules reset most of | 2525 | /* Popover menuitems are actually buttons. The following rules reset most of |
806 | 2433 | * the button styles for them. | 2526 | * the button styles for them. |
807 | 2434 | */ | 2527 | */ |
This is working *much* better than the current version. Tested with gnome-control- center, gnome-calcualtor, gnome-software, nautilus — everywhere the headerbars are working fine. Thanks a lot!