-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
94 lines (79 loc) · 1.55 KB
/
styles.css
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
82
83
84
85
86
87
88
89
90
91
92
93
94
:root {
--base-text-color: #495057;
--base-bg-color: #fff;
--text-active-color: #3b82f6;
--text-error-color: #e24c4c;
--active-bg-color: #fafafa;
}
@media (prefers-color-scheme: dark) {
:root {
--base-text-color: rgba(255, 255, 255, 0.87);
--base-bg-color: #040d19;
--text-active-color: #93c5fd;
--text-error-color: #e24c4c;
--active-bg-color: #1d2530;
}
}
* {
box-sizing: border-box;
}
body {
font-size: 14px;
line-height: 1.5;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
color: var(--base-text-color);
background-color: var(--base-bg-color);
margin: 0;
}
.wrapper {
width: 230px;
max-width: 100%;
padding: 10px;
max-height: 450px;
overflow: auto;
}
/* Extensions list */
.extensions {
display: flex;
flex-direction: column;
list-style: none;
margin: -10px;
padding: 0;
}
.extensions__item {
display: flex;
width: 100%;
padding: 5px;
cursor: pointer;
align-items: center;
gap: 5px;
}
.extensions__item:hover {
background: var(--active-bg-color);
}
.extensions__item--active {
color: var(--text-active-color);
}
.extensions__item--active .extensions__icon {
filter: grayscale(0);
}
.extensions__icon {
width: 16px;
height: auto;
border: 0;
object-fit: contain;
filter: grayscale(1);
}
.extensions__name {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
/* Note */
.note {
font-weight: bold;
padding: 5px 0;
}
.note--error {
color: var(--text-error-color);
}