-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlistbox.css
81 lines (66 loc) · 1.54 KB
/
listbox.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
.list-box {
-webkit-app-region: no-drag;
background: var(--background-modifier-form-field);
border: var(--input-border-width) solid var(--background-modifier-border);
color: var(--text-normal);
font-family: inherit;
font-size: var(--font-ui-small);
border-radius: var(--input-radius);
outline: none;
min-width: 128px;
overflow: hidden;
}
.list-item {
display: flex;
margin: 0 0;
padding: var(--size-2-1) var(--size-4-2);
font-size: var(--font-ui-smaller);
white-space: nowrap;
word-break: keep-all;
align-items: center;
gap: var(--size-2-1);
}
.list-item:focus, .list-item.active {
background: var(--text-selection);
}
.list-box:focus .list-item:focus, .list-box:focus .list-item.active {
background: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
color: var(--text-on-accent);
}
.list-item hr {
margin: 0;
}
.list-box-viewport {
flex: 1;
}
.icon-button:hover {
background: var(--text-selection);
}
textarea.command-editor {
resize: vertical;
width: 100%;
font-family: var(--font-monospace-theme), monospace;
}
.button-group {
display: flex;
flex-direction: row;
padding: 0 var(--size-4-2);
align-items: center;
width: 100%;
background: var(--color-base-20);
}
.button-group .icon-button {
background: none;
border: none;
box-shadow: none;
line-height: 1em;
/*padding: var(--size-2-2);*/
}
.flex {
display: flex;
flex-direction: row;
gap: var(--size-2-2);
}
.fill {
flex: 1;
}