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 • 2.29 kiB
ASCII text
        
            
1
/* OVERVIEW */
2
3
@use "../../../../theme";
4
@use "../../../../theme-color";
5
@use "../../../../st-theme";
6
@use "../../gnome-shell";
7
@use "../../drawing";
8
@use "../base/scrollbar";
9
10
@if gnome-shell.$version >= 40 {
11
.controls-manager,
12
.secondary-monitor-workspaces {
13
spacing: 16px;
14
}
15
16
#overviewGroup {
17
background-color: theme-color.$system;
18
color: theme-color.$on-system;
19
20
StScrollBar {
21
@extend %scrollbar-on-dark;
22
}
23
}
24
} @else {
25
#overview {
26
spacing: 24px;
27
background-color: transparent;
28
color: theme-color.$on-dark;
29
30
StScrollBar {
31
@extend %scrollbar-on-dark;
32
}
33
}
34
35
.overview-controls {
36
padding-bottom: 32px;
37
}
38
}
39
40
%overview-panel {
41
transition-duration: st-theme.$duration-panel;
42
border: 0;
43
background-color: theme-color.fill(theme-color.$on-dark);
44
color: theme-color.$on-dark;
45
}
46
47
%overview-status-text {
48
@include drawing.type(headline3);
49
color: theme-color.disabled(theme-color.$on-dark);
50
}
51
52
%overview-item {
53
@extend %-overview-item;
54
55
&:focus {
56
@extend %-overview-item-focus;
57
}
58
59
&:hover,
60
&:selected {
61
@extend %-overview-item-hover;
62
}
63
64
&:active,
65
&:checked {
66
@extend %-overview-item-active;
67
}
68
}
69
70
%overview-icon {
71
.overview-icon {
72
@extend %-overview-item;
73
}
74
75
&:focus {
76
.overview-icon {
77
@extend %-overview-item-focus;
78
}
79
}
80
81
&:drop,
82
&:hover,
83
&:selected {
84
.overview-icon {
85
@extend %-overview-item-hover;
86
}
87
}
88
89
&:active,
90
&:checked {
91
.overview-icon {
92
@extend %-overview-item-active;
93
}
94
}
95
}
96
97
%-overview-item {
98
padding: 6px;
99
border: 0;
100
border-radius: theme.$corner-radius;
101
background-color: transparent;
102
color: inherit;
103
text-align: center;
104
transition-duration: st-theme.$duration;
105
}
106
107
%-overview-item-focus {
108
border-image: none;
109
background-image: none;
110
background-color: theme-color.focus-overlay(theme-color.$on-dark);
111
color: inherit;
112
transition-duration: 0ms;
113
}
114
115
%-overview-item-hover {
116
border: 0;
117
border-image: none;
118
background-image: none;
119
background-color: theme-color.hover-overlay(theme-color.$on-dark);
120
color: inherit;
121
transition-duration: 0ms;
122
}
123
124
%-overview-item-active {
125
box-shadow: none;
126
background-color: theme-color.pressed-overlay(theme-color.$on-dark);
127
color: inherit;
128
transition-duration: st-theme.$duration-ripple;
129
}
130