jekyll-theme-petridish 3.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +5 -4
- data/_data/team.yml +3 -1
- data/_includes/footer.html +45 -23
- data/_includes/head.html +5 -5
- data/_includes/header.html +1 -1
- data/_includes/navbar.html +2 -2
- data/_layouts/home.html +10 -32
- data/_layouts/team.html +20 -8
- data/_sass/bootstrap/_accordion.scss +73 -33
- data/_sass/bootstrap/_alert.scss +25 -14
- data/_sass/bootstrap/_badge.scss +14 -5
- data/_sass/bootstrap/_breadcrumb.scss +22 -10
- data/_sass/bootstrap/_button-group.scss +6 -3
- data/_sass/bootstrap/_buttons.scss +133 -28
- data/_sass/bootstrap/_card.scss +60 -37
- data/_sass/bootstrap/_carousel.scss +22 -15
- data/_sass/bootstrap/_close.scss +33 -10
- data/_sass/bootstrap/_containers.scss +1 -1
- data/_sass/bootstrap/_dropdown.scss +86 -76
- data/_sass/bootstrap/_functions.scss +10 -10
- data/_sass/bootstrap/_grid.scss +9 -3
- data/_sass/bootstrap/_helpers.scss +3 -0
- data/_sass/bootstrap/_list-group.scss +60 -37
- data/_sass/bootstrap/_maps.scss +174 -0
- data/_sass/bootstrap/_mixins.scss +1 -2
- data/_sass/bootstrap/_modal.scss +71 -44
- data/_sass/bootstrap/_nav.scss +86 -28
- data/_sass/bootstrap/_navbar.scss +101 -147
- data/_sass/bootstrap/_offcanvas.scss +121 -61
- data/_sass/bootstrap/_pagination.scss +66 -21
- data/_sass/bootstrap/_placeholders.scss +1 -1
- data/_sass/bootstrap/_popover.scss +90 -52
- data/_sass/bootstrap/_progress.scss +30 -10
- data/_sass/bootstrap/_reboot.scss +31 -45
- data/_sass/bootstrap/_root.scss +155 -22
- data/_sass/bootstrap/_spinners.scss +38 -22
- data/_sass/bootstrap/_tables.scss +40 -24
- data/_sass/bootstrap/_toasts.scss +38 -16
- data/_sass/bootstrap/_tooltip.scss +60 -56
- data/_sass/bootstrap/_type.scss +2 -0
- data/_sass/bootstrap/_utilities.scss +209 -33
- data/_sass/bootstrap/_variables-dark.scss +87 -0
- data/_sass/bootstrap/_variables.scss +404 -294
- data/_sass/bootstrap/bootstrap-grid.scss +4 -9
- data/_sass/bootstrap/bootstrap-reboot.scss +4 -7
- data/_sass/bootstrap/bootstrap-utilities.scss +7 -6
- data/_sass/bootstrap/bootstrap.scss +5 -6
- data/_sass/bootstrap/forms/_floating-labels.scss +37 -5
- data/_sass/bootstrap/forms/_form-check.scss +51 -14
- data/_sass/bootstrap/forms/_form-control.scss +36 -41
- data/_sass/bootstrap/forms/_form-range.scss +3 -3
- data/_sass/bootstrap/forms/_form-select.scss +12 -4
- data/_sass/bootstrap/forms/_input-group.scss +20 -9
- data/_sass/bootstrap/helpers/_color-bg.scss +7 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +20 -2
- data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
- data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
- data/_sass/bootstrap/helpers/_position.scss +7 -1
- data/_sass/bootstrap/helpers/_ratio.scss +2 -2
- data/_sass/bootstrap/helpers/_vr.scss +2 -2
- data/_sass/bootstrap/mixins/_alert.scss +11 -4
- data/_sass/bootstrap/mixins/_banner.scss +7 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +8 -8
- data/_sass/bootstrap/mixins/_buttons.scss +32 -95
- data/_sass/bootstrap/mixins/_caret.scss +30 -25
- data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
- data/_sass/bootstrap/mixins/_container.scss +4 -2
- data/_sass/bootstrap/mixins/_forms.scss +38 -19
- data/_sass/bootstrap/mixins/_gradients.scss +1 -1
- data/_sass/bootstrap/mixins/_grid.scss +14 -14
- data/_sass/bootstrap/mixins/_list-group.scss +2 -0
- data/_sass/bootstrap/mixins/_pagination.scss +4 -25
- data/_sass/bootstrap/mixins/_reset-text.scss +1 -1
- data/_sass/bootstrap/mixins/_table-variants.scss +12 -9
- data/_sass/bootstrap/mixins/_utilities.scss +14 -6
- data/_sass/bootstrap/mixins/_visually-hidden.scss +5 -1
- data/_sass/bootstrap/vendor/_rfs.scss +23 -29
- data/assets/theme/css/fontawesome-all.min.css +6 -2
- data/assets/theme/js/bootstrap.min.js +3 -3
- data/assets/theme/js/bootstrap.min.js.map +1 -1
- data/assets/theme/js/jquery.min.js +2 -2
- data/assets/theme/js/popper.min.js +2 -2
- data/assets/theme/js/popper.min.js.map +1 -1
- data/assets/theme/webfonts/fa-brands-400.ttf +0 -0
- data/assets/theme/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/theme/webfonts/fa-regular-400.ttf +0 -0
- data/assets/theme/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/theme/webfonts/fa-solid-900.ttf +0 -0
- data/assets/theme/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/theme/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/theme/webfonts/fa-v4compatibility.woff2 +0 -0
- metadata +12 -17
- data/assets/theme/css/academicons.min.css +0 -1
- data/assets/theme/fonts/academicons.eot +0 -0
- data/assets/theme/fonts/academicons.svg +0 -1663
- data/assets/theme/fonts/academicons.ttf +0 -0
- data/assets/theme/fonts/academicons.woff +0 -0
- data/assets/theme/webfonts/fa-brands-400.eot +0 -0
- data/assets/theme/webfonts/fa-brands-400.svg +0 -3717
- data/assets/theme/webfonts/fa-brands-400.woff +0 -0
- data/assets/theme/webfonts/fa-regular-400.eot +0 -0
- data/assets/theme/webfonts/fa-regular-400.svg +0 -801
- data/assets/theme/webfonts/fa-regular-400.woff +0 -0
- data/assets/theme/webfonts/fa-solid-900.eot +0 -0
- data/assets/theme/webfonts/fa-solid-900.svg +0 -5034
- data/assets/theme/webfonts/fa-solid-900.woff +0 -0
@@ -1,27 +1,46 @@
|
|
1
1
|
.popover {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
// scss-docs-start popover-css-vars
|
3
|
+
--#{$prefix}popover-zindex: #{$zindex-popover};
|
4
|
+
--#{$prefix}popover-max-width: #{$popover-max-width};
|
5
|
+
@include rfs($popover-font-size, --#{$prefix}popover-font-size);
|
6
|
+
--#{$prefix}popover-bg: #{$popover-bg};
|
7
|
+
--#{$prefix}popover-border-width: #{$popover-border-width};
|
8
|
+
--#{$prefix}popover-border-color: #{$popover-border-color};
|
9
|
+
--#{$prefix}popover-border-radius: #{$popover-border-radius};
|
10
|
+
--#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};
|
11
|
+
--#{$prefix}popover-box-shadow: #{$popover-box-shadow};
|
12
|
+
--#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};
|
13
|
+
--#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};
|
14
|
+
@include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);
|
15
|
+
--#{$prefix}popover-header-color: #{$popover-header-color};
|
16
|
+
--#{$prefix}popover-header-bg: #{$popover-header-bg};
|
17
|
+
--#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};
|
18
|
+
--#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};
|
19
|
+
--#{$prefix}popover-body-color: #{$popover-body-color};
|
20
|
+
--#{$prefix}popover-arrow-width: #{$popover-arrow-width};
|
21
|
+
--#{$prefix}popover-arrow-height: #{$popover-arrow-height};
|
22
|
+
--#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
|
23
|
+
// scss-docs-end popover-css-vars
|
24
|
+
|
25
|
+
z-index: var(--#{$prefix}popover-zindex);
|
6
26
|
display: block;
|
7
|
-
max-width: $popover-max-width;
|
27
|
+
max-width: var(--#{$prefix}popover-max-width);
|
8
28
|
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
9
29
|
// So reset our font and text properties to avoid inheriting weird values.
|
10
30
|
@include reset-text();
|
11
|
-
@include font-size($popover-font-size);
|
31
|
+
@include font-size(var(--#{$prefix}popover-font-size));
|
12
32
|
// Allow breaking very long words so they don't overflow the popover's bounds
|
13
33
|
word-wrap: break-word;
|
14
|
-
background-color: $popover-bg;
|
34
|
+
background-color: var(--#{$prefix}popover-bg);
|
15
35
|
background-clip: padding-box;
|
16
|
-
border: $popover-border-width solid $popover-border-color;
|
17
|
-
@include border-radius($popover-border-radius);
|
18
|
-
@include box-shadow($popover-box-shadow);
|
36
|
+
border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
37
|
+
@include border-radius(var(--#{$prefix}popover-border-radius));
|
38
|
+
@include box-shadow(var(--#{$prefix}popover-box-shadow));
|
19
39
|
|
20
40
|
.popover-arrow {
|
21
|
-
position: absolute;
|
22
41
|
display: block;
|
23
|
-
width: $popover-arrow-width;
|
24
|
-
height: $popover-arrow-height;
|
42
|
+
width: var(--#{$prefix}popover-arrow-width);
|
43
|
+
height: var(--#{$prefix}popover-arrow-height);
|
25
44
|
|
26
45
|
&::before,
|
27
46
|
&::after {
|
@@ -30,62 +49,75 @@
|
|
30
49
|
content: "";
|
31
50
|
border-color: transparent;
|
32
51
|
border-style: solid;
|
52
|
+
border-width: 0;
|
33
53
|
}
|
34
54
|
}
|
35
55
|
}
|
36
56
|
|
37
57
|
.bs-popover-top {
|
38
58
|
> .popover-arrow {
|
39
|
-
bottom:
|
59
|
+
bottom: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
60
|
+
|
61
|
+
&::before,
|
62
|
+
&::after {
|
63
|
+
border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
64
|
+
}
|
40
65
|
|
41
66
|
&::before {
|
42
67
|
bottom: 0;
|
43
|
-
border-
|
44
|
-
border-top-color: $popover-arrow-outer-color;
|
68
|
+
border-top-color: var(--#{$prefix}popover-arrow-border);
|
45
69
|
}
|
46
70
|
|
47
71
|
&::after {
|
48
|
-
bottom: $popover-border-width;
|
49
|
-
border-
|
50
|
-
border-top-color: $popover-arrow-color;
|
72
|
+
bottom: var(--#{$prefix}popover-border-width);
|
73
|
+
border-top-color: var(--#{$prefix}popover-bg);
|
51
74
|
}
|
52
75
|
}
|
53
76
|
}
|
54
77
|
|
78
|
+
/* rtl:begin:ignore */
|
55
79
|
.bs-popover-end {
|
56
80
|
> .popover-arrow {
|
57
|
-
left:
|
58
|
-
width: $popover-arrow-height;
|
59
|
-
height: $popover-arrow-width;
|
81
|
+
left: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
82
|
+
width: var(--#{$prefix}popover-arrow-height);
|
83
|
+
height: var(--#{$prefix}popover-arrow-width);
|
84
|
+
|
85
|
+
&::before,
|
86
|
+
&::after {
|
87
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
88
|
+
}
|
60
89
|
|
61
90
|
&::before {
|
62
91
|
left: 0;
|
63
|
-
border-
|
64
|
-
border-right-color: $popover-arrow-outer-color;
|
92
|
+
border-right-color: var(--#{$prefix}popover-arrow-border);
|
65
93
|
}
|
66
94
|
|
67
95
|
&::after {
|
68
|
-
left: $popover-border-width;
|
69
|
-
border-
|
70
|
-
border-right-color: $popover-arrow-color;
|
96
|
+
left: var(--#{$prefix}popover-border-width);
|
97
|
+
border-right-color: var(--#{$prefix}popover-bg);
|
71
98
|
}
|
72
99
|
}
|
73
100
|
}
|
74
101
|
|
102
|
+
/* rtl:end:ignore */
|
103
|
+
|
75
104
|
.bs-popover-bottom {
|
76
105
|
> .popover-arrow {
|
77
|
-
top:
|
106
|
+
top: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
107
|
+
|
108
|
+
&::before,
|
109
|
+
&::after {
|
110
|
+
border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
111
|
+
}
|
78
112
|
|
79
113
|
&::before {
|
80
114
|
top: 0;
|
81
|
-
border-
|
82
|
-
border-bottom-color: $popover-arrow-outer-color;
|
115
|
+
border-bottom-color: var(--#{$prefix}popover-arrow-border);
|
83
116
|
}
|
84
117
|
|
85
118
|
&::after {
|
86
|
-
top: $popover-border-width;
|
87
|
-
border-
|
88
|
-
border-bottom-color: $popover-arrow-color;
|
119
|
+
top: var(--#{$prefix}popover-border-width);
|
120
|
+
border-bottom-color: var(--#{$prefix}popover-bg);
|
89
121
|
}
|
90
122
|
}
|
91
123
|
|
@@ -95,33 +127,39 @@
|
|
95
127
|
top: 0;
|
96
128
|
left: 50%;
|
97
129
|
display: block;
|
98
|
-
width: $popover-arrow-width;
|
99
|
-
margin-left:
|
130
|
+
width: var(--#{$prefix}popover-arrow-width);
|
131
|
+
margin-left: calc(-.5 * var(--#{$prefix}popover-arrow-width)); // stylelint-disable-line function-disallowed-list
|
100
132
|
content: "";
|
101
|
-
border-bottom: $popover-border-width solid $popover-header-bg;
|
133
|
+
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
|
102
134
|
}
|
103
135
|
}
|
104
136
|
|
137
|
+
/* rtl:begin:ignore */
|
105
138
|
.bs-popover-start {
|
106
139
|
> .popover-arrow {
|
107
|
-
right:
|
108
|
-
width: $popover-arrow-height;
|
109
|
-
height: $popover-arrow-width;
|
140
|
+
right: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
141
|
+
width: var(--#{$prefix}popover-arrow-height);
|
142
|
+
height: var(--#{$prefix}popover-arrow-width);
|
143
|
+
|
144
|
+
&::before,
|
145
|
+
&::after {
|
146
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
147
|
+
}
|
110
148
|
|
111
149
|
&::before {
|
112
150
|
right: 0;
|
113
|
-
border-
|
114
|
-
border-left-color: $popover-arrow-outer-color;
|
151
|
+
border-left-color: var(--#{$prefix}popover-arrow-border);
|
115
152
|
}
|
116
153
|
|
117
154
|
&::after {
|
118
|
-
right: $popover-border-width;
|
119
|
-
border-
|
120
|
-
border-left-color: $popover-arrow-color;
|
155
|
+
right: var(--#{$prefix}popover-border-width);
|
156
|
+
border-left-color: var(--#{$prefix}popover-bg);
|
121
157
|
}
|
122
158
|
}
|
123
159
|
}
|
124
160
|
|
161
|
+
/* rtl:end:ignore */
|
162
|
+
|
125
163
|
.bs-popover-auto {
|
126
164
|
&[data-popper-placement^="top"] {
|
127
165
|
@extend .bs-popover-top;
|
@@ -139,13 +177,13 @@
|
|
139
177
|
|
140
178
|
// Offset the popover to account for the popover arrow
|
141
179
|
.popover-header {
|
142
|
-
padding: $popover-header-padding-y $popover-header-padding-x;
|
180
|
+
padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
|
143
181
|
margin-bottom: 0; // Reset the default from Reboot
|
144
|
-
@include font-size($font-size
|
145
|
-
color: $popover-header-color;
|
146
|
-
background-color: $popover-header-bg;
|
147
|
-
border-bottom: $popover-border-width solid $popover-border-color;
|
148
|
-
@include border-top-radius($popover-inner-border-radius);
|
182
|
+
@include font-size(var(--#{$prefix}popover-header-font-size));
|
183
|
+
color: var(--#{$prefix}popover-header-color);
|
184
|
+
background-color: var(--#{$prefix}popover-header-bg);
|
185
|
+
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
186
|
+
@include border-top-radius(var(--#{$prefix}popover-inner-border-radius));
|
149
187
|
|
150
188
|
&:empty {
|
151
189
|
display: none;
|
@@ -153,6 +191,6 @@
|
|
153
191
|
}
|
154
192
|
|
155
193
|
.popover-body {
|
156
|
-
padding: $popover-body-padding-y $popover-body-padding-x;
|
157
|
-
color: $popover-body-color;
|
194
|
+
padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);
|
195
|
+
color: var(--#{$prefix}popover-body-color);
|
158
196
|
}
|
@@ -8,14 +8,26 @@
|
|
8
8
|
}
|
9
9
|
// scss-docs-end progress-keyframes
|
10
10
|
|
11
|
-
.progress
|
11
|
+
.progress,
|
12
|
+
.progress-stacked {
|
13
|
+
// scss-docs-start progress-css-vars
|
14
|
+
--#{$prefix}progress-height: #{$progress-height};
|
15
|
+
@include rfs($progress-font-size, --#{$prefix}progress-font-size);
|
16
|
+
--#{$prefix}progress-bg: #{$progress-bg};
|
17
|
+
--#{$prefix}progress-border-radius: #{$progress-border-radius};
|
18
|
+
--#{$prefix}progress-box-shadow: #{$progress-box-shadow};
|
19
|
+
--#{$prefix}progress-bar-color: #{$progress-bar-color};
|
20
|
+
--#{$prefix}progress-bar-bg: #{$progress-bar-bg};
|
21
|
+
--#{$prefix}progress-bar-transition: #{$progress-bar-transition};
|
22
|
+
// scss-docs-end progress-css-vars
|
23
|
+
|
12
24
|
display: flex;
|
13
|
-
height: $progress-height;
|
25
|
+
height: var(--#{$prefix}progress-height);
|
14
26
|
overflow: hidden; // force rounded corners by cropping it
|
15
|
-
@include font-size($progress-font-size);
|
16
|
-
background-color: $progress-bg;
|
17
|
-
@include border-radius($progress-border-radius);
|
18
|
-
@include box-shadow($progress-box-shadow);
|
27
|
+
@include font-size(var(--#{$prefix}progress-font-size));
|
28
|
+
background-color: var(--#{$prefix}progress-bg);
|
29
|
+
@include border-radius(var(--#{$prefix}progress-border-radius));
|
30
|
+
@include box-shadow(var(--#{$prefix}progress-box-shadow));
|
19
31
|
}
|
20
32
|
|
21
33
|
.progress-bar {
|
@@ -23,16 +35,24 @@
|
|
23
35
|
flex-direction: column;
|
24
36
|
justify-content: center;
|
25
37
|
overflow: hidden;
|
26
|
-
color: $progress-bar-color;
|
38
|
+
color: var(--#{$prefix}progress-bar-color);
|
27
39
|
text-align: center;
|
28
40
|
white-space: nowrap;
|
29
|
-
background-color: $progress-bar-bg;
|
30
|
-
@include transition($progress-bar-transition);
|
41
|
+
background-color: var(--#{$prefix}progress-bar-bg);
|
42
|
+
@include transition(var(--#{$prefix}progress-bar-transition));
|
31
43
|
}
|
32
44
|
|
33
45
|
.progress-bar-striped {
|
34
46
|
@include gradient-striped();
|
35
|
-
background-size: $progress-height $progress-height;
|
47
|
+
background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);
|
48
|
+
}
|
49
|
+
|
50
|
+
.progress-stacked > .progress {
|
51
|
+
overflow: visible;
|
52
|
+
}
|
53
|
+
|
54
|
+
.progress-stacked > .progress > .progress-bar {
|
55
|
+
width: 100%;
|
36
56
|
}
|
37
57
|
|
38
58
|
@if $enable-transitions {
|
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
:root {
|
29
29
|
@if $font-size-root != null {
|
30
|
-
font-size
|
30
|
+
@include font-size(var(--#{$prefix}root-font-size));
|
31
31
|
}
|
32
32
|
|
33
33
|
@if $enable-smooth-scroll {
|
@@ -48,13 +48,13 @@
|
|
48
48
|
// scss-docs-start reboot-body-rules
|
49
49
|
body {
|
50
50
|
margin: 0; // 1
|
51
|
-
font-family: var(--#{$
|
52
|
-
@include font-size(var(--#{$
|
53
|
-
font-weight: var(--#{$
|
54
|
-
line-height: var(--#{$
|
55
|
-
color: var(--#{$
|
56
|
-
text-align: var(--#{$
|
57
|
-
background-color: var(--#{$
|
51
|
+
font-family: var(--#{$prefix}body-font-family);
|
52
|
+
@include font-size(var(--#{$prefix}body-font-size));
|
53
|
+
font-weight: var(--#{$prefix}body-font-weight);
|
54
|
+
line-height: var(--#{$prefix}body-line-height);
|
55
|
+
color: var(--#{$prefix}body-color);
|
56
|
+
text-align: var(--#{$prefix}body-text-align);
|
57
|
+
background-color: var(--#{$prefix}body-bg); // 2
|
58
58
|
-webkit-text-size-adjust: 100%; // 3
|
59
59
|
-webkit-tap-highlight-color: rgba($black, 0); // 4
|
60
60
|
}
|
@@ -64,20 +64,15 @@ body {
|
|
64
64
|
// Content grouping
|
65
65
|
//
|
66
66
|
// 1. Reset Firefox's gray color
|
67
|
-
// 2. Set correct height and prevent the `size` attribute to make the `hr` look like an input field
|
68
67
|
|
69
68
|
hr {
|
70
69
|
margin: $hr-margin-y 0;
|
71
70
|
color: $hr-color; // 1
|
72
|
-
background-color: currentColor;
|
73
71
|
border: 0;
|
72
|
+
border-top: $hr-border-width solid $hr-border-color;
|
74
73
|
opacity: $hr-opacity;
|
75
74
|
}
|
76
75
|
|
77
|
-
hr:not([size]) {
|
78
|
-
height: $hr-height; // 2
|
79
|
-
}
|
80
|
-
|
81
76
|
|
82
77
|
// Typography
|
83
78
|
//
|
@@ -92,7 +87,7 @@ hr:not([size]) {
|
|
92
87
|
font-style: $headings-font-style;
|
93
88
|
font-weight: $headings-font-weight;
|
94
89
|
line-height: $headings-line-height;
|
95
|
-
color: $
|
90
|
+
color: var(--#{$prefix}heading-color);
|
96
91
|
}
|
97
92
|
|
98
93
|
h1 {
|
@@ -139,16 +134,14 @@ p {
|
|
139
134
|
|
140
135
|
// Abbreviations
|
141
136
|
//
|
142
|
-
// 1.
|
143
|
-
// 2. Add
|
144
|
-
// 3.
|
145
|
-
// 4. Prevent the text-decoration to be skipped.
|
137
|
+
// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
|
138
|
+
// 2. Add explicit cursor to indicate changed behavior.
|
139
|
+
// 3. Prevent the text-decoration to be skipped.
|
146
140
|
|
147
|
-
abbr[title]
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
text-decoration-skip-ink: none; // 4
|
141
|
+
abbr[title] {
|
142
|
+
text-decoration: underline dotted; // 1
|
143
|
+
cursor: help; // 2
|
144
|
+
text-decoration-skip-ink: none; // 3
|
152
145
|
}
|
153
146
|
|
154
147
|
|
@@ -224,7 +217,8 @@ small {
|
|
224
217
|
|
225
218
|
mark {
|
226
219
|
padding: $mark-padding;
|
227
|
-
|
220
|
+
color: var(--#{$prefix}highlight-color);
|
221
|
+
background-color: var(--#{$prefix}highlight-bg);
|
228
222
|
}
|
229
223
|
|
230
224
|
|
@@ -248,11 +242,11 @@ sup { top: -.5em; }
|
|
248
242
|
// Links
|
249
243
|
|
250
244
|
a {
|
251
|
-
color: $link-color;
|
245
|
+
color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));
|
252
246
|
text-decoration: $link-decoration;
|
253
247
|
|
254
248
|
&:hover {
|
255
|
-
color: $link-hover-color;
|
249
|
+
--#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);
|
256
250
|
text-decoration: $link-hover-decoration;
|
257
251
|
}
|
258
252
|
}
|
@@ -279,8 +273,6 @@ kbd,
|
|
279
273
|
samp {
|
280
274
|
font-family: $font-family-code;
|
281
275
|
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
282
|
-
direction: ltr #{"/* rtl:ignore */"};
|
283
|
-
unicode-bidi: bidi-override;
|
284
276
|
}
|
285
277
|
|
286
278
|
// 1. Remove browser default top margin
|
@@ -305,7 +297,7 @@ pre {
|
|
305
297
|
|
306
298
|
code {
|
307
299
|
@include font-size($code-font-size);
|
308
|
-
color: $code-color;
|
300
|
+
color: var(--#{$prefix}code-color);
|
309
301
|
word-wrap: break-word;
|
310
302
|
|
311
303
|
// Streamline the style when inside anchors to avoid broken underline and more
|
@@ -445,11 +437,11 @@ select {
|
|
445
437
|
}
|
446
438
|
}
|
447
439
|
|
448
|
-
// Remove the dropdown arrow
|
440
|
+
// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
|
449
441
|
// See https://stackoverflow.com/a/54997118
|
450
442
|
|
451
|
-
[list]::-webkit-calendar-picker-indicator {
|
452
|
-
display: none;
|
443
|
+
[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
|
444
|
+
display: none !important;
|
453
445
|
}
|
454
446
|
|
455
447
|
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
@@ -533,15 +525,15 @@ legend {
|
|
533
525
|
height: auto;
|
534
526
|
}
|
535
527
|
|
536
|
-
// 1.
|
537
|
-
// 2. This overrides the extra rounded corners on search inputs in iOS so that our
|
528
|
+
// 1. This overrides the extra rounded corners on search inputs in iOS so that our
|
538
529
|
// `.form-control` class can properly style them. Note that this cannot simply
|
539
530
|
// be added to `.form-control` as it's not specific enough. For details, see
|
540
531
|
// https://github.com/twbs/bootstrap/issues/11586.
|
532
|
+
// 2. Correct the outline style in Safari.
|
541
533
|
|
542
534
|
[type="search"] {
|
543
|
-
|
544
|
-
-
|
535
|
+
-webkit-appearance: textfield; // 1
|
536
|
+
outline-offset: -2px; // 2
|
545
537
|
}
|
546
538
|
|
547
539
|
// 1. A few input types should stay LTR
|
@@ -571,16 +563,10 @@ legend {
|
|
571
563
|
}
|
572
564
|
|
573
565
|
|
574
|
-
// Inherit font family and line height for file input buttons
|
575
|
-
|
576
|
-
::file-selector-button {
|
577
|
-
font: inherit;
|
578
|
-
}
|
579
|
-
|
580
|
-
// 1. Change font properties to `inherit`
|
566
|
+
// 1. Inherit font family and line height for file input buttons
|
581
567
|
// 2. Correct the inability to style clickable types in iOS and Safari.
|
582
568
|
|
583
|
-
|
569
|
+
::file-selector-button {
|
584
570
|
font: inherit; // 1
|
585
571
|
-webkit-appearance: button; // 2
|
586
572
|
}
|