jekyll-rtd-theme 1.1.8 → 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +23 -65
- data/_includes/addons/analytics.liquid +4 -4
- data/_includes/addons/github.liquid +7 -10
- data/_includes/breadcrumbs.liquid +27 -0
- data/_includes/extend/list.liquid +2 -2
- data/_includes/{reset → extend}/tabs.liquid +0 -0
- data/_includes/extend/toctree.liquid +6 -5
- data/_includes/footer.liquid +36 -0
- data/_includes/reset/defaults.liquid +25 -60
- data/_includes/reset/workdir.liquid +1 -0
- data/_includes/safe/shortcodes.liquid +9 -0
- data/_includes/shortcodes/danger.liquid +3 -2
- data/_includes/shortcodes/note.liquid +3 -2
- data/_includes/shortcodes/tip.liquid +3 -2
- data/_includes/shortcodes/warning.liquid +3 -2
- data/_includes/{class/_toctree.liquid → toctree.liquid} +2 -2
- data/_layouts/default.liquid +182 -23
- data/_layouts/plugins/extension.liquid +6 -8
- data/_sass/@primer/base/base.scss +90 -0
- data/_sass/@primer/base/index.scss +6 -0
- data/_sass/@primer/base/kbd.scss +21 -0
- data/_sass/@primer/base/normalize.scss +423 -0
- data/_sass/@primer/base/typography-base.scss +100 -0
- data/_sass/@primer/breadcrumb/breadcrumb.scss +28 -0
- data/_sass/@primer/breadcrumb/index.scss +3 -0
- data/_sass/@primer/buttons/button-group.scss +91 -0
- data/_sass/@primer/buttons/button.scss +296 -0
- data/_sass/@primer/buttons/index.scss +4 -0
- data/_sass/@primer/buttons/misc.scss +205 -0
- data/_sass/@primer/forms/form-control.scss +278 -0
- data/_sass/@primer/forms/form-group.scss +279 -0
- data/_sass/@primer/forms/form-select.scss +38 -0
- data/_sass/@primer/forms/form-validation.scss +369 -0
- data/_sass/@primer/forms/index.scss +7 -0
- data/_sass/@primer/forms/input-group.scss +53 -0
- data/_sass/@primer/forms/radio-group.scss +43 -0
- data/_sass/@primer/markdown/blob-csv.scss +31 -0
- data/_sass/@primer/markdown/code.scss +73 -0
- data/_sass/@primer/markdown/headings.scss +72 -0
- data/_sass/@primer/markdown/images.scss +131 -0
- data/_sass/@primer/markdown/index.scss +8 -0
- data/_sass/@primer/markdown/lists.scss +76 -0
- data/_sass/@primer/markdown/markdown-body.scss +99 -0
- data/_sass/@primer/markdown/tables.scss +38 -0
- data/_sass/@primer/support/index.scss +11 -0
- data/_sass/@primer/support/mixins/buttons.scss +184 -0
- data/_sass/@primer/support/mixins/layout.scss +55 -0
- data/_sass/@primer/support/mixins/misc.scss +32 -0
- data/_sass/@primer/support/mixins/typography.scss +88 -0
- data/_sass/@primer/support/variables/color-system.scss +243 -0
- data/_sass/@primer/support/variables/colors.scss +55 -0
- data/_sass/@primer/support/variables/layout.scss +149 -0
- data/_sass/@primer/support/variables/misc.scss +42 -0
- data/_sass/@primer/support/variables/typography.scss +43 -0
- data/_sass/@primer/utilities/animations.scss +187 -0
- data/_sass/@primer/utilities/borders.scss +184 -0
- data/_sass/@primer/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/utilities/colors.scss +185 -0
- data/_sass/@primer/utilities/details.scss +34 -0
- data/_sass/@primer/utilities/flexbox.scss +121 -0
- data/_sass/@primer/utilities/index.scss +14 -0
- data/_sass/@primer/utilities/layout.scss +134 -0
- data/_sass/@primer/utilities/margin.scss +68 -0
- data/_sass/@primer/utilities/padding.scss +59 -0
- data/_sass/@primer/utilities/typography.scss +325 -0
- data/_sass/@primer/utilities/visibility-display.scss +82 -0
- data/_sass/_font-face.scss +65 -0
- data/_sass/_icons.scss +53 -0
- data/_sass/_layout.scss +76 -0
- data/_sass/_reset.scss +21 -0
- data/_sass/_root.scss +9 -0
- data/_sass/_variables.scss +29 -0
- data/_sass/class/addons-wrap.scss +39 -0
- data/_sass/class/container.scss +11 -0
- data/_sass/class/content-wrap.scss +4 -0
- data/_sass/class/header.scss +10 -0
- data/_sass/{highlight.scss → class/highlight.scss} +0 -0
- data/_sass/class/markdown-body.scss +49 -0
- data/_sass/class/sidebar-wrap.scss +72 -0
- data/_sass/class/title.scss +13 -0
- data/_sass/theme.scss +26 -12
- data/assets/404.liquid +1 -3
- data/assets/css/theme.min.css +1 -4
- data/assets/css/theme.scss +4 -0
- data/assets/js/mermaid.min.js +6 -5
- data/assets/js/search.js +90 -0
- data/assets/js/theme.js +55 -121
- data/assets/js/theme.min.js +1 -1
- data/assets/search.liquid +9 -1
- metadata +74 -25
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/class/_breadcrumbs.liquid +0 -28
- data/_includes/class/_footer.liquid +0 -38
- data/_includes/class/rst-versions.liquid +0 -22
- data/_includes/class/wy-nav-content.liquid +0 -15
- data/_includes/class/wy-nav-side.liquid +0 -18
- data/_includes/class/wy-nav-top.liquid +0 -8
- data/_includes/extra/footer.html +0 -0
- data/_includes/extra/head.html +0 -0
- data/_includes/node/links.liquid +0 -24
- data/_includes/node/metadata.liquid +0 -21
- data/_includes/node/script.extension.liquid +0 -29
- data/_includes/node/script.liquid +0 -20
- data/_includes/node/script.schema.liquid +0 -27
- data/_includes/node/title.liquid +0 -1
- data/_includes/reset/i18n.liquid +0 -1
@@ -0,0 +1,187 @@
|
|
1
|
+
// This file contains reusable animations for github.
|
2
|
+
|
3
|
+
/* Fade in an element */
|
4
|
+
.anim-fade-in {
|
5
|
+
animation-name: fade-in;
|
6
|
+
animation-duration: 1s;
|
7
|
+
animation-timing-function: ease-in-out;
|
8
|
+
|
9
|
+
&.fast {
|
10
|
+
animation-duration: 300ms;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@keyframes fade-in {
|
15
|
+
0% {
|
16
|
+
opacity: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
100% {
|
20
|
+
opacity: 1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Fade out an element */
|
25
|
+
.anim-fade-out {
|
26
|
+
animation-name: fade-out;
|
27
|
+
animation-duration: 1s;
|
28
|
+
animation-timing-function: ease-out;
|
29
|
+
|
30
|
+
&.fast {
|
31
|
+
animation-duration: 0.3s;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@keyframes fade-out {
|
36
|
+
0% {
|
37
|
+
opacity: 1;
|
38
|
+
}
|
39
|
+
|
40
|
+
100% {
|
41
|
+
opacity: 0;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Fade in and slide up an element */
|
46
|
+
.anim-fade-up {
|
47
|
+
opacity: 0;
|
48
|
+
animation-name: fade-up;
|
49
|
+
animation-duration: 0.3s;
|
50
|
+
animation-fill-mode: forwards;
|
51
|
+
animation-timing-function: ease-out;
|
52
|
+
animation-delay: 1s;
|
53
|
+
}
|
54
|
+
|
55
|
+
@keyframes fade-up {
|
56
|
+
0% {
|
57
|
+
opacity: 0.8;
|
58
|
+
transform: translateY(100%);
|
59
|
+
}
|
60
|
+
|
61
|
+
100% {
|
62
|
+
opacity: 1;
|
63
|
+
transform: translateY(0);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
/* Fade an element out and slide down */
|
68
|
+
.anim-fade-down {
|
69
|
+
animation-name: fade-down;
|
70
|
+
animation-duration: 0.3s;
|
71
|
+
animation-fill-mode: forwards;
|
72
|
+
animation-timing-function: ease-in;
|
73
|
+
}
|
74
|
+
|
75
|
+
@keyframes fade-down {
|
76
|
+
0% {
|
77
|
+
opacity: 1;
|
78
|
+
transform: translateY(0);
|
79
|
+
}
|
80
|
+
|
81
|
+
100% {
|
82
|
+
opacity: 0.5;
|
83
|
+
transform: translateY(100%);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
/* Grow an element width from 0 to 100% */
|
88
|
+
.anim-grow-x {
|
89
|
+
width: 0%;
|
90
|
+
animation-name: grow-x;
|
91
|
+
animation-duration: 0.3s;
|
92
|
+
animation-fill-mode: forwards;
|
93
|
+
animation-timing-function: ease;
|
94
|
+
animation-delay: 0.5s;
|
95
|
+
}
|
96
|
+
|
97
|
+
@keyframes grow-x {
|
98
|
+
to {
|
99
|
+
width: 100%;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
/* Shrink an element from 100% to 0% */
|
104
|
+
.anim-shrink-x {
|
105
|
+
animation-name: shrink-x;
|
106
|
+
animation-duration: 0.3s;
|
107
|
+
animation-fill-mode: forwards;
|
108
|
+
animation-timing-function: ease-in-out;
|
109
|
+
animation-delay: 0.5s;
|
110
|
+
}
|
111
|
+
|
112
|
+
@keyframes shrink-x {
|
113
|
+
to {
|
114
|
+
width: 0%;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
/* Fade in an element and scale it fast */
|
119
|
+
.anim-scale-in {
|
120
|
+
animation-name: scale-in;
|
121
|
+
animation-duration: 0.15s;
|
122
|
+
animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
|
123
|
+
}
|
124
|
+
|
125
|
+
@keyframes scale-in {
|
126
|
+
0% {
|
127
|
+
opacity: 0;
|
128
|
+
transform: scale(0.5);
|
129
|
+
}
|
130
|
+
|
131
|
+
100% {
|
132
|
+
opacity: 1;
|
133
|
+
transform: scale(1);
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Pulse an element's opacity */
|
138
|
+
.anim-pulse {
|
139
|
+
animation-name: pulse;
|
140
|
+
animation-duration: 2s;
|
141
|
+
animation-timing-function: linear;
|
142
|
+
animation-iteration-count: infinite;
|
143
|
+
}
|
144
|
+
|
145
|
+
@keyframes pulse {
|
146
|
+
0% {
|
147
|
+
opacity: 0.3;
|
148
|
+
}
|
149
|
+
|
150
|
+
10% {
|
151
|
+
opacity: 1;
|
152
|
+
}
|
153
|
+
|
154
|
+
100% {
|
155
|
+
opacity: 0.3;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
/* Pulse in an element */
|
160
|
+
.anim-pulse-in {
|
161
|
+
animation-name: pulse-in;
|
162
|
+
animation-duration: 0.5s;
|
163
|
+
}
|
164
|
+
|
165
|
+
@keyframes pulse-in {
|
166
|
+
0% {
|
167
|
+
transform: scale3d(1, 1, 1);
|
168
|
+
}
|
169
|
+
|
170
|
+
50% {
|
171
|
+
transform: scale3d(1.1, 1.1, 1.1);
|
172
|
+
}
|
173
|
+
|
174
|
+
100% {
|
175
|
+
transform: scale3d(1, 1, 1);
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
/* Increase scale of an element on hover */
|
180
|
+
.hover-grow {
|
181
|
+
transition: transform 0.3s;
|
182
|
+
backface-visibility: hidden;
|
183
|
+
|
184
|
+
&:hover {
|
185
|
+
transform: scale(1.025);
|
186
|
+
}
|
187
|
+
}
|
@@ -0,0 +1,184 @@
|
|
1
|
+
// Core border utilities
|
2
|
+
// stylelint-disable block-opening-brace-space-before, comment-empty-line-before
|
3
|
+
|
4
|
+
/* Add a gray border to the left and right */
|
5
|
+
.border-x {
|
6
|
+
border-right: $border !important;
|
7
|
+
border-left: $border !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* Add a gray border to the top and bottom */
|
11
|
+
.border-y {
|
12
|
+
border-top: $border !important;
|
13
|
+
border-bottom: $border !important;
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Responsive gray borders */
|
17
|
+
@each $breakpoint, $variant in $responsive-variants {
|
18
|
+
@include breakpoint($breakpoint) {
|
19
|
+
/* Add a gray border on all sides at/above this breakpoint */
|
20
|
+
.border#{$variant} {
|
21
|
+
border: $border !important;
|
22
|
+
}
|
23
|
+
/* Set the border width to 0 on all sides at/above this breakpoint */
|
24
|
+
.border#{$variant}-0 {
|
25
|
+
border: 0 !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Add a gray border to the top */
|
29
|
+
.border#{$variant}-top {
|
30
|
+
border-top: $border !important;
|
31
|
+
}
|
32
|
+
/* Add a gray border to the right */
|
33
|
+
.border#{$variant}-right {
|
34
|
+
border-right: $border !important;
|
35
|
+
}
|
36
|
+
/* Add a gray border to the bottom */
|
37
|
+
.border#{$variant}-bottom {
|
38
|
+
border-bottom: $border !important;
|
39
|
+
}
|
40
|
+
/* Add a gray border to the left */
|
41
|
+
.border#{$variant}-left {
|
42
|
+
border-left: $border !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Remove the top border */
|
46
|
+
.border#{$variant}-top-0 {
|
47
|
+
border-top: 0 !important;
|
48
|
+
}
|
49
|
+
/* Remove the right border */
|
50
|
+
.border#{$variant}-right-0 {
|
51
|
+
border-right: 0 !important;
|
52
|
+
}
|
53
|
+
/* Remove the bottom border */
|
54
|
+
.border#{$variant}-bottom-0 {
|
55
|
+
border-bottom: 0 !important;
|
56
|
+
}
|
57
|
+
/* Remove the left border */
|
58
|
+
.border#{$variant}-left-0 {
|
59
|
+
border-left: 0 !important;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Rounded corners
|
63
|
+
.rounded#{$variant} {
|
64
|
+
border-radius: $border-radius !important;
|
65
|
+
}
|
66
|
+
.rounded#{$variant}-0 {
|
67
|
+
border-radius: 0 !important;
|
68
|
+
}
|
69
|
+
.rounded#{$variant}-1 {
|
70
|
+
border-radius: $border-radius-1 !important;
|
71
|
+
}
|
72
|
+
.rounded#{$variant}-2 {
|
73
|
+
border-radius: $border-radius-2 !important;
|
74
|
+
}
|
75
|
+
|
76
|
+
@each $edge, $corners in $edges {
|
77
|
+
.rounded#{$variant}-#{$edge}-0 {
|
78
|
+
@each $corner in $corners {
|
79
|
+
border-#{$corner}-radius: 0 !important;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
.rounded#{$variant}-#{$edge}-1 {
|
84
|
+
@each $corner in $corners {
|
85
|
+
border-#{$corner}-radius: $border-radius / 2 !important;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.rounded#{$variant}-#{$edge}-2 {
|
90
|
+
@each $corner in $corners {
|
91
|
+
border-#{$corner}-radius: $border-radius !important;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.rounded#{$variant}-#{$edge}-3 {
|
96
|
+
@each $corner in $corners {
|
97
|
+
border-#{$corner}-radius: $border-radius * 2 !important;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
/* Add a 50% border-radius to make something into a circle */
|
105
|
+
.circle {
|
106
|
+
border-radius: 50% !important;
|
107
|
+
}
|
108
|
+
|
109
|
+
/* Change the border style to dashed, in conjunction with another utility */
|
110
|
+
.border-dashed {
|
111
|
+
// stylelint-disable-next-line primer/borders
|
112
|
+
border-style: dashed !important;
|
113
|
+
}
|
114
|
+
|
115
|
+
/* Use with .border to turn the border blue */
|
116
|
+
.border-blue {
|
117
|
+
border-color: $border-blue !important;
|
118
|
+
}
|
119
|
+
/* Use with .border to turn the border blue-light */
|
120
|
+
.border-blue-light {
|
121
|
+
border-color: $border-blue-light !important;
|
122
|
+
}
|
123
|
+
/* Use with .border to turn the border green */
|
124
|
+
.border-green {
|
125
|
+
border-color: $border-green !important;
|
126
|
+
}
|
127
|
+
/* Use with .border to turn the border green light */
|
128
|
+
.border-green-light {
|
129
|
+
border-color: $border-green-light !important;
|
130
|
+
}
|
131
|
+
/* Use with .border to turn the border red */
|
132
|
+
.border-red {
|
133
|
+
border-color: $border-red !important;
|
134
|
+
}
|
135
|
+
/* Use with .border to turn the border red-light */
|
136
|
+
.border-red-light {
|
137
|
+
border-color: $border-red-light !important;
|
138
|
+
}
|
139
|
+
/* Use with .border to turn the border purple */
|
140
|
+
.border-purple {
|
141
|
+
border-color: $border-purple !important;
|
142
|
+
}
|
143
|
+
/* Use with .border to turn the border yellow */
|
144
|
+
.border-yellow {
|
145
|
+
border-color: $border-yellow !important;
|
146
|
+
}
|
147
|
+
/* Use with .border to turn the border gray-light */
|
148
|
+
.border-gray-light {
|
149
|
+
border-color: $border-gray-light !important;
|
150
|
+
}
|
151
|
+
/* Use with .border to turn the border gray-dark */
|
152
|
+
.border-gray-dark {
|
153
|
+
border-color: $border-gray-dark !important;
|
154
|
+
}
|
155
|
+
|
156
|
+
/* Use with .border to turn the border rgba black 0.15 */
|
157
|
+
.border-black-fade {
|
158
|
+
border-color: $border-black-fade !important;
|
159
|
+
}
|
160
|
+
/* Use with .border to turn the border rgba white 0.15 */
|
161
|
+
.border-white-fade {
|
162
|
+
border-color: $border-white-fade !important;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* Use with .border to turn the border white w/varying transparency */
|
166
|
+
.border-white-fade-15 {
|
167
|
+
border-color: $border-white-fade !important;
|
168
|
+
}
|
169
|
+
// stylelint-disable-next-line primer/borders
|
170
|
+
.border-white-fade-30 {
|
171
|
+
border-color: $white-fade-30 !important;
|
172
|
+
}
|
173
|
+
// stylelint-disable-next-line primer/borders
|
174
|
+
.border-white-fade-50 {
|
175
|
+
border-color: $white-fade-50 !important;
|
176
|
+
}
|
177
|
+
// stylelint-disable-next-line primer/borders
|
178
|
+
.border-white-fade-70 {
|
179
|
+
border-color: $white-fade-70 !important;
|
180
|
+
}
|
181
|
+
// stylelint-disable-next-line primer/borders
|
182
|
+
.border-white-fade-85 {
|
183
|
+
border-color: $white-fade-85 !important;
|
184
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// Box shadow utilities
|
2
|
+
|
3
|
+
// Box shadows
|
4
|
+
|
5
|
+
.box-shadow {
|
6
|
+
box-shadow: $box-shadow !important;
|
7
|
+
}
|
8
|
+
|
9
|
+
.box-shadow-medium {
|
10
|
+
box-shadow: $box-shadow-medium !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.box-shadow-large {
|
14
|
+
box-shadow: $box-shadow-large !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.box-shadow-extra-large {
|
18
|
+
box-shadow: $box-shadow-extra-large !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Turn off box shadow
|
22
|
+
|
23
|
+
.box-shadow-none {
|
24
|
+
box-shadow: none !important;
|
25
|
+
}
|
@@ -0,0 +1,185 @@
|
|
1
|
+
// Color utilities
|
2
|
+
// stylelint-disable block-opening-brace-space-before, comment-empty-line-before
|
3
|
+
|
4
|
+
// background colors
|
5
|
+
/* Set the background to $bg-white */
|
6
|
+
.bg-white {
|
7
|
+
background-color: $bg-white !important;
|
8
|
+
}
|
9
|
+
/* Set the background to $bg-blue */
|
10
|
+
.bg-blue {
|
11
|
+
background-color: $bg-blue !important;
|
12
|
+
}
|
13
|
+
/* Set the background to $bg-blue-light */
|
14
|
+
.bg-blue-light {
|
15
|
+
background-color: $bg-blue-light !important;
|
16
|
+
}
|
17
|
+
/* Set the background to $bg-gray-dark */
|
18
|
+
.bg-gray-dark {
|
19
|
+
background-color: $bg-gray-dark !important;
|
20
|
+
}
|
21
|
+
/* Set the background to $bg-gray */
|
22
|
+
.bg-gray {
|
23
|
+
background-color: $bg-gray !important;
|
24
|
+
}
|
25
|
+
/* Set the background to $bg-gray-light */
|
26
|
+
.bg-gray-light {
|
27
|
+
background-color: $bg-gray-light !important;
|
28
|
+
}
|
29
|
+
/* Set the background to $bg-green */
|
30
|
+
.bg-green {
|
31
|
+
background-color: $bg-green !important;
|
32
|
+
}
|
33
|
+
/* Set the background to $bg-green-light */
|
34
|
+
.bg-green-light {
|
35
|
+
background-color: $bg-green-light !important;
|
36
|
+
}
|
37
|
+
/* Set the background to $bg-red */
|
38
|
+
.bg-red {
|
39
|
+
background-color: $bg-red !important;
|
40
|
+
}
|
41
|
+
/* Set the background to $bg-red-light */
|
42
|
+
.bg-red-light {
|
43
|
+
background-color: $bg-red-light !important;
|
44
|
+
}
|
45
|
+
/* Set the background to $bg-yellow */
|
46
|
+
.bg-yellow {
|
47
|
+
background-color: $bg-yellow !important;
|
48
|
+
}
|
49
|
+
/* Set the background to $bg-yellow-light */
|
50
|
+
.bg-yellow-light {
|
51
|
+
background-color: $bg-yellow-light !important;
|
52
|
+
}
|
53
|
+
/* Set the background to $bg-yellow-dark */
|
54
|
+
.bg-yellow-dark {
|
55
|
+
background-color: $bg-yellow-dark !important;
|
56
|
+
}
|
57
|
+
/* Set the background to $bg-purple */
|
58
|
+
.bg-purple {
|
59
|
+
background-color: $bg-purple !important;
|
60
|
+
}
|
61
|
+
/* Set the background to $bg-pink */
|
62
|
+
.bg-pink {
|
63
|
+
background-color: $bg-pink !important;
|
64
|
+
}
|
65
|
+
/* Set the background to $bg-purple-light */
|
66
|
+
.bg-purple-light {
|
67
|
+
background-color: $bg-purple-light !important;
|
68
|
+
}
|
69
|
+
/* Set the background to $bg-orange */
|
70
|
+
.bg-orange {
|
71
|
+
background-color: $bg-orange !important;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Generate a foreground and background utility for every shade of every hue
|
75
|
+
@each $hue, $shades in $hue-maps {
|
76
|
+
@each $index, $color in $shades {
|
77
|
+
.color-#{$hue}-#{$index} {
|
78
|
+
color: $color !important;
|
79
|
+
}
|
80
|
+
.bg-#{$hue}-#{$index} {
|
81
|
+
background-color: $color !important;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.bg-shade-gradient {
|
87
|
+
background-image: linear-gradient(
|
88
|
+
180deg,
|
89
|
+
rgba($black, 0.065),
|
90
|
+
rgba($black, 0)
|
91
|
+
) !important;
|
92
|
+
background-repeat: no-repeat !important;
|
93
|
+
background-size: 100% 200px !important;
|
94
|
+
}
|
95
|
+
|
96
|
+
// text colors
|
97
|
+
/* Set the text color to $text-blue */
|
98
|
+
.text-blue {
|
99
|
+
color: $text-blue !important;
|
100
|
+
}
|
101
|
+
/* Set the text color to $text-red */
|
102
|
+
.text-red {
|
103
|
+
color: $text-red !important;
|
104
|
+
}
|
105
|
+
/* Set the text color to $text-gray-light */
|
106
|
+
.text-gray-light {
|
107
|
+
color: $text-gray-light !important;
|
108
|
+
}
|
109
|
+
/* Set the text color to $text-gray */
|
110
|
+
.text-gray {
|
111
|
+
color: $text-gray !important;
|
112
|
+
}
|
113
|
+
/* Set the text color to $text-gray-dark */
|
114
|
+
.text-gray-dark {
|
115
|
+
color: $text-gray-dark !important;
|
116
|
+
}
|
117
|
+
/* Set the text color to $text-green */
|
118
|
+
.text-green {
|
119
|
+
color: $text-green !important;
|
120
|
+
}
|
121
|
+
/* Set the text color to $text-yellow */
|
122
|
+
.text-yellow {
|
123
|
+
color: $text-yellow !important;
|
124
|
+
}
|
125
|
+
/* Set the text color to $text-orange */
|
126
|
+
.text-orange {
|
127
|
+
color: $text-orange !important;
|
128
|
+
}
|
129
|
+
/* Set the text color to $text-orange-light */
|
130
|
+
.text-orange-light {
|
131
|
+
color: $text-orange-light !important;
|
132
|
+
}
|
133
|
+
/* Set the text color to $text-purple */
|
134
|
+
.text-purple {
|
135
|
+
color: $text-purple !important;
|
136
|
+
}
|
137
|
+
/* Set the text color to $text-pink */
|
138
|
+
.text-pink {
|
139
|
+
color: $text-pink !important;
|
140
|
+
}
|
141
|
+
/* Set the text color to $text-white */
|
142
|
+
.text-white {
|
143
|
+
color: $text-white !important;
|
144
|
+
}
|
145
|
+
/* Set the text color to inherit */
|
146
|
+
.text-inherit {
|
147
|
+
color: inherit !important;
|
148
|
+
}
|
149
|
+
|
150
|
+
// Link colors
|
151
|
+
// Sets the links color to $text-gray and $text-blue on hover
|
152
|
+
.link-gray {
|
153
|
+
color: $text-gray !important;
|
154
|
+
|
155
|
+
&:hover {
|
156
|
+
color: $text-blue !important;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
// Sets the links color to $text-gray-dark and $text-blue on hover
|
161
|
+
.link-gray-dark {
|
162
|
+
color: $text-gray-dark !important;
|
163
|
+
|
164
|
+
&:hover {
|
165
|
+
color: $text-blue !important;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
/* Set the link color to $text-blue on hover
|
170
|
+
Useful when you want only part of a link to turn blue on hover */
|
171
|
+
.link-hover-blue {
|
172
|
+
&:hover {
|
173
|
+
color: $text-blue !important;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Make a link $text-gray, then $text-blue on hover and removes the underline */
|
178
|
+
.muted-link {
|
179
|
+
color: $text-gray !important;
|
180
|
+
|
181
|
+
&:hover {
|
182
|
+
color: $text-blue !important;
|
183
|
+
text-decoration: none;
|
184
|
+
}
|
185
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// stylelint-disable selector-max-type
|
2
|
+
|
3
|
+
.details-overlay[open] > summary::before {
|
4
|
+
position: fixed;
|
5
|
+
top: 0;
|
6
|
+
right: 0;
|
7
|
+
bottom: 0;
|
8
|
+
left: 0;
|
9
|
+
z-index: 80;
|
10
|
+
display: block;
|
11
|
+
cursor: default;
|
12
|
+
content: " ";
|
13
|
+
background: transparent;
|
14
|
+
}
|
15
|
+
|
16
|
+
.details-overlay-dark[open] > summary::before {
|
17
|
+
z-index: 99;
|
18
|
+
background: $bg-black-fade;
|
19
|
+
}
|
20
|
+
|
21
|
+
.details-reset {
|
22
|
+
// Remove marker added by the display: list-item browser default
|
23
|
+
> summary {
|
24
|
+
list-style: none;
|
25
|
+
}
|
26
|
+
// Remove marker added by details polyfill
|
27
|
+
> summary::before {
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
// Remove marker added by Chrome
|
31
|
+
> summary::-webkit-details-marker {
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
}
|