-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathSidebar.scss
More file actions
65 lines (54 loc) · 995 Bytes
/
Sidebar.scss
File metadata and controls
65 lines (54 loc) · 995 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
53
54
55
56
57
58
59
60
61
62
63
64
65
@use "../../styles/partials/vars" as *;
@use "../../styles/partials/mixins" as *;
@use "../../styles/partials/functions" as *;
.sidebar {
display: none;
width: 100%;
max-width: 280px;
will-change: transform;
@include break {
display: block;
}
}
.sidebar__inner {
padding: 1.5em;
position: sticky;
top: -1px;
overflow-y: auto;
max-height: 100vh;
}
.sidebar__group {
margin-top: 1.5em;
margin-left: 0.15em;
text-transform: capitalize;
font-size: getFontSize(1);
font-family: $font-stack-heading;
color: getColor(elephant);
}
.sidebar__shields {
display: flex;
flex-wrap: wrap;
a {
margin-right: 6px;
img {
height: 20px;
}
&:last-child {
margin: 0;
}
}
}
.sidebar__docs-version {
color: getColor(emperor);
border-top: 1px solid getColor(concrete);
margin-top: 12px;
padding-top: 12px;
font-size: 15px;
ul {
margin-top: 12px;
li {
margin-top: 6px;
list-style: none;
}
}
}