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