-
Notifications
You must be signed in to change notification settings - Fork 67.2k
Expand file tree
/
Copy pathHeader.module.scss
More file actions
59 lines (49 loc) · 1.28 KB
/
Header.module.scss
File metadata and controls
59 lines (49 loc) · 1.28 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
@import "@primer/css/support/variables/layout.scss";
@import "@primer/css/support/mixins/layout.scss";
@import "src/frame/stylesheets/breakpoint-xxl.scss";
.header {
display: unset;
}
// Contains the logo and version picker and used when the smaller width search
// input UI is closed.
.logoWithClosedSearch {
display: flex;
align-items: center;
color: var(--color-bg-default);
}
// Contains the logo and version picker and used when the smaller width search
// input UI is open (where we don't show the logo or version picker). As the
// width increases to md and above and search no longer takes up the whole header
// width, we show the logo and version picker.
.logoWithOpenSearch {
display: none;
@include breakpoint(md) {
display: flex;
align-items: center;
color: var(--color-bg-default);
}
}
// Prevent the ... menu from still showing if someone opens it and then widens
// their browser to lg.
.menuOverlay {
min-width: 20rem;
@include breakpoint(lg) {
display: none;
}
}
.displayOverLarge {
display: none;
visibility: none;
@include breakpoint(lg) {
display: flex !important;
visibility: visible !important;
}
}
.dialog {
@include breakpoint-xxl {
display: none;
}
[class*="prc-Dialog-Body"] {
padding: 0 !important;
}
}