forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease-notes.scss
49 lines (42 loc) · 912 Bytes
/
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
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: $gray-400;
}
&.list-style-none::marker {
content: '';
}
}
.release-notes-section-heading {
font-size: 15px !important;
}
details[open].release-notes-version-picker summary .octicon.octicon-chevron-down {
transform: rotate(180deg);
}
.js-release-notes-patch-link {
&.selected {
background-color: $blue-100;
}
}
$colors-list:(
features: #05a88b,
bugs: #ec8c1c,
known_issues: #4f6db3,
security_fixes: #e53e72,
changes: #69b378,
deprecations: #9a62a3,
backups: #e9694c
);
@each $key,$val in $colors-list{
.release-notes-section-#{$key} {
.release-notes-section-label {
background-color: #{$val};
}
.release-notes-section-heading {
color: #{$val};
}
}
}