-
Notifications
You must be signed in to change notification settings - Fork 192
Expand file tree
/
Copy pathindex.module.scss
More file actions
52 lines (45 loc) · 857 Bytes
/
index.module.scss
File metadata and controls
52 lines (45 loc) · 857 Bytes
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
@use '@scss/common.scss' as *;
.docSearch {
position: relative;
min-width: 20px;
:global(.DocSearch-Button) {
padding: 0;
margin: 0;
}
}
.blogResult {
:global(.DocSearch-Hit-path) {
color: inherit;
&::before {
content: 'Blog - ';
}
}
:global(.DocSearch-Hit-icon) {
&::before {
content: '\2636';
font-size: 25px;
display: flex;
align-items: center;
transform: translateY(2px);
}
& svg {
display: none;
}
.searchWrapper {
position: relative;
}
.versionBadge {
position: absolute;
top: -8px;
right: -4px;
background-color: #f59e0b;
color: #000;
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 4px;
pointer-events: none;
white-space: nowrap;
}
}
}