Merge lp:~seb128/ubuntu-themes/update-nautilus-theme into lp:ubuntu-themes

Proposed by Sebastien Bacher
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 459
Merged at revision: 461
Proposed branch: lp:~seb128/ubuntu-themes/update-nautilus-theme
Merge into: lp:ubuntu-themes
Diff against target: 295 lines (+212/-44)
2 files modified
Ambiance/gtk-3.0/apps/nautilus.css (+106/-22)
Radiance/gtk-3.0/apps/nautilus.css (+106/-22)
To merge this branch: bzr merge lp:~seb128/ubuntu-themes/update-nautilus-theme
Reviewer Review Type Date Requested Status
Will Cooke (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Ubuntu Artwork Packagers Pending
Review via email: mp+279468@code.launchpad.net

Commit message

Update the nautilus.css with the current upstream one, it could probably
be tweaked a bit and has references to color used upstream but those don't
look out of place with our theme and is better than what we have now

Description of the change

Update the nautilus.css with the current upstream one, it could probably
be tweaked a bit and has references to color used upstream but those don't
look out of place with our theme and is better than what we have now

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Will Cooke (willcooke) wrote :

Installed onto my X test machine and it looks good.

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.0/apps/nautilus.css'
2--- Ambiance/gtk-3.0/apps/nautilus.css 2015-07-15 11:07:39 +0000
3+++ Ambiance/gtk-3.0/apps/nautilus.css 2015-12-03 16:11:18 +0000
4@@ -1,33 +1,28 @@
5-NautilusWindow * {
6- -GtkPaned-handle-size: 1;
7-}
8-
9-NautilusDesktopWindow GtkWidget {
10- background-color: @transparent;
11-}
12-
13 .nautilus-canvas-item {
14- border-radius: 4px;
15-}
16-
17-/* desktop mode */
18+ border-radius: 5px;
19+}
20+
21+.nautilus-canvas-item.dim-label,
22+.nautilus-list-dim-label {
23+ color: mix (@theme_fg_color, @theme_bg_color, 0.50);
24+}
25+
26+.nautilus-canvas-item.dim-label:selected,
27+.nautilus-list-dim-label:selected {
28+ color: mix (@theme_selected_fg_color, @theme_selected_bg_color, 0.20);
29+}
30+
31 .nautilus-desktop.nautilus-canvas-item {
32- color: @bg_color;
33- text-shadow: 1px 1px alpha (#000000, 0.8);
34+ color: @theme_selected_fg_color;
35+ text-shadow: 1px 1px black;
36 }
37
38 .nautilus-desktop.nautilus-canvas-item:active {
39- background-image: none;
40- background-color: alpha (@bg_color, 0.84);
41-
42- color: @fg_color;
43+ color: @theme_text_color;
44 }
45
46 .nautilus-desktop.nautilus-canvas-item:selected {
47- background-image: none;
48- background-color: alpha (@selected_bg_color, 0.84);
49-
50- color: @selected_fg_color;
51+ color: @theme_selected_fg_color;
52 }
53
54 .nautilus-desktop.nautilus-canvas-item:active,
55@@ -35,3 +30,92 @@
56 .nautilus-desktop.nautilus-canvas-item:selected {
57 text-shadow: none;
58 }
59+
60+.nautilus-desktop.nautilus-canvas-item:selected:backdrop {
61+ color: @theme_unfocused_selected_fg_color;
62+}
63+
64+.nautilus-circular-button {
65+ border-radius: 20px;
66+ outline-radius: 20px;
67+}
68+
69+/* Toolbar */
70+
71+/* Here we use the .button background-image colors from Adwaita, but ligthen them,
72+ * since is not possible to use lighten () in common css. */
73+@keyframes needs_attention_keyframes {
74+ 0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
75+ /* can't do animation-direction, so holding the color on two keyframes */
76+ 30% {background-image: linear-gradient(to bottom, @theme_base_color); border-color: @theme_fg_color; }
77+ 90% {background-image: linear-gradient(to bottom, @theme_base_color); border-color: @theme_fg_color; }
78+ 100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
79+}
80+.nautilus-operations-button-needs-attention {
81+ animation: needs_attention_keyframes 2s ease-in-out;
82+}
83+.nautilus-operations-button-needs-attention-multiple {
84+ animation: needs_attention_keyframes 3s ease-in-out;
85+ animation-iteration-count: 3;
86+}
87+
88+/* Floating status bar */
89+.floating-bar {
90+ padding: 2px;
91+ background-color: @theme_base_color;
92+ border-width: 1px;
93+ border-style: solid solid none;
94+ border-color: @borders;
95+ border-radius: 3px 3px 0 0;
96+}
97+
98+.floating-bar.bottom.left { /* axes left border and border radius */
99+ border-left-style: none;
100+ border-top-left-radius: 0;
101+}
102+.floating-bar.bottom.right { /* axes right border and border radius */
103+ border-right-style: none;
104+ border-top-right-radius: 0;
105+}
106+
107+.floating-bar:backdrop {
108+ background-color: @theme_unfocused_base_color;
109+ border-color: @unfocused_borders;
110+}
111+
112+.floating-bar .button {
113+ padding: 4px;
114+}
115+
116+.search-bar {
117+ box-shadow: none;
118+}
119+
120+@define-color disk_space_unknown #888a85;
121+@define-color disk_space_used #729fcf;
122+@define-color disk_space_free #eeeeec;
123+
124+.disk-space-display {
125+ border-style: solid;
126+ border-width: 2px;
127+}
128+
129+.disk-space-display.unknown {
130+ background-color: @disk_space_unknown;
131+ border-color: shade(@disk_space_unknown, 0.7);
132+}
133+
134+.disk-space-display.used {
135+ background-color: @disk_space_used;
136+ border-color: shade(@disk_space_used, 0.7);
137+}
138+
139+.disk-space-display.free {
140+ background-color: @disk_space_free;
141+ border-color: shade(@disk_space_free, 0.7);
142+}
143+
144+/* View */
145+NautilusListView .view {
146+ border-bottom: 1px solid @theme_bg_color;
147+}
148
149=== modified file 'Radiance/gtk-3.0/apps/nautilus.css'
150--- Radiance/gtk-3.0/apps/nautilus.css 2015-07-15 11:07:39 +0000
151+++ Radiance/gtk-3.0/apps/nautilus.css 2015-12-03 16:11:18 +0000
152@@ -1,33 +1,28 @@
153-NautilusWindow * {
154- -GtkPaned-handle-size: 1;
155-}
156-
157-NautilusDesktopWindow GtkWidget {
158- background-color: @transparent;
159-}
160-
161 .nautilus-canvas-item {
162- border-radius: 4px;
163-}
164-
165-/* desktop mode */
166+ border-radius: 5px;
167+}
168+
169+.nautilus-canvas-item.dim-label,
170+.nautilus-list-dim-label {
171+ color: mix (@theme_fg_color, @theme_bg_color, 0.50);
172+}
173+
174+.nautilus-canvas-item.dim-label:selected,
175+.nautilus-list-dim-label:selected {
176+ color: mix (@theme_selected_fg_color, @theme_selected_bg_color, 0.20);
177+}
178+
179 .nautilus-desktop.nautilus-canvas-item {
180- color: @bg_color;
181- text-shadow: 1px 1px alpha (#000000, 0.8);
182+ color: @theme_selected_fg_color;
183+ text-shadow: 1px 1px black;
184 }
185
186 .nautilus-desktop.nautilus-canvas-item:active {
187- background-image: none;
188- background-color: alpha (@bg_color, 0.84);
189-
190- color: @fg_color;
191+ color: @theme_text_color;
192 }
193
194 .nautilus-desktop.nautilus-canvas-item:selected {
195- background-image: none;
196- background-color: alpha (@selected_bg_color, 0.84);
197-
198- color: @selected_fg_color;
199+ color: @theme_selected_fg_color;
200 }
201
202 .nautilus-desktop.nautilus-canvas-item:active,
203@@ -35,3 +30,92 @@
204 .nautilus-desktop.nautilus-canvas-item:selected {
205 text-shadow: none;
206 }
207+
208+.nautilus-desktop.nautilus-canvas-item:selected:backdrop {
209+ color: @theme_unfocused_selected_fg_color;
210+}
211+
212+.nautilus-circular-button {
213+ border-radius: 20px;
214+ outline-radius: 20px;
215+}
216+
217+/* Toolbar */
218+
219+/* Here we use the .button background-image colors from Adwaita, but ligthen them,
220+ * since is not possible to use lighten () in common css. */
221+@keyframes needs_attention_keyframes {
222+ 0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
223+ /* can't do animation-direction, so holding the color on two keyframes */
224+ 30% {background-image: linear-gradient(to bottom, @theme_base_color); border-color: @theme_fg_color; }
225+ 90% {background-image: linear-gradient(to bottom, @theme_base_color); border-color: @theme_fg_color; }
226+ 100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
227+}
228+.nautilus-operations-button-needs-attention {
229+ animation: needs_attention_keyframes 2s ease-in-out;
230+}
231+.nautilus-operations-button-needs-attention-multiple {
232+ animation: needs_attention_keyframes 3s ease-in-out;
233+ animation-iteration-count: 3;
234+}
235+
236+/* Floating status bar */
237+.floating-bar {
238+ padding: 2px;
239+ background-color: @theme_base_color;
240+ border-width: 1px;
241+ border-style: solid solid none;
242+ border-color: @borders;
243+ border-radius: 3px 3px 0 0;
244+}
245+
246+.floating-bar.bottom.left { /* axes left border and border radius */
247+ border-left-style: none;
248+ border-top-left-radius: 0;
249+}
250+.floating-bar.bottom.right { /* axes right border and border radius */
251+ border-right-style: none;
252+ border-top-right-radius: 0;
253+}
254+
255+.floating-bar:backdrop {
256+ background-color: @theme_unfocused_base_color;
257+ border-color: @unfocused_borders;
258+}
259+
260+.floating-bar .button {
261+ padding: 4px;
262+}
263+
264+.search-bar {
265+ box-shadow: none;
266+}
267+
268+@define-color disk_space_unknown #888a85;
269+@define-color disk_space_used #729fcf;
270+@define-color disk_space_free #eeeeec;
271+
272+.disk-space-display {
273+ border-style: solid;
274+ border-width: 2px;
275+}
276+
277+.disk-space-display.unknown {
278+ background-color: @disk_space_unknown;
279+ border-color: shade(@disk_space_unknown, 0.7);
280+}
281+
282+.disk-space-display.used {
283+ background-color: @disk_space_used;
284+ border-color: shade(@disk_space_used, 0.7);
285+}
286+
287+.disk-space-display.free {
288+ background-color: @disk_space_free;
289+ border-color: shade(@disk_space_free, 0.7);
290+}
291+
292+/* View */
293+NautilusListView .view {
294+ border-bottom: 1px solid @theme_bg_color;
295+}

Subscribers

People subscribed via source and target branches