_nemo.scss
ASCII text
1
/**
2
* Nemo
3
*/
4
5
// based css:
6
// https://github.com/linuxmint/nemo/blob/master/gresources/nemo-style-fallback-mandatory.css
7
// https://github.com/linuxmint/nemo/blob/master/gresources/nemo-style-fallback.css
8
// hard-coded css:
9
// https://github.com/linuxmint/nemo/blob/master/gresources/nemo-style-application.css
10
11
.nemo-window {
12
.primary-toolbar {
13
border-bottom: 1px solid divider($on-surface);
14
15
// FIXME: workaround for hard-coded border-width of GtkEventBox for entry
16
stack > box {
17
margin: -2px;
18
}
19
20
// instead of .path-bar button
21
button.text-button {
22
padding-left: 8px;
23
padding-right: 8px;
24
}
25
26
// instead of .path-bar button.slider-button
27
button:not(.text-button):not(.image-button) {
28
padding-left: 4px;
29
padding-right: 4px;
30
}
31
}
32
33
scrolledwindow.frame {
34
border-style: none;
35
36
.view:not(:selected) {
37
background-color: transparent;
38
}
39
}
40
41
infobar {
42
// The ugly 6px spacing has been removed since 3.8.0
43
// margin-top: -6px;
44
}
45
46
// Inactive F3 pane shading
47
.nemo-inactive-pane .view:not(:selected) {
48
background-color: $base-alt;
49
}
50
51
// Rename entry styling in the icon view.
52
.nemo-window-pane widget.entry {
53
border-radius: $corner-radius;
54
background-color: entry-fill($on-surface);
55
56
&:selected {
57
background-color: $overlay-selected;
58
}
59
}
60
61
.toolbar button {
62
@extend %button-flat-activatable;
63
}
64
}
65
66
// For Places Sidebar diskfull indicators
67
.places-treeview {
68
-NemoPlacesTreeView-disk-full-bg-color: opacify(disabled-stroke($on-surface), $base-alt); // Can't use translucent colors
69
-NemoPlacesTreeView-disk-full-fg-color: $primary;
70
-NemoPlacesTreeView-disk-full-bar-width: 2px;
71
-NemoPlacesTreeView-disk-full-bar-radius: 0;
72
-NemoPlacesTreeView-disk-full-bottom-padding: 1px; // There is already hard-coded 1px bottom-padding
73
-NemoPlacesTreeView-disk-full-max-length: 80px;
74
}
75
76
.nemo-desktop.nemo-canvas-item {
77
@extend %iconview-desktop;
78
}
79