summaryrefslogtreecommitdiff
path: root/src/resources/css/Adwaita.css
blob: 6c00d959167ad8a8fd79b78138f3ac1b0e4ede9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
.nautilus-window,
.nautilus-window notebook,
.nautilus-window notebook > stack {
    background: @theme_base_color;
}

.nautilus-window.devel headerbar {
    background: #cbd2d9 -gtk-icontheme("system-run-symbolic") 70% 0/64px 64px no-repeat, linear-gradient(to top, #a5b1bd, #c5cdd5 2px, #cbd2d9 3px);
    box-shadow: inset 0 1px #f1f3f5;
    border-color: #909fae;
    color: rgba(46, 52, 54, 0.2);
}
.nautilus-window.devel headerbar > * {
    color: #2e3436;
}
.nautilus-window.devel headerbar > *:backdrop {
    color: #8b8e8f;
}
.nautilus-window.devel headerbar:backdrop {
    background-image: -gtk-icontheme("system-run-symbolic"), image(#cbd2d9);
    box-shadow: inset 0 1px #f1f3f5;
    color: rgba(139, 142, 143, 0.1);
}
.nautilus-window.devel headerbar button {
    color: #2e3436;
    outline-color: rgba(46, 52, 54, 0.3);
    border-color: #909fae;
    border-bottom-color: #738698;
    background-image: linear-gradient(to bottom, #cbd2d9, #bfc8d0 60%, #aeb9c3);
    text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
    -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.6);
}
.nautilus-window.devel headerbar button.flat,
.nautilus-window.devel headerbar button.titlebutton {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
}
.nautilus-window.devel headerbar button.titlebutton {
    text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
    -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
}
.nautilus-window.devel headerbar button:hover {
    color: #2e3436;
    outline-color: rgba(46, 52, 54, 0.3);
    border-color: #909fae;
    border-bottom-color: #738698;
    text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
    -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.6);
    background-image: linear-gradient(to bottom, #dde1e6, #cbd2d9 60%, #bfc8d0);
}
.nautilus-window.devel headerbar button:active,
.nautilus-window.devel headerbar button:checked {
    color: #2e3436;
    outline-color: rgba(46, 52, 54, 0.3);
    border-color: #909fae;
    background-image: image(#b9c3cc);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
}
.nautilus-window.devel headerbar button:disabled {
    border-color: #909fae;
    background-image: image(#d3d9df);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}
.nautilus-window.devel headerbar button:disabled label,
.nautilus-window.devel headerbar button:disabled {
    color: #8b8e8f;
}
.nautilus-window.devel headerbar button:backdrop {
    border-color: #cbd2d9;
    background-image: image(#cbd2d9);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    border-color: #909fae;
}
.nautilus-window.devel headerbar button:backdrop label,
.nautilus-window.devel headerbar button:backdrop {
    color: #8b8e8f;
}
.nautilus-window.devel headerbar button:backdrop:active {
    border-color: #bbc5ce;
    background-image: image(#bbc5ce);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    border-color: #909fae;
}
.nautilus-window.devel headerbar button:backdrop:active label,
.nautilus-window.devel headerbar button:backdrop:active {
        color: #8b8e8f;
}
.nautilus-window.devel headerbar button:backdrop:disabled {
    border-color: #d3d9df;
    background-image: image(#d3d9df);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    border-color: #909fae;
}
.nautilus-window.devel headerbar button:backdrop:disabled label,
.nautilus-window.devel headerbar button:backdrop:disabled {
    color: #999fa4;
}
.nautilus-window.devel headerbar button.flat:backdrop,
.nautilus-window.devel headerbar button.titlebutton:backdrop {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
}

.nautilus-canvas-item {
    border-radius: 5px;
}

.nautilus-canvas-item.dim-label,
.nautilus-list-dim-label {
    color: mix (@theme_fg_color, @theme_bg_color, 0.50);
}

.nautilus-canvas-item.dim-label:selected,
.nautilus-list-dim-label:selected {
    color: mix (@theme_selected_fg_color, @theme_selected_bg_color, 0.20);
}

/* Toolbar */

/* Here we use the .button background-image colors from Adwaita, but ligthen them,
 * since is not possible to use lighten () in common css. */
@keyframes needs_attention_keyframes {
    0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%,  #e0e0e0); border-color: @borders; }
    /* can't do animation-direction, so holding the color on two keyframes */
    30% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
    90% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
    100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%,  #e0e0e0); border-color: @borders; }
}

.nautilus-operations-button-needs-attention {
  animation: needs_attention_keyframes 2s ease-in-out;
}
.nautilus-operations-button-needs-attention-multiple {
  animation: needs_attention_keyframes 3s ease-in-out;
  animation-iteration-count: 3;
}

/* Floating status bar */
.floating-bar {
  padding: 1px;
  background-color: @theme_base_color;
  border-width: 1px;
  border-style: solid solid none;
  border-color: @borders;
  border-radius: 3px 3px 0 0;
}

.floating-bar.bottom.left { /* axes left border and border radius */
  border-left-style: none;
  border-top-left-radius: 0;
}
.floating-bar.bottom.right { /* axes right border and border radius */
  border-right-style: none;
  border-top-right-radius: 0;
}

.floating-bar:backdrop {
  background-color: @theme_unfocused_base_color;
  border-color: @unfocused_borders;
}

.floating-bar button {
  padding: 0px;
}

.search-bar {
    box-shadow: none;
}

button.thumbnail-button {
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-radius: 0px;
}

@define-color disk_space_unknown #888a85;
@define-color disk_space_used #729fcf;
@define-color disk_space_free #eeeeec;

.disk-space-display {
    border-style: solid;
    border-width: 2px;
}

.disk-space-display.unknown {
    background-color: @disk_space_unknown;
    border-color: shade(@disk_space_unknown, 0.7);
}

.disk-space-display.used {
    background-color: @disk_space_used;
    border-color: shade(@disk_space_used, 0.7);
}

.disk-space-display.free {
    background-color: @disk_space_free;
    border-color: shade(@disk_space_free, 0.7);
}

/* View */
.nautilus-list-view .view {
    border-bottom: 1px solid @theme_bg_color;
}

/* Hide superfluous treeview drop target indication */
.nautilus-list-view .view.dnd {
    border-style: none;
}

/* Workaround for the double border of the searchbar since we use a revealer which
 * always allocates at least 1 pixel */
searchbar { border-top: 1px solid @borders; }
.searchbar-container { margin-top: -1px; }

@define-color conflict_bg #fef6b6;

.conflict-row {
    background: @conflict_bg;
    color: black;
}

.conflict-row:hover {
    background-color: shade(@conflict_bg, 0.9);
}

.conflict-row:selected {
  background: @theme_selected_bg_color;
  color: @theme_selected_fg_color;
}

/* Icon view */
flowboxchild:selected{background-color:transparent;}

flowboxchild > widget > box > .icon-background {background-color:black; border-color:#4a90d9; border-style:solid; border-width:0px;}
flowboxchild:selected > widget > box > .icon-background {background-color:black; border-color:#4a90d9; border-style:solid; border-width:0px;}

flowboxchild > widget > .icon-item-background {padding:4px;}
flowboxchild:selected > widget > .icon-item-background {padding:4px; background-color:#4a90d9; border-color:#4a90d9; border-style:solid; border-width:0px; border-radius:4px 4px 4px 4px;}

/* Action bar */
actionbar
{
  border-top: 1px solid @borders;
  /* Same as sidebar_bg_color in gtk */
  background-color: mix(@theme_bg_color, @theme_base_color, 0.5);
}

.border-box
{
  border-width: 0px 0px 0px 1px;
  border-style: solid;
  border-color: @borders;
  /* Same as spacing between icons */
  padding-left: 6px;
}