Merge lp:~larsu/ubuntu-themes/three-twelve into lp:ubuntu-themes
- three-twelve
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 388 |
Merged at revision: | 389 |
Proposed branch: | lp:~larsu/ubuntu-themes/three-twelve |
Merge into: | lp:ubuntu-themes |
Diff against target: |
504 lines (+189/-162) 6 files modified
Ambiance/gtk-3.0/apps/gedit.css (+0/-1) Ambiance/gtk-3.0/apps/nautilus.css (+4/-0) Ambiance/gtk-3.0/gtk-widgets.css (+91/-80) Radiance/gtk-3.0/apps/gedit.css (+0/-1) Radiance/gtk-3.0/apps/nautilus.css (+4/-0) Radiance/gtk-3.0/gtk-widgets.css (+90/-80) |
To merge this branch: | bzr merge lp:~larsu/ubuntu-themes/three-twelve |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+225982@code.launchpad.net |
Commit message
Fixes required by the 3.12 update
Unify notebook borders and paddings to get rid of the border around tab bars (on notebooks and stand-alone, such as in gedit and gnome-terminal).
Also, style header bars similarly to window title bars, but take care that header bars that are used as tool bars keep the same look as tool bars.
Description of the change
Fixes required by the 3.12 update
Unify notebook borders and paddings to get rid of the border around tab bars (on notebooks and stand-alone, such as in gedit and gnome-terminal).
Also, style header bars similarly to window title bars, but take care that header bars that are used as tool bars keep the same look as tool bars.
I hope this is okay as a single commit. Let me know if you prefer the headerbar stuff in a separate commit.
PS Jenkins bot (ps-jenkins) wrote : | # |
- 387. By Lars Karlitski
-
Unset border-radius for header bars that are used as tool bars
- 388. By Lars Karlitski
-
Nautilus: add padding to toolbar buttons
Lars Karlitski (larsu) wrote : | # |
Updated to be able to get rid of nautilus' ubuntu_
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:388
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Sebastien Bacher (seb128) wrote : | # |
Looks good, thanks
Preview Diff
1 | === modified file 'Ambiance/gtk-3.0/apps/gedit.css' | |||
2 | --- Ambiance/gtk-3.0/apps/gedit.css 2014-01-15 13:42:18 +0000 | |||
3 | +++ Ambiance/gtk-3.0/apps/gedit.css 2014-07-10 15:07:43 +0000 | |||
4 | @@ -14,7 +14,6 @@ | |||
5 | 14 | } | 14 | } |
6 | 15 | 15 | ||
7 | 16 | GeditWindow .notebook { | 16 | GeditWindow .notebook { |
8 | 17 | padding: 1px; | ||
9 | 18 | border-radius: 1px; | 17 | border-radius: 1px; |
10 | 19 | } | 18 | } |
11 | 20 | 19 | ||
12 | 21 | 20 | ||
13 | === modified file 'Ambiance/gtk-3.0/apps/nautilus.css' | |||
14 | --- Ambiance/gtk-3.0/apps/nautilus.css 2013-05-22 17:18:39 +0000 | |||
15 | +++ Ambiance/gtk-3.0/apps/nautilus.css 2014-07-10 15:07:43 +0000 | |||
16 | @@ -105,6 +105,10 @@ | |||
17 | 105 | -GtkButton-inner-border: 0; | 105 | -GtkButton-inner-border: 0; |
18 | 106 | } | 106 | } |
19 | 107 | 107 | ||
20 | 108 | NautilusWindow .header-bar .button { | ||
21 | 109 | padding: 9px; | ||
22 | 110 | } | ||
23 | 111 | |||
24 | 108 | /* sidebar */ | 112 | /* sidebar */ |
25 | 109 | NautilusWindow .sidebar, | 113 | NautilusWindow .sidebar, |
26 | 110 | NautilusWindow .sidebar .view { | 114 | NautilusWindow .sidebar .view { |
27 | 111 | 115 | ||
28 | === modified file 'Ambiance/gtk-3.0/gtk-widgets.css' | |||
29 | --- Ambiance/gtk-3.0/gtk-widgets.css 2014-06-18 12:00:26 +0000 | |||
30 | +++ Ambiance/gtk-3.0/gtk-widgets.css 2014-07-10 15:07:43 +0000 | |||
31 | @@ -117,14 +117,6 @@ | |||
32 | 117 | box-shadow: inset -1px 0 shade (@bg_color, 0.94); | 117 | box-shadow: inset -1px 0 shade (@bg_color, 0.94); |
33 | 118 | } | 118 | } |
34 | 119 | 119 | ||
35 | 120 | /************** | ||
36 | 121 | * background * | ||
37 | 122 | **************/ | ||
38 | 123 | .background { | ||
39 | 124 | background-color: @bg_color; | ||
40 | 125 | border-width: 0; | ||
41 | 126 | } | ||
42 | 127 | |||
43 | 128 | /********** | 120 | /********** |
44 | 129 | * button * | 121 | * button * |
45 | 130 | **********/ | 122 | **********/ |
46 | @@ -1178,101 +1170,66 @@ | |||
47 | 1178 | /************ | 1170 | /************ |
48 | 1179 | * notebook * | 1171 | * notebook * |
49 | 1180 | ************/ | 1172 | ************/ |
77 | 1181 | .notebook { | 1173 | .notebook tab.top { padding: 4px 6px 2px 6px; } |
78 | 1182 | background-color: shade (@bg_color, 1.02); | 1174 | .notebook tab.top:active { padding-bottom: 3px; } |
79 | 1183 | background-image: none; | 1175 | .notebook tab.bottom { padding: 2px 6px 4px 6px; } |
80 | 1184 | border-radius: 3px; | 1176 | .notebook tab.bottom:active { padding-top: 3px; } |
81 | 1185 | padding: 2px; | 1177 | .notebook tab.left { padding: 2px 4px 2px 6px; } |
82 | 1186 | background-clip: border-box; | 1178 | .notebook tab.left:active { padding-right: 5px; } |
83 | 1187 | border-color: shade (@bg_color, 0.82); | 1179 | .notebook tab.right { padding: 2px 6px 2px 4px; } |
84 | 1188 | border-width: 1px; | 1180 | .notebook tab.right:active { padding-left: 5px; } |
85 | 1189 | border-style: solid; | 1181 | |
86 | 1190 | /*box-shadow: inset 0 1px shade (@bg_color, 1.1);*/ | 1182 | /* give active tab a background, as it might be dragged across of others when reordering */ |
60 | 1191 | /*font-weight: 300;*/ | ||
61 | 1192 | } | ||
62 | 1193 | |||
63 | 1194 | .notebook tab { | ||
64 | 1195 | background-image: none; | ||
65 | 1196 | background-color: transparent; | ||
66 | 1197 | border-style: solid; | ||
67 | 1198 | border-image: -gtk-gradient (linear, left top, left bottom, | ||
68 | 1199 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
69 | 1200 | to (shade (@bg_color, 0.9))) 1; | ||
70 | 1201 | border-image-width: 0 1px; | ||
71 | 1202 | border-color: transparent; | ||
72 | 1203 | border-width: 0; | ||
73 | 1204 | box-shadow: none; | ||
74 | 1205 | /*color: shade (@fg_color, 1.2);*/ | ||
75 | 1206 | } | ||
76 | 1207 | |||
87 | 1208 | .notebook tab:active { | 1183 | .notebook tab:active { |
88 | 1184 | background-color: @bg_color; | ||
89 | 1185 | } | ||
90 | 1186 | |||
91 | 1187 | .notebook.header { | ||
92 | 1188 | border-width: 0; /* set below depending on position of tab bar */ | ||
93 | 1209 | border-color: shade (@bg_color, 0.82); | 1189 | border-color: shade (@bg_color, 0.82); |
94 | 1210 | border-style: solid; | 1190 | border-style: solid; |
115 | 1211 | border-width: 1px; | 1191 | } |
116 | 1212 | background-color: shade (@bg_color, 1.02); | 1192 | |
117 | 1213 | background-image: none; | 1193 | /* Draw a border between tabs and content ... */ |
118 | 1214 | /*box-shadow: inset 0 1px shade (@bg_color, 1.1);*/ | 1194 | .notebook.header.top { border-bottom-width: 1px; } |
119 | 1215 | 1195 | .notebook.header.right { border-left-width: 1px; } | |
120 | 1216 | color: @fg_color; | 1196 | .notebook.header.left { border-right-width: 1px; } |
121 | 1217 | } | 1197 | .notebook.header.bottom { border-top-width: 1px; } |
122 | 1218 | 1198 | ||
123 | 1219 | .notebook tab GtkLabel { | 1199 | /* ... unless the content is in a frame (thus having a border itself */ |
124 | 1220 | /*padding: 1px;*/ | 1200 | .notebook.header.frame.top { border: none; } |
125 | 1221 | padding: 1px 1px 2px 1px; | 1201 | .notebook.header.frame.right { border: none; } |
126 | 1222 | } | 1202 | .notebook.header.frame.right { border: none; } |
127 | 1223 | 1203 | .notebook.header.frame.bottom { border: none; } | |
108 | 1224 | .notebook tab { | ||
109 | 1225 | color: shade (@bg_color, 0.48); | ||
110 | 1226 | } | ||
111 | 1227 | |||
112 | 1228 | .notebook tab.top:active { | ||
113 | 1229 | padding: 3px 7px 1px 7px; | ||
114 | 1230 | } | ||
128 | 1231 | 1204 | ||
129 | 1232 | .notebook tab.top { | 1205 | .notebook tab.top { |
135 | 1233 | padding: 2px 5px 0 5px; | 1206 | border-image: -gtk-gradient (linear, left top, left bottom, |
136 | 1234 | } | 1207 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
137 | 1235 | 1208 | to (shade (@bg_color, 0.9))) 1; | |
138 | 1236 | .notebook tab.right:active { | 1209 | border-image-width: 0 1px; |
134 | 1237 | padding: 4px 6px 4px 1px; | ||
139 | 1238 | } | 1210 | } |
140 | 1239 | 1211 | ||
141 | 1240 | .notebook tab.right { | 1212 | .notebook tab.right { |
142 | 1241 | padding: 3px 4px 3px 0; | ||
143 | 1242 | border-image: -gtk-gradient (linear, right top, left top, | 1213 | border-image: -gtk-gradient (linear, right top, left top, |
144 | 1243 | from (alpha (shade (@bg_color, 0.9), 0.0)), | 1214 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
145 | 1244 | to (shade (@bg_color, 0.9))) 1; | 1215 | to (shade (@bg_color, 0.9))) 1; |
146 | 1245 | border-image-width: 1px 0; | 1216 | border-image-width: 1px 0; |
147 | 1246 | } | 1217 | } |
148 | 1247 | 1218 | ||
151 | 1248 | .notebook tab.bottom:active { | 1219 | .notebook tab.left { |
152 | 1249 | padding: 1px 7px 4px 7px; | 1220 | border-image: -gtk-gradient (linear, left top, right top, |
153 | 1221 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
154 | 1222 | to (shade (@bg_color, 0.9))) 1; | ||
155 | 1223 | border-image-width: 1px 0; | ||
156 | 1250 | } | 1224 | } |
157 | 1251 | 1225 | ||
158 | 1252 | .notebook tab.bottom { | 1226 | .notebook tab.bottom { |
159 | 1253 | padding: 0 5px 3px 5px; | ||
160 | 1254 | border-image: -gtk-gradient (linear, left bottom, left top, | 1227 | border-image: -gtk-gradient (linear, left bottom, left top, |
161 | 1255 | from (alpha (shade (@bg_color, 0.9), 0.0)), | 1228 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
162 | 1256 | to (shade (@bg_color, 0.9))) 1; | 1229 | to (shade (@bg_color, 0.9))) 1; |
163 | 1257 | border-image-width: 0 1px; | 1230 | border-image-width: 0 1px; |
164 | 1258 | } | 1231 | } |
165 | 1259 | 1232 | ||
166 | 1260 | .notebook tab.left:active { | ||
167 | 1261 | padding: 4px 1px 4px 6px; | ||
168 | 1262 | } | ||
169 | 1263 | |||
170 | 1264 | .notebook tab.left { | ||
171 | 1265 | padding: 3px 0 3px 4px; | ||
172 | 1266 | border-image: -gtk-gradient (linear, left top, right top, | ||
173 | 1267 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
174 | 1268 | to (shade (@bg_color, 0.9))) 1; | ||
175 | 1269 | border-image-width: 1px 0; | ||
176 | 1270 | } | ||
177 | 1271 | |||
178 | 1272 | .notebook tab .button { | ||
179 | 1273 | padding: 0; | ||
180 | 1274 | } | ||
181 | 1275 | |||
182 | 1276 | .notebook GtkDrawingArea { | 1233 | .notebook GtkDrawingArea { |
183 | 1277 | background-color: shade (@bg_color, 1.02); | 1234 | background-color: shade (@bg_color, 1.02); |
184 | 1278 | } | 1235 | } |
185 | @@ -1903,6 +1860,59 @@ | |||
186 | 1903 | background-color: @base_color; | 1860 | background-color: @base_color; |
187 | 1904 | } | 1861 | } |
188 | 1905 | 1862 | ||
189 | 1863 | /* | ||
190 | 1864 | * Header Bars | ||
191 | 1865 | * | ||
192 | 1866 | * The following rules only style header bars when they are used as a window's | ||
193 | 1867 | * titlebar widget (i.e., they have .titlebar set as well). | ||
194 | 1868 | * | ||
195 | 1869 | * Some applications reuse their header bar as a primary toolbar on desktops | ||
196 | 1870 | * that prefer showing traditional title bars. The rules for those are further | ||
197 | 1871 | * down grouped with normal toolbars. | ||
198 | 1872 | */ | ||
199 | 1873 | .titlebar.header-bar { | ||
200 | 1874 | padding: 2px; | ||
201 | 1875 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
202 | 1876 | from (shade (@dark_bg_color, 1.5)), | ||
203 | 1877 | to (@dark_bg_color)); | ||
204 | 1878 | border-color: shade (@dark_bg_color, 1.5); | ||
205 | 1879 | border-style: solid; | ||
206 | 1880 | border-width: 1px 0 0 0; | ||
207 | 1881 | border-radius: 7px 7px 0 0; | ||
208 | 1882 | |||
209 | 1883 | color: @dark_fg_color; | ||
210 | 1884 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | ||
211 | 1885 | |||
212 | 1886 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.65); | ||
213 | 1887 | } | ||
214 | 1888 | |||
215 | 1889 | .titlebar.header-bar .title { | ||
216 | 1890 | font: bold; | ||
217 | 1891 | } | ||
218 | 1892 | |||
219 | 1893 | .titlebar.header-bar:backdrop { | ||
220 | 1894 | color: @backdrop_fg_color; | ||
221 | 1895 | background-image: none; | ||
222 | 1896 | background-color: @dark_bg_color; | ||
223 | 1897 | border-top-color: @dark_bg_color; | ||
224 | 1898 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.2); | ||
225 | 1899 | } | ||
226 | 1900 | |||
227 | 1901 | .maximized .titlebar.header-bar { | ||
228 | 1902 | border-radius: 0; | ||
229 | 1903 | border: none; | ||
230 | 1904 | } | ||
231 | 1905 | |||
232 | 1906 | .titlebar.header-bar .button.titlebutton { | ||
233 | 1907 | background-color: transparent; | ||
234 | 1908 | border-image-width: 0; | ||
235 | 1909 | box-shadow: none; | ||
236 | 1910 | } | ||
237 | 1911 | |||
238 | 1912 | .titlebar.header-bar .button.titlebutton:hover { | ||
239 | 1913 | border-image-width: 12px; | ||
240 | 1914 | } | ||
241 | 1915 | |||
242 | 1906 | /*********** | 1916 | /*********** |
243 | 1907 | * toolbar * | 1917 | * toolbar * |
244 | 1908 | ***********/ | 1918 | ***********/ |
245 | @@ -1938,6 +1948,7 @@ | |||
246 | 1938 | border-top-color: shade (@dark_bg_color, 1.09); | 1948 | border-top-color: shade (@dark_bg_color, 1.09); |
247 | 1939 | border-style: solid; | 1949 | border-style: solid; |
248 | 1940 | border-width: 1px 0 1px 0; | 1950 | border-width: 1px 0 1px 0; |
249 | 1951 | border-radius: 0; | ||
250 | 1941 | 1952 | ||
251 | 1942 | color: @dark_fg_color; | 1953 | color: @dark_fg_color; |
252 | 1943 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | 1954 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); |
253 | 1944 | 1955 | ||
254 | === modified file 'Radiance/gtk-3.0/apps/gedit.css' | |||
255 | --- Radiance/gtk-3.0/apps/gedit.css 2014-01-15 13:42:18 +0000 | |||
256 | +++ Radiance/gtk-3.0/apps/gedit.css 2014-07-10 15:07:43 +0000 | |||
257 | @@ -14,7 +14,6 @@ | |||
258 | 14 | } | 14 | } |
259 | 15 | 15 | ||
260 | 16 | GeditWindow .notebook { | 16 | GeditWindow .notebook { |
261 | 17 | padding: 1px; | ||
262 | 18 | border-radius: 1px; | 17 | border-radius: 1px; |
263 | 19 | } | 18 | } |
264 | 20 | 19 | ||
265 | 21 | 20 | ||
266 | === modified file 'Radiance/gtk-3.0/apps/nautilus.css' | |||
267 | --- Radiance/gtk-3.0/apps/nautilus.css 2013-05-22 17:18:39 +0000 | |||
268 | +++ Radiance/gtk-3.0/apps/nautilus.css 2014-07-10 15:07:43 +0000 | |||
269 | @@ -105,6 +105,10 @@ | |||
270 | 105 | -GtkButton-inner-border: 0; | 105 | -GtkButton-inner-border: 0; |
271 | 106 | } | 106 | } |
272 | 107 | 107 | ||
273 | 108 | NautilusWindow .header-bar .button { | ||
274 | 109 | padding: 9px; | ||
275 | 110 | } | ||
276 | 111 | |||
277 | 108 | /* sidebar */ | 112 | /* sidebar */ |
278 | 109 | NautilusWindow .sidebar, | 113 | NautilusWindow .sidebar, |
279 | 110 | NautilusWindow .sidebar .view { | 114 | NautilusWindow .sidebar .view { |
280 | 111 | 115 | ||
281 | === modified file 'Radiance/gtk-3.0/gtk-widgets.css' | |||
282 | --- Radiance/gtk-3.0/gtk-widgets.css 2014-06-18 12:00:26 +0000 | |||
283 | +++ Radiance/gtk-3.0/gtk-widgets.css 2014-07-10 15:07:43 +0000 | |||
284 | @@ -116,14 +116,6 @@ | |||
285 | 116 | box-shadow: inset -1px 0 shade (@bg_color, 0.94); | 116 | box-shadow: inset -1px 0 shade (@bg_color, 0.94); |
286 | 117 | } | 117 | } |
287 | 118 | 118 | ||
288 | 119 | /************** | ||
289 | 120 | * background * | ||
290 | 121 | **************/ | ||
291 | 122 | .background { | ||
292 | 123 | background-color: @bg_color; | ||
293 | 124 | border-width: 0; | ||
294 | 125 | } | ||
295 | 126 | |||
296 | 127 | /********** | 119 | /********** |
297 | 128 | * button * | 120 | * button * |
298 | 129 | **********/ | 121 | **********/ |
299 | @@ -1181,101 +1173,66 @@ | |||
300 | 1181 | /************ | 1173 | /************ |
301 | 1182 | * notebook * | 1174 | * notebook * |
302 | 1183 | ************/ | 1175 | ************/ |
330 | 1184 | .notebook { | 1176 | .notebook tab.top { padding: 4px 6px 2px 6px; } |
331 | 1185 | background-color: shade (@bg_color, 1.02); | 1177 | .notebook tab.top:active { padding-bottom: 3px; } |
332 | 1186 | background-image: none; | 1178 | .notebook tab.bottom { padding: 2px 6px 4px 6px; } |
333 | 1187 | border-radius: 3px; | 1179 | .notebook tab.bottom:active { padding-top: 3px; } |
334 | 1188 | padding: 2px; | 1180 | .notebook tab.left { padding: 2px 4px 2px 6px; } |
335 | 1189 | background-clip: border-box; | 1181 | .notebook tab.left:active { padding-right: 5px; } |
336 | 1190 | border-color: shade (@bg_color, 0.82); | 1182 | .notebook tab.right { padding: 2px 6px 2px 4px; } |
337 | 1191 | border-width: 1px; | 1183 | .notebook tab.right:active { padding-left: 5px; } |
338 | 1192 | border-style: solid; | 1184 | |
339 | 1193 | /*box-shadow: inset 0 1px shade (@bg_color, 1.1);*/ | 1185 | /* give active tab a background, as it might be dragged across of others when reordering */ |
313 | 1194 | /*font-weight: 300;*/ | ||
314 | 1195 | } | ||
315 | 1196 | |||
316 | 1197 | .notebook tab { | ||
317 | 1198 | background-image: none; | ||
318 | 1199 | background-color: transparent; | ||
319 | 1200 | border-style: solid; | ||
320 | 1201 | border-image: -gtk-gradient (linear, left top, left bottom, | ||
321 | 1202 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
322 | 1203 | to (shade (@bg_color, 0.9))) 1; | ||
323 | 1204 | border-image-width: 0 1px; | ||
324 | 1205 | border-color: transparent; | ||
325 | 1206 | border-width: 0; | ||
326 | 1207 | box-shadow: none; | ||
327 | 1208 | /*color: shade (@fg_color, 1.2);*/ | ||
328 | 1209 | } | ||
329 | 1210 | |||
340 | 1211 | .notebook tab:active { | 1186 | .notebook tab:active { |
341 | 1187 | background-color: @bg_color; | ||
342 | 1188 | } | ||
343 | 1189 | |||
344 | 1190 | .notebook.header { | ||
345 | 1191 | border-width: 0; /* set below depending on position of tab bar */ | ||
346 | 1212 | border-color: shade (@bg_color, 0.82); | 1192 | border-color: shade (@bg_color, 0.82); |
347 | 1213 | border-style: solid; | 1193 | border-style: solid; |
368 | 1214 | border-width: 1px; | 1194 | } |
369 | 1215 | background-color: shade (@bg_color, 1.02); | 1195 | |
370 | 1216 | background-image: none; | 1196 | /* Draw a border between tabs and content ... */ |
371 | 1217 | /*box-shadow: inset 0 1px shade (@bg_color, 1.1);*/ | 1197 | .notebook.header.top { border-bottom-width: 1px; } |
372 | 1218 | 1198 | .notebook.header.right { border-left-width: 1px; } | |
373 | 1219 | color: @fg_color; | 1199 | .notebook.header.left { border-right-width: 1px; } |
374 | 1220 | } | 1200 | .notebook.header.bottom { border-top-width: 1px; } |
375 | 1221 | 1201 | ||
376 | 1222 | .notebook tab GtkLabel { | 1202 | /* ... unless the content is in a frame (thus having a border itself */ |
377 | 1223 | /*padding: 1px;*/ | 1203 | .notebook.header.frame.top { border: none; } |
378 | 1224 | padding: 1px 1px 2px 1px; | 1204 | .notebook.header.frame.right { border: none; } |
379 | 1225 | } | 1205 | .notebook.header.frame.right { border: none; } |
380 | 1226 | 1206 | .notebook.header.frame.bottom { border: none; } | |
361 | 1227 | .notebook tab { | ||
362 | 1228 | color: shade (@bg_color, 0.48); | ||
363 | 1229 | } | ||
364 | 1230 | |||
365 | 1231 | .notebook tab.top:active { | ||
366 | 1232 | padding: 3px 7px 1px 7px; | ||
367 | 1233 | } | ||
381 | 1234 | 1207 | ||
382 | 1235 | .notebook tab.top { | 1208 | .notebook tab.top { |
388 | 1236 | padding: 2px 5px 0 5px; | 1209 | border-image: -gtk-gradient (linear, left top, left bottom, |
389 | 1237 | } | 1210 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
390 | 1238 | 1211 | to (shade (@bg_color, 0.9))) 1; | |
391 | 1239 | .notebook tab.right:active { | 1212 | border-image-width: 0 1px; |
387 | 1240 | padding: 4px 6px 4px 1px; | ||
392 | 1241 | } | 1213 | } |
393 | 1242 | 1214 | ||
394 | 1243 | .notebook tab.right { | 1215 | .notebook tab.right { |
395 | 1244 | padding: 3px 4px 3px 0; | ||
396 | 1245 | border-image: -gtk-gradient (linear, right top, left top, | 1216 | border-image: -gtk-gradient (linear, right top, left top, |
397 | 1246 | from (alpha (shade (@bg_color, 0.9), 0.0)), | 1217 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
398 | 1247 | to (shade (@bg_color, 0.9))) 1; | 1218 | to (shade (@bg_color, 0.9))) 1; |
399 | 1248 | border-image-width: 1px 0; | 1219 | border-image-width: 1px 0; |
400 | 1249 | } | 1220 | } |
401 | 1250 | 1221 | ||
404 | 1251 | .notebook tab.bottom:active { | 1222 | .notebook tab.left { |
405 | 1252 | padding: 1px 7px 4px 7px; | 1223 | border-image: -gtk-gradient (linear, left top, right top, |
406 | 1224 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
407 | 1225 | to (shade (@bg_color, 0.9))) 1; | ||
408 | 1226 | border-image-width: 1px 0; | ||
409 | 1253 | } | 1227 | } |
410 | 1254 | 1228 | ||
411 | 1255 | .notebook tab.bottom { | 1229 | .notebook tab.bottom { |
412 | 1256 | padding: 0 5px 3px 5px; | ||
413 | 1257 | border-image: -gtk-gradient (linear, left bottom, left top, | 1230 | border-image: -gtk-gradient (linear, left bottom, left top, |
414 | 1258 | from (alpha (shade (@bg_color, 0.9), 0.0)), | 1231 | from (alpha (shade (@bg_color, 0.9), 0.0)), |
415 | 1259 | to (shade (@bg_color, 0.9))) 1; | 1232 | to (shade (@bg_color, 0.9))) 1; |
416 | 1260 | border-image-width: 0 1px; | 1233 | border-image-width: 0 1px; |
417 | 1261 | } | 1234 | } |
418 | 1262 | 1235 | ||
419 | 1263 | .notebook tab.left:active { | ||
420 | 1264 | padding: 4px 1px 4px 6px; | ||
421 | 1265 | } | ||
422 | 1266 | |||
423 | 1267 | .notebook tab.left { | ||
424 | 1268 | padding: 3px 0 3px 4px; | ||
425 | 1269 | border-image: -gtk-gradient (linear, left top, right top, | ||
426 | 1270 | from (alpha (shade (@bg_color, 0.9), 0.0)), | ||
427 | 1271 | to (shade (@bg_color, 0.9))) 1; | ||
428 | 1272 | border-image-width: 1px 0; | ||
429 | 1273 | } | ||
430 | 1274 | |||
431 | 1275 | .notebook tab .button { | ||
432 | 1276 | padding: 0; | ||
433 | 1277 | } | ||
434 | 1278 | |||
435 | 1279 | .notebook GtkDrawingArea { | 1236 | .notebook GtkDrawingArea { |
436 | 1280 | background-color: shade (@bg_color, 1.02); | 1237 | background-color: shade (@bg_color, 1.02); |
437 | 1281 | } | 1238 | } |
438 | @@ -1913,6 +1870,58 @@ | |||
439 | 1913 | background-color: @base_color; | 1870 | background-color: @base_color; |
440 | 1914 | } | 1871 | } |
441 | 1915 | 1872 | ||
442 | 1873 | /* | ||
443 | 1874 | * Header Bars | ||
444 | 1875 | * | ||
445 | 1876 | * The following rules only style header bars when they are used as a window's | ||
446 | 1877 | * titlebar widget (i.e., they have .titlebar set as well). | ||
447 | 1878 | * | ||
448 | 1879 | * Some applications reuse their header bar as a primary toolbar on desktops | ||
449 | 1880 | * that prefer showing traditional title bars. The rules for those are further | ||
450 | 1881 | * down grouped with normal toolbars. | ||
451 | 1882 | */ | ||
452 | 1883 | .titlebar.header-bar { | ||
453 | 1884 | padding: 2px; | ||
454 | 1885 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
455 | 1886 | from (shade (@dark_bg_color, 1.5)), | ||
456 | 1887 | to (@dark_bg_color)); | ||
457 | 1888 | border-color: shade (@dark_bg_color, 1.5); | ||
458 | 1889 | border-style: solid; | ||
459 | 1890 | border-width: 1px 0 0 0; | ||
460 | 1891 | border-radius: 7px 7px 0 0; | ||
461 | 1892 | |||
462 | 1893 | color: @dark_fg_color; | ||
463 | 1894 | |||
464 | 1895 | box-shadow: inset 0 1px shade (@dark_bg_color, 1.65); | ||
465 | 1896 | } | ||
466 | 1897 | |||
467 | 1898 | .titlebar.header-bar .title { | ||
468 | 1899 | font: bold; | ||
469 | 1900 | } | ||
470 | 1901 | |||
471 | 1902 | .titlebar.header-bar:backdrop { | ||
472 | 1903 | color: @backdrop_fg_color; | ||
473 | 1904 | background-image: none; | ||
474 | 1905 | background-color: @dark_bg_color; | ||
475 | 1906 | border-top-color: @dark_bg_color; | ||
476 | 1907 | } | ||
477 | 1908 | |||
478 | 1909 | .maximized .titlebar.header-bar { | ||
479 | 1910 | border-radius: 0; | ||
480 | 1911 | border: none; | ||
481 | 1912 | } | ||
482 | 1913 | |||
483 | 1914 | .titlebar.header-bar .button.titlebutton { | ||
484 | 1915 | background-color: transparent; | ||
485 | 1916 | border-image-width: 0; | ||
486 | 1917 | box-shadow: none; | ||
487 | 1918 | } | ||
488 | 1919 | |||
489 | 1920 | .titlebar.header-bar .button.titlebutton:hover { | ||
490 | 1921 | border-image-width: 12px; | ||
491 | 1922 | } | ||
492 | 1923 | |||
493 | 1924 | |||
494 | 1916 | /*********** | 1925 | /*********** |
495 | 1917 | * toolbar * | 1926 | * toolbar * |
496 | 1918 | ***********/ | 1927 | ***********/ |
497 | @@ -1948,6 +1957,7 @@ | |||
498 | 1948 | border-top-color: shade (@dark_bg_color, 1.09); | 1957 | border-top-color: shade (@dark_bg_color, 1.09); |
499 | 1949 | border-style: solid; | 1958 | border-style: solid; |
500 | 1950 | border-width: 1px 0 1px 0; | 1959 | border-width: 1px 0 1px 0; |
501 | 1960 | border-radius: 0; | ||
502 | 1951 | 1961 | ||
503 | 1952 | color: @dark_fg_color; | 1962 | color: @dark_fg_color; |
504 | 1953 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); | 1963 | text-shadow: 0 -1px shade (@dark_bg_color, 0.7); |
PASSED: Continuous integration, rev:386 jenkins. qa.ubuntu. com/job/ ubuntu- themes- ci/70/ jenkins. qa.ubuntu. com/job/ ubuntu- themes- utopic- amd64-ci/ 9 jenkins. qa.ubuntu. com/job/ ubuntu- themes- utopic- armhf-ci/ 9 jenkins. qa.ubuntu. com/job/ ubuntu- themes- utopic- i386-ci/ 9
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- themes- ci/70/rebuild
http://