forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Search.module.scss
67 lines (59 loc) · 1.09 KB
/
Search.module.scss
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
.resultsContainer mark {
background: none;
color: inherit;
}
.searchResultTitle mark {
color: var(--color-text-link);
}
.searchResultIntro mark {
border-bottom: 1px solid currentColor;
}
.searchResultContent mark {
text-decoration: none;
border-bottom: 1px dotted currentColor;
}
.searchResultTitle em {
font-style: normal;
text-decoration: underline;
}
.resultsContainerOverlay {
display: none;
position: absolute;
top: 0;
right: 0;
width: 0;
border-radius: 3px;
background: var(--color-bg-primary);
box-shadow: 0 1px 15px rgba(0, 0, 0, 0.15);
transition: width 0.3s ease-in-out;
padding-top: 64px;
}
.resultsContainerOpen {
display: block;
}
.resultsContainerOpen.resultsContainerOverlay {
width: 60vw;
max-width: 760px;
}
.searchInput {
transition: width 0.3s ease-in-out;
}
.searchInputOverlay {
max-width: 690px;
width: 256px;
}
.searchInputExpanded {
width: 55vw;
position: absolute;
right: 0;
top: 0;
}
.searchOverlayOpen {
background: var(--color-bg-backdrop);
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
}