-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreferences.css
More file actions
81 lines (70 loc) · 2.05 KB
/
preferences.css
File metadata and controls
81 lines (70 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/* Making the sidebar in settings page compact and expand on hover */
@media -moz-pref("compact-settings.enabled") {
@-moz-document url-prefix("about:preferences"), url-prefix("about:settings") {
#preferences-stack {
vbox.navigation {
position: absolute !important;
height: 100vh !important;
z-index: 20 !important;
width: auto !important;
padding: 10px !important;
#searchInput,
#categories,
vbox.sidebar-footer-list {
@media -moz-pref("compact-settings.animation.enabled") {
transition: width 150ms ease-in-out !important;
}
width: 40px !important;
white-space: nowrap !important;
}
#categories,
vbox.sidebar-footer-list {
overflow-x: hidden !important;
}
.sidebar-footer-label {
@media -moz-pref("compact-settings.animation.enabled") {
transition: opacity 150ms ease-in-out !important;
}
opacity: 0 !important;
}
#searchInput {
margin: 20px 0 !important;
padding-left: 12px !important;
}
#categories {
margin: 0 !important;
padding: 0 !important;
.category {
margin-left: 10px !important;
padding: 0 8px !important;
width: 250px !important;
&[selected="true"] {
color: var(--zen-primary-color) !important;
}
}
}
vbox.sidebar-footer-list {
margin-left: 13px !important;
.sidebar-footer-icon {
margin: 0 8px !important;
scale: 1.4 !important;
}
.sidebar-footer-label {
font-size: 16px !important;
}
}
&:has(#searchInput:focus),
&:hover {
#categories,
#searchInput,
.sidebar-footer-list {
width: 250px !important;
}
.sidebar-footer-label {
opacity: 1 !important;
}
}
}
}
}
}