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

 _overview.scss

View raw Download
text/plain • 1.64 kiB
ASCII text
        
            
1
/* OVERVIEW */
2
3
#overview {
4
spacing: 24px;
5
background-color: transparent;
6
color: $on-dark;
7
8
StScrollBar {
9
@extend %scrollbar-on-dark;
10
}
11
}
12
13
.overview-controls {
14
padding-bottom: 32px;
15
}
16
17
%overview-panel {
18
transition-duration: $duration-panel;
19
border: 0;
20
background-color: fill($on-dark);
21
color: $on-dark;
22
}
23
24
%overview-status-text {
25
@include type(headline3);
26
color: disabled($on-dark);
27
}
28
29
%overview-item {
30
@extend %-overview-item;
31
32
&:focus {
33
@extend %-overview-item-focus;
34
}
35
36
&:hover,
37
&:selected {
38
@extend %-overview-item-hover;
39
}
40
41
&:active,
42
&:checked {
43
@extend %-overview-item-active;
44
}
45
}
46
47
%overview-icon {
48
.overview-icon {
49
@extend %-overview-item;
50
}
51
52
&:focus {
53
.overview-icon {
54
@extend %-overview-item-focus;
55
}
56
}
57
58
&:drop,
59
&:hover,
60
&:selected {
61
.overview-icon {
62
@extend %-overview-item-hover;
63
}
64
}
65
66
&:active,
67
&:checked {
68
.overview-icon {
69
@extend %-overview-item-active;
70
}
71
}
72
}
73
74
%-overview-item {
75
padding: 6px;
76
border: 0;
77
border-radius: $corner-radius;
78
background-color: transparent;
79
color: inherit;
80
text-align: center;
81
transition-duration: $duration;
82
}
83
84
%-overview-item-focus {
85
border-image: none;
86
background-image: none;
87
background-color: overlay("focus", $on-dark);
88
color: inherit;
89
transition-duration: 0ms;
90
}
91
92
%-overview-item-hover {
93
border-image: none;
94
background-image: none;
95
background-color: overlay("hover", $on-dark);
96
color: inherit;
97
transition-duration: 0ms;
98
}
99
100
%-overview-item-active {
101
box-shadow: none;
102
background-color: overlay("pressed", $on-dark);
103
color: inherit;
104
transition-duration: $duration-ripple;
105
}
106