Mercurial > repos > other > Adwaita-Dark-Green
annotate gtk-3.20/nautilus.css @ 113:3a790d4649eb default tip
Fix GTK4/Adwaita outline and background issues
* Views are now used in popovers but shouldn't have
"normal" view background colour
* Flat buttons should be flat, not bordered/outlines
* Spinbuttons in lists don't need outlines on their buttons
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 May 2022 11:34:31 +0100 |
parents | 575609b1a6d8 |
children |
rev | line source |
---|---|
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
1 /* Based on https://github.com/GNOME/nautilus/tree/gnome-3.30/src/resources/css */ |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
2 |
51 | 3 .nautilus-window, |
4 .nautilus-window notebook, | |
5 .nautilus-window notebook > stack { | |
6 background: @theme_base_color; | |
7 } | |
8 | |
9 .nautilus-canvas-item { | |
10 border-radius: 5px; | |
11 } | |
12 | |
13 .nautilus-canvas-item.dim-label, | |
14 .nautilus-list-dim-label { | |
15 color: mix (@theme_fg_color, @theme_bg_color, 0.50); | |
16 } | |
17 | |
18 .nautilus-canvas-item.dim-label:selected, | |
19 .nautilus-list-dim-label:selected { | |
20 color: mix (@theme_selected_fg_color, @theme_selected_bg_color, 0.20); | |
21 } | |
22 | |
23 .nautilus-desktop.nautilus-canvas-item { | |
24 color: @theme_selected_fg_color; | |
25 text-shadow: 1px 1px black; | |
26 } | |
27 | |
28 .nautilus-desktop.nautilus-canvas-item:active { | |
29 color: @theme_text_color; | |
30 } | |
31 | |
32 .nautilus-desktop.nautilus-canvas-item:selected { | |
33 color: @theme_selected_fg_color; | |
34 } | |
35 | |
36 .nautilus-desktop.nautilus-canvas-item:active, | |
37 .nautilus-desktop.nautilus-canvas-item:hover, | |
38 .nautilus-desktop.nautilus-canvas-item:selected { | |
39 text-shadow: none; | |
40 } | |
41 | |
42 .nautilus-desktop.nautilus-canvas-item:selected:backdrop { | |
43 color: @theme_unfocused_selected_fg_color; | |
44 } | |
45 | |
46 /* Toolbar */ | |
47 | |
48 /* Here we use the .button background-image colors from Adwaita, but ligthen them, | |
49 * since is not possible to use lighten () in common css. */ | |
50 @keyframes needs_attention_keyframes { | |
59 | 51 0% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%, @button_emphasis_c); border-color: @wm_button_border; } |
51 | 52 /* can't do animation-direction, so holding the color on two keyframes */ |
59 | 53 30% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; } |
54 90% {background-image: linear-gradient(to bottom, @wm_bg_a, @wm_bg_b); border-color: @wm_button_border; } | |
55 100% {background-image: linear-gradient(to bottom, @button_emphasis_a, @button_emphasis_b 40%, @button_emphasis_c); border-color: @wm_button_border; } | |
51 | 56 } |
57 | |
58 .nautilus-operations-button-needs-attention { | |
59 animation: needs_attention_keyframes 2s ease-in-out; | |
60 } | |
61 .nautilus-operations-button-needs-attention-multiple { | |
62 animation: needs_attention_keyframes 3s ease-in-out; | |
63 animation-iteration-count: 3; | |
64 } | |
65 | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
66 .disclosure-button { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
67 padding: 4px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
68 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
69 |
90
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
70 /* New style path bar - Nautilus 3.30 */ |
78
d71147e95c97
Make Nautilus path bar changes only apply to new bar
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
71 .nautilus-window .path-bar:not(.linked) button, .nautilus-window .path-bar:not(.linked) button:checked, .nautilus-window .path-bar:not(.linked) button:active, .nautilus-window .path-bar:not(.linked) button:hover, |
90
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
72 .nautilus-window .path-bar:not(.linked) button:backdrop, .nautilus-window .path-bar:not(.linked) button:backdrop:checked, .nautilus-window .path-bar:not(.linked) button:backdrop:active, .nautilus-window .path-bar:not(.linked) button:backdrop:hover |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
73 { /* undecorate the buttons */ |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
74 background-image: none; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
75 background-color: transparent; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
76 border-radius: 0; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
77 border-width: 0px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
78 margin: 0px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
79 box-shadow: none; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
80 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
81 |
90
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
82 /* New new style path bar - Nautilus 3.32 */ |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
83 .nautilus-path-bar button, .nautilus-path-bar button:checked, .nautilus-path-bar button:active, .nautilus-path-bar button:hover, |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
84 .nautilus-path-bar button:backdrop, .nautilus-path-bar button:backdrop:checked, .nautilus-path-bar button:backdrop:active, .nautilus-path-bar button:backdrop:hover, |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
85 .nautilus-path-bar button:first-child { |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
86 margin: 0px; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
87 } |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
88 |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
89 .nautilus-window .width-maximized .nautilus-path-bar button, .nautilus-window .width-maximized .nautilus-path-bar button:checked, .nautilus-window .width-maximized .nautilus-path-bar button:active, .nautilus-window .width-maximized .nautilus-path-bar button:hover, |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
90 .nautilus-window .width-maximized .nautilus-path-bar button:backdrop, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:checked, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:active, .nautilus-window .width-maximized .nautilus-path-bar button:backdrop:hover, |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
91 .nautilus-window .width-maximized .nautilus-path-bar button:first-child |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
92 { |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
93 border-width: 0px; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
94 border-right: 1px solid @wm_button_border; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
95 box-shadow: none; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
96 } |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
97 |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
98 .nautilus-window .width-maximized .nautilus-path-bar button:last-child { |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
99 border-top-right-radius: 0; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
100 border-bottom-right-radius: 0; |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
101 } |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
102 |
88 | 103 .nautilus-window .path-bar:not(.linked) button:not(:checked) image, |
90
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
104 .nautilus-path-bar button:not(:checked) image |
88 | 105 { opacity: 0.8; } /* dim the icon when not checked */ |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
106 |
78
d71147e95c97
Make Nautilus path bar changes only apply to new bar
IBBoard <dev@ibboard.co.uk>
parents:
76
diff
changeset
|
107 .nautilus-window .path-bar:not(.linked) button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; } |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
108 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
109 .nautilus-window .path-bar-box { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
110 transition: border 200ms; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
111 transition: background-color 200ms; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
112 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
113 .nautilus-window .path-bar-box.width-maximized { |
81
1f04bdf9ee9d
Fix Nautilus path bar background
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
114 border: 1px @wm_button_border solid; |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
115 border-radius: 3px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
116 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
117 .nautilus-window .path-bar-box.width-maximized:not(:backdrop) { |
81
1f04bdf9ee9d
Fix Nautilus path bar background
IBBoard <dev@ibboard.co.uk>
parents:
78
diff
changeset
|
118 background-color: @wm_bg_a; |
90
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
119 /* Nautlis 3.30 should also have an inset shadow for the top, but we can't differentiate it from 3.32 that doesn't need it, so we'll do without */ |
575609b1a6d8
Update Nautilus 3.32+ to use button styles
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
120 box-shadow: 0 1px @button_emphasis_c; |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
121 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
122 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
123 /* Make the tags fit into the box */ |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
124 entry.search > * { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
125 margin: 5px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
126 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
127 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
128 /* Sidebar */ |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
129 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
130 .sidebar-row:selected { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
131 background: mix(@theme_bg_color, @theme_fg_color, 0.07); |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
132 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
133 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
134 .sidebar-row:selected, |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
135 .sidebar-row:selected label { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
136 color: mix(@theme_fg_color, @theme_text_color, 0.5); |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
137 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
138 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
139 .sidebar-row:selected:backdrop { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
140 background: mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.07); |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
141 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
142 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
143 .sidebar-row:selected:backdrop, |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
144 .sidebar-row:selected:backdrop label { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
145 color: mix(@theme_unfocused_fg_color, @theme_unfocused_text_color, 0.15); |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
146 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
147 |
51 | 148 /* Floating status bar */ |
149 .floating-bar { | |
150 padding: 1px; | |
151 background-color: @theme_base_color; | |
152 border-width: 1px; | |
153 border-style: solid solid none; | |
154 border-color: @borders; | |
155 border-radius: 3px 3px 0 0; | |
156 } | |
157 | |
158 .floating-bar.bottom.left { /* axes left border and border radius */ | |
159 border-left-style: none; | |
160 border-top-left-radius: 0; | |
161 } | |
162 .floating-bar.bottom.right { /* axes right border and border radius */ | |
163 border-right-style: none; | |
164 border-top-right-radius: 0; | |
165 } | |
166 | |
167 .floating-bar:backdrop { | |
168 background-color: @theme_unfocused_base_color; | |
169 border-color: @unfocused_borders; | |
170 } | |
171 | |
172 .floating-bar button { | |
173 padding: 0px; | |
174 } | |
175 | |
176 .search-bar { | |
177 box-shadow: none; | |
178 } | |
179 | |
180 @define-color disk_space_unknown #888a85; | |
181 @define-color disk_space_used #5E7F3E; | |
182 @define-color disk_space_free #eeeeec; | |
183 | |
184 .disk-space-display { | |
185 border-style: solid; | |
186 border-width: 2px; | |
187 } | |
188 | |
189 .disk-space-display.unknown { | |
190 background-color: @disk_space_unknown; | |
191 border-color: shade(@disk_space_unknown, 0.7); | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
192 color: @disk_space_unknown; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
193 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
194 .disk-space-display.unknown.border { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
195 color: shade(@disk_space_unknown, 0.7); |
51 | 196 } |
197 | |
198 .disk-space-display.used { | |
199 background-color: @disk_space_used; | |
200 border-color: shade(@disk_space_used, 0.7); | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
201 color: @disk_space_used; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
202 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
203 .disk-space-display.used.border { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
204 color: shade(@disk_space_used, 0.7); |
51 | 205 } |
206 | |
207 .disk-space-display.free { | |
208 background-color: @disk_space_free; | |
209 border-color: shade(@disk_space_free, 0.7); | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
210 color: @disk_space_free; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
211 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
212 .disk-space-display.free.border { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
213 color: shade(@disk_space_free, 0.7); |
51 | 214 } |
215 | |
216 /* View */ | |
217 .nautilus-list-view .view { | |
218 border-bottom: 1px solid @theme_bg_color; | |
219 } | |
220 | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
221 .search-information { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
222 background-color: @theme_selected_bg_color; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
223 color:@theme_selected_fg_color; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
224 padding:2px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
225 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
226 |
51 | 227 /* Hide superfluous treeview drop target indication */ |
228 .nautilus-list-view .view.dnd { | |
229 border-style: none; | |
230 } | |
231 | |
232 /* Libgd tag entries in the search. Sadly it requires this copy pasted css style. | |
233 * https://git.gnome.org/browse/libgd/tree/libgd/gd-tagged-entry-default.css | |
234 */ | |
235 @define-color entry_tag_bg #3465a4; | |
236 @define-color entry_tag_fg #ffffff; | |
237 | |
238 .documents-entry-tag { | |
239 background-image: none; | |
240 background-color: @entry_tag_bg; | |
241 color: @entry_tag_fg; | |
242 | |
243 border-radius: 4px; | |
244 border-width: 0; | |
245 | |
246 margin: 2px; | |
247 padding: 4px; | |
248 } | |
249 | |
250 .documents-entry-tag:hover { | |
251 background-color: shade(@entry_tag_bg, 1.10); | |
252 color: @entry_tag_fg; | |
253 } | |
254 | |
255 .documents-entry-tag.button, | |
256 .documents-entry-tag.button:hover, | |
257 .documents-entry-tag.button:active, | |
258 .documents-entry-tag.button:active:hover { | |
259 background-color: transparent; | |
260 background-image: none; | |
261 box-shadow: none; | |
262 border-image: none; | |
263 border-width: 0; | |
264 } | |
265 | |
266 .documents-entry-tag.button:hover { | |
267 color: shade(@entry_tag_bg, 2.10); | |
268 } | |
269 | |
270 /* Workaround for the double border of the searchbar since we use a revealer which | |
271 * always allocates at least 1 pixel */ | |
272 searchbar { border-top: 1px solid @borders; } | |
273 .searchbar-container { margin-top: -1px; } | |
274 | |
275 @define-color conflict_bg #fef6b6; | |
276 | |
277 .conflict-row { | |
278 background: @conflict_bg; | |
279 color: black; | |
280 } | |
281 | |
282 .conflict-row:hover { | |
283 background-color: shade(@conflict_bg, 0.9); | |
284 } | |
285 | |
286 .conflict-row:selected { | |
287 background: @theme_selected_bg_color; | |
288 color: @theme_selected_fg_color; | |
76
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
289 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
290 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
291 /* Icon view */ |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
292 flowboxchild:selected { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
293 background-color:transparent; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
294 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
295 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
296 .icon-background { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
297 background-color:black; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
298 border-color:#4a90d9; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
299 border-style:solid; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
300 border-width:0px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
301 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
302 |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
303 flowboxchild > .icon-item-background { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
304 padding:4px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
305 } |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
306 flowboxchild:selected > .icon-item-background { |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
307 padding:4px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
308 background-color:#4a90d9; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
309 border-color:#4a90d9; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
310 border-style:solid; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
311 border-width:0px; |
c4ae2e2a7157
Update to Nautilus 3.30-based stylesheet (with fixes)
IBBoard <dev@ibboard.co.uk>
parents:
59
diff
changeset
|
312 border-radius:4px 4px 4px 4px; |
51 | 313 } |