forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease-notes.scss
56 lines (48 loc) · 1.16 KB
/
release-notes.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
ul.release-notes-list li.release-notes-list-item {
font-size: 15px !important;
&::marker {
// `• `
content: "\2022\00a0\00a0\00a0\00a0";
font-size: 1.6em;
color: var(--color-auto-gray-4);
}
&.list-style-none::marker {
content: "";
}
}
.release-notes-section-heading {
font-size: 15px !important;
scroll-margin-top: 280px !important;
@include breakpoint(sm) {
scroll-margin-top: 200px !important;
}
}
details[open].release-notes-version-picker
summary
.octicon.octicon-chevron-down {
transform: rotate(180deg);
}
.js-release-notes-patch-link {
&.selected {
background-color: var(--color-auto-blue-1);
}
}
$colors-list: (
features: var(--color-auto-green-5),
bugs: var(--color-auto-yellow-5),
known_issues: var(--color-auto-blue-5),
security_fixes: var(--color-auto-pink-5),
changes: var(--color-auto-green-5),
deprecations: var(--color-auto-purple-5),
backups: var(--color-auto-orange-5),
);
@each $key, $val in $colors-list {
.release-notes-section-#{$key} {
.release-notes-section-label {
background-color: #{$val};
}
.release-notes-section-heading {
color: #{$val};
}
}
}