-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathSourceSearch.module.css
More file actions
118 lines (108 loc) · 2.31 KB
/
SourceSearch.module.css
File metadata and controls
118 lines (108 loc) · 2.31 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.Outer {
padding: 0.25rem 0;
margin: 1px 5px 4px 5px;
}
.Container,
.ContainerFocused {
width: 100%;
border: 1px solid var(--background-color-contrast-2);
height: 1.75rem;
border: 2px solid var(--background-color-contrast-2);
overflow: hidden;
border-radius: 0.5rem;
display: flex;
}
.ContainerFocused {
border-color: var(--focus-ring-input);
}
.InputAndResults {
flex: 1 1 auto;
padding: 0 0.25rem;
display: flex;
align-items: center;
background-color: var(--background-color-contrast-2);
}
.SearchIcon {
width: 1.75rem;
height: 1.75rem;
padding: 0.25rem;
flex: 0 0 1.75rem;
display: inline-block;
color: var(--color-dim);
}
.Input {
width: 100%;
height: 1.75rem;
padding: 0 0.5ch;
background: none;
border: none;
outline: none;
background-color: var(--background-color-contrast-2);
color: var(--color-default);
font-family: var(--font-family-monospace);
font-size: var(--font-size-regular);
}
.Input:focus {
outline: none;
border: none;
box-shadow: none;
}
.Results {
user-select: none;
display: flex;
align-items: center;
gap: 0.5ch;
white-space: nowrap;
margin-left: 0.5ch;
padding: 0 0.5ch;
font-size: var(--font-size-small);
color: var(--color-dim);
}
.ResultsIconButton {
font-family: var(--font-family-monospace);
font-size: var(--font-size-regular);
display: flex;
align-items: center;
justify-content: center;
background: none;
border: none;
color: var(--color-dim);
padding: 0;
width: 1.5rem;
height: 1.5rem;
border-radius: 0.5rem;
border: 2px solid transparent;
outline: none;
}
.ResultsIconButton:focus {
border-color: var(--focus-ring-input);
}
.ResultsIconButton:hover:not(.ResultsIconButton:disabled):not(.ResultsIconButtonActive) {
color: var(--color-default);
}
.ResultsIconButton:disabled {
color: var(--color-dimmer);
}
.ResultsIconButtonActive {
color: var(--background-color-primary-button);
}
.ResultsIcon {
width: 1.5rem;
height: 1.5rem;
display: inline-block;
color: currentColor;
}
.Modifiers {
flex: 0 0 auto;
padding: 0 1ch;
gap: 1ch;
display: flex;
align-items: center;
background-color: var(--background-color-contrast-2);
border-left: 1px solid var(--background-color-default);
color: var(--color-dim);
user-select: none;
}
.WholeWordText {
text-decoration: underline;
}