A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _nemo.scss

View raw Download
text/plain • 1.99 kiB
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
background-color: transparent;
36
37
.view:not(:selected) {
38
// background-color: transparent;
39
}
40
}
41
42
infobar {
43
// The ugly 6px spacing has been removed since 3.8.0
44
// margin-top: -6px;
45
}
46
47
// Inactive F3 pane shading
48
.nemo-inactive-pane .view:not(:selected) {
49
// background-color: $surface-z0;
50
}
51
52
// Rename entry styling in the icon view.
53
.nemo-window-pane widget.entry {
54
border-radius: $corner-radius;
55
background-color: entry-fill($on-surface);
56
57
&:selected {
58
background-color: $overlay-selected;
59
}
60
}
61
62
.toolbar button {
63
@extend %button-flat-activatable;
64
}
65
}
66
67
// For Places Sidebar diskfull indicators
68
.places-treeview {
69
-NemoPlacesTreeView-disk-full-bg-color: opacify(disabled-stroke($on-surface), $surface-z0); // Can't use translucent colors
70
-NemoPlacesTreeView-disk-full-fg-color: $primary;
71
-NemoPlacesTreeView-disk-full-bar-width: 2px;
72
-NemoPlacesTreeView-disk-full-bar-radius: 0;
73
-NemoPlacesTreeView-disk-full-bottom-padding: 1px; // There is already hard-coded 1px bottom-padding
74
-NemoPlacesTreeView-disk-full-max-length: 80px;
75
}
76
77
.nemo-desktop.nemo-canvas-item {
78
@extend %iconview-desktop;
79
}
80