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