forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearch.module.scss
71 lines (57 loc) · 1.3 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
68
69
70
71
.resultsContainer mark {
font-weight: bolder;
background: none;
color: inherit;
}
.searchResultContent mark {
font-weight: bolder;
}
.searchResultContent {
max-height: 4rem;
}
.resultsContainerHeader {
width: 0;
border-radius: 0 0 0 4px; // primer rounded-1
transition: width 0.3s ease-in-out;
}
.resultsContainerOpen.resultsContainerHeader {
width: 60vw;
max-width: 48rem;
}
.searchInput {
transition: width 0.3s ease-in-out;
}
.searchInputHeader {
width: 16rem;
}
.headerSearchOpen {
background: var(--color-primer-canvas-backdrop);
}
.searchInputExpanded {
width: 54vw;
max-width: 43rem;
}
.headerSearchResults {
max-height: 80vh;
}
.searchWording {
margin: 0.6rem 0 0.5rem 0.5rem;
}
.selectWording {
margin: 0.64rem 0.5rem 0 0;
}
.versionSearchContainer {
overflow: hidden;
}
// The value in the /cb-XXXXX prefix on the URL isn't important. It just
// needs to be unique so the asset can be cached in the CDN beyond
// every prod deployment.
// Just remember to change it if you change the image.
.searchIconBackground24 {
background: var(--color-canvas-default)
url("/assets/cb-303/images/octicons/search-24.svg") no-repeat 12px;
}
.searchIconBackground16 {
background: var(--color-canvas-default)
url("/assets/cb-262/images/octicons/search-16.svg") no-repeat 6px;
}