elixir-toolkit-theme 1.21.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/_includes/contributor-minitiles-page.html +1 -1
- data/_includes/dev-info.html +3 -0
- data/_includes/footer.html +30 -4
- data/_includes/section-navigation-tiles-simple.html +3 -0
- data/_includes/section-navigation-tiles.html +2 -2
- data/_includes/topnav.html +9 -1
- data/_includes/training-table-all.html +11 -1
- data/_layouts/default.html +2 -1
- data/_sass/_variables.scss +1 -0
- data/_sass/bootstrap/_accordion.scss +56 -25
- data/_sass/bootstrap/_alert.scss +18 -4
- data/_sass/bootstrap/_badge.scss +14 -5
- data/_sass/bootstrap/_breadcrumb.scss +22 -10
- data/_sass/bootstrap/_button-group.scss +4 -1
- data/_sass/bootstrap/_buttons.scss +125 -29
- data/_sass/bootstrap/_card.scss +55 -37
- data/_sass/bootstrap/_carousel.scss +0 -3
- data/_sass/bootstrap/_close.scss +1 -1
- data/_sass/bootstrap/_containers.scss +1 -1
- data/_sass/bootstrap/_dropdown.scss +85 -76
- data/_sass/bootstrap/_functions.scss +9 -9
- data/_sass/bootstrap/_grid.scss +3 -3
- data/_sass/bootstrap/_helpers.scss +1 -0
- data/_sass/bootstrap/_list-group.scss +48 -30
- data/_sass/bootstrap/_maps.scss +54 -0
- data/_sass/bootstrap/_modal.scss +71 -43
- data/_sass/bootstrap/_nav.scss +53 -20
- data/_sass/bootstrap/_navbar.scss +93 -150
- data/_sass/bootstrap/_offcanvas.scss +120 -59
- 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 +20 -9
- data/_sass/bootstrap/_reboot.scss +25 -40
- data/_sass/bootstrap/_root.scss +40 -21
- data/_sass/bootstrap/_spinners.scss +38 -22
- data/_sass/bootstrap/_tables.scss +32 -23
- data/_sass/bootstrap/_toasts.scss +38 -16
- data/_sass/bootstrap/_tooltip.scss +61 -56
- data/_sass/bootstrap/_type.scss +2 -0
- data/_sass/bootstrap/_utilities.scss +43 -26
- data/_sass/bootstrap/_variables.scss +128 -135
- data/_sass/bootstrap/bootstrap-grid.scss +3 -6
- data/_sass/bootstrap/bootstrap-reboot.scss +3 -7
- data/_sass/bootstrap/bootstrap-utilities.scss +6 -6
- data/_sass/bootstrap/bootstrap.scss +4 -6
- data/_sass/bootstrap/forms/_floating-labels.scss +15 -3
- data/_sass/bootstrap/forms/_form-check.scss +28 -5
- data/_sass/bootstrap/forms/_form-control.scss +12 -37
- data/_sass/bootstrap/forms/_form-select.scss +0 -1
- data/_sass/bootstrap/forms/_input-group.scss +19 -8
- data/_sass/bootstrap/helpers/_color-bg.scss +10 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +2 -2
- data/_sass/bootstrap/helpers/_position.scss +7 -1
- data/_sass/bootstrap/helpers/_ratio.scss +2 -2
- data/_sass/bootstrap/helpers/_vr.scss +1 -1
- data/_sass/bootstrap/mixins/_alert.scss +7 -3
- data/_sass/bootstrap/mixins/_banner.scss +9 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +8 -8
- data/_sass/bootstrap/mixins/_buttons.scss +32 -95
- data/_sass/bootstrap/mixins/_container.scss +4 -2
- data/_sass/bootstrap/mixins/_forms.scss +18 -10
- data/_sass/bootstrap/mixins/_gradients.scss +1 -1
- data/_sass/bootstrap/mixins/_grid.scss +12 -12
- 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 +13 -5
- data/assets/css/all.min.css +2 -2
- data/assets/css/main.scss +22 -3
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/ett_compact_logo.svg +22 -0
- data/assets/img/ett_compact_logo_bw.svg +22 -0
- data/assets/img/favicon-16x16.png +0 -0
- data/assets/img/favicon-32x32.png +0 -0
- data/assets/img/favicon.ico +0 -0
- data/assets/img/main_logo.svg +46 -57
- data/assets/img/safari-pinned-tab.svg +16 -12
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- metadata +9 -6
- data/assets/img/jekyll_theme_question.svg +0 -1
- data/assets/img/jekyll_theme_question_inverted.svg +0 -1
- data/assets/img/main_logo_condesed.svg +0 -1
@@ -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
|
}
|
@@ -9,13 +9,24 @@
|
|
9
9
|
// scss-docs-end progress-keyframes
|
10
10
|
|
11
11
|
.progress {
|
12
|
+
// scss-docs-start progress-css-vars
|
13
|
+
--#{$prefix}progress-height: #{$progress-height};
|
14
|
+
@include rfs($progress-font-size, --#{$prefix}progress-font-size);
|
15
|
+
--#{$prefix}progress-bg: #{$progress-bg};
|
16
|
+
--#{$prefix}progress-border-radius: #{$progress-border-radius};
|
17
|
+
--#{$prefix}progress-box-shadow: #{$progress-box-shadow};
|
18
|
+
--#{$prefix}progress-bar-color: #{$progress-bar-color};
|
19
|
+
--#{$prefix}progress-bar-bg: #{$progress-bar-bg};
|
20
|
+
--#{$prefix}progress-bar-transition: #{$progress-bar-transition};
|
21
|
+
// scss-docs-end progress-css-vars
|
22
|
+
|
12
23
|
display: flex;
|
13
|
-
height: $progress-height;
|
24
|
+
height: var(--#{$prefix}progress-height);
|
14
25
|
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);
|
26
|
+
@include font-size(var(--#{$prefix}progress-font-size));
|
27
|
+
background-color: var(--#{$prefix}progress-bg);
|
28
|
+
@include border-radius(var(--#{$prefix}progress-border-radius));
|
29
|
+
@include box-shadow(var(--#{$prefix}progress-box-shadow));
|
19
30
|
}
|
20
31
|
|
21
32
|
.progress-bar {
|
@@ -23,16 +34,16 @@
|
|
23
34
|
flex-direction: column;
|
24
35
|
justify-content: center;
|
25
36
|
overflow: hidden;
|
26
|
-
color: $progress-bar-color;
|
37
|
+
color: var(--#{$prefix}progress-bar-color);
|
27
38
|
text-align: center;
|
28
39
|
white-space: nowrap;
|
29
|
-
background-color: $progress-bar-bg;
|
30
|
-
@include transition($progress-bar-transition);
|
40
|
+
background-color: var(--#{$prefix}progress-bar-bg);
|
41
|
+
@include transition(var(--#{$prefix}progress-bar-transition));
|
31
42
|
}
|
32
43
|
|
33
44
|
.progress-bar-striped {
|
34
45
|
@include gradient-striped();
|
35
|
-
background-size: $progress-height $progress-height;
|
46
|
+
background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);
|
36
47
|
}
|
37
48
|
|
38
49
|
@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
|
//
|
@@ -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,7 @@ small {
|
|
224
217
|
|
225
218
|
mark {
|
226
219
|
padding: $mark-padding;
|
227
|
-
background-color: $
|
220
|
+
background-color: var(--#{$prefix}highlight-bg);
|
228
221
|
}
|
229
222
|
|
230
223
|
|
@@ -248,11 +241,11 @@ sup { top: -.5em; }
|
|
248
241
|
// Links
|
249
242
|
|
250
243
|
a {
|
251
|
-
color: $link-color;
|
244
|
+
color: var(--#{$prefix}link-color);
|
252
245
|
text-decoration: $link-decoration;
|
253
246
|
|
254
247
|
&:hover {
|
255
|
-
color: $link-hover-color;
|
248
|
+
color: var(--#{$prefix}link-hover-color);
|
256
249
|
text-decoration: $link-hover-decoration;
|
257
250
|
}
|
258
251
|
}
|
@@ -279,8 +272,6 @@ kbd,
|
|
279
272
|
samp {
|
280
273
|
font-family: $font-family-code;
|
281
274
|
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
282
|
-
direction: ltr #{"/* rtl:ignore */"};
|
283
|
-
unicode-bidi: bidi-override;
|
284
275
|
}
|
285
276
|
|
286
277
|
// 1. Remove browser default top margin
|
@@ -305,7 +296,7 @@ pre {
|
|
305
296
|
|
306
297
|
code {
|
307
298
|
@include font-size($code-font-size);
|
308
|
-
color: $code-color;
|
299
|
+
color: var(--#{$prefix}code-color);
|
309
300
|
word-wrap: break-word;
|
310
301
|
|
311
302
|
// Streamline the style when inside anchors to avoid broken underline and more
|
@@ -445,11 +436,11 @@ select {
|
|
445
436
|
}
|
446
437
|
}
|
447
438
|
|
448
|
-
// Remove the dropdown arrow
|
439
|
+
// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
|
449
440
|
// See https://stackoverflow.com/a/54997118
|
450
441
|
|
451
|
-
[list]::-webkit-calendar-picker-indicator {
|
452
|
-
display: none;
|
442
|
+
[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
|
443
|
+
display: none !important;
|
453
444
|
}
|
454
445
|
|
455
446
|
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
@@ -571,16 +562,10 @@ legend {
|
|
571
562
|
}
|
572
563
|
|
573
564
|
|
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`
|
565
|
+
// 1. Inherit font family and line height for file input buttons
|
581
566
|
// 2. Correct the inability to style clickable types in iOS and Safari.
|
582
567
|
|
583
|
-
|
568
|
+
::file-selector-button {
|
584
569
|
font: inherit; // 1
|
585
570
|
-webkit-appearance: button; // 2
|
586
571
|
}
|
data/_sass/bootstrap/_root.scss
CHANGED
@@ -6,49 +6,68 @@
|
|
6
6
|
// Generate palettes for full colors, grays, and theme colors.
|
7
7
|
|
8
8
|
@each $color, $value in $colors {
|
9
|
-
--#{$
|
9
|
+
--#{$prefix}#{$color}: #{$value};
|
10
10
|
}
|
11
11
|
|
12
12
|
@each $color, $value in $grays {
|
13
|
-
--#{$
|
13
|
+
--#{$prefix}gray-#{$color}: #{$value};
|
14
14
|
}
|
15
15
|
|
16
16
|
@each $color, $value in $theme-colors {
|
17
|
-
--#{$
|
17
|
+
--#{$prefix}#{$color}: #{$value};
|
18
18
|
}
|
19
19
|
|
20
20
|
@each $color, $value in $theme-colors-rgb {
|
21
|
-
--#{$
|
21
|
+
--#{$prefix}#{$color}-rgb: #{$value};
|
22
22
|
}
|
23
23
|
|
24
|
-
--#{$
|
25
|
-
--#{$
|
26
|
-
--#{$
|
27
|
-
--#{$
|
24
|
+
--#{$prefix}white-rgb: #{to-rgb($white)};
|
25
|
+
--#{$prefix}black-rgb: #{to-rgb($black)};
|
26
|
+
--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
|
27
|
+
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
|
28
28
|
|
29
29
|
// Fonts
|
30
30
|
|
31
31
|
// Note: Use `inspect` for lists so that quoted items keep the quotes.
|
32
32
|
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
33
|
-
--#{$
|
34
|
-
--#{$
|
35
|
-
--#{$
|
33
|
+
--#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
|
34
|
+
--#{$prefix}font-monospace: #{inspect($font-family-monospace)};
|
35
|
+
--#{$prefix}gradient: #{$gradient};
|
36
36
|
|
37
37
|
// Root and body
|
38
|
-
// stylelint-disable custom-property-empty-line-before
|
39
38
|
// scss-docs-start root-body-variables
|
40
39
|
@if $font-size-root != null {
|
41
|
-
--#{$
|
40
|
+
--#{$prefix}root-font-size: #{$font-size-root};
|
42
41
|
}
|
43
|
-
--#{$
|
44
|
-
--#{$
|
45
|
-
--#{$
|
46
|
-
--#{$
|
47
|
-
--#{$
|
42
|
+
--#{$prefix}body-font-family: #{$font-family-base};
|
43
|
+
@include rfs($font-size-base, --#{$prefix}body-font-size);
|
44
|
+
--#{$prefix}body-font-weight: #{$font-weight-base};
|
45
|
+
--#{$prefix}body-line-height: #{$line-height-base};
|
46
|
+
--#{$prefix}body-color: #{$body-color};
|
48
47
|
@if $body-text-align != null {
|
49
|
-
--#{$
|
48
|
+
--#{$prefix}body-text-align: #{$body-text-align};
|
50
49
|
}
|
51
|
-
--#{$
|
50
|
+
--#{$prefix}body-bg: #{$body-bg};
|
52
51
|
// scss-docs-end root-body-variables
|
53
|
-
|
52
|
+
|
53
|
+
// scss-docs-start root-border-var
|
54
|
+
--#{$prefix}border-width: #{$border-width};
|
55
|
+
--#{$prefix}border-style: #{$border-style};
|
56
|
+
--#{$prefix}border-color: #{$border-color};
|
57
|
+
--#{$prefix}border-color-translucent: #{$border-color-translucent};
|
58
|
+
|
59
|
+
--#{$prefix}border-radius: #{$border-radius};
|
60
|
+
--#{$prefix}border-radius-sm: #{$border-radius-sm};
|
61
|
+
--#{$prefix}border-radius-lg: #{$border-radius-lg};
|
62
|
+
--#{$prefix}border-radius-xl: #{$border-radius-xl};
|
63
|
+
--#{$prefix}border-radius-2xl: #{$border-radius-2xl};
|
64
|
+
--#{$prefix}border-radius-pill: #{$border-radius-pill};
|
65
|
+
// scss-docs-end root-border-var
|
66
|
+
|
67
|
+
--#{$prefix}link-color: #{$link-color};
|
68
|
+
--#{$prefix}link-hover-color: #{$link-hover-color};
|
69
|
+
|
70
|
+
--#{$prefix}code-color: #{$code-color};
|
71
|
+
|
72
|
+
--#{$prefix}highlight-bg: #{$mark-bg};
|
54
73
|
}
|
@@ -2,6 +2,17 @@
|
|
2
2
|
// Rotating border
|
3
3
|
//
|
4
4
|
|
5
|
+
.spinner-grow,
|
6
|
+
.spinner-border {
|
7
|
+
display: inline-block;
|
8
|
+
width: var(--#{$prefix}spinner-width);
|
9
|
+
height: var(--#{$prefix}spinner-height);
|
10
|
+
vertical-align: var(--#{$prefix}spinner-vertical-align);
|
11
|
+
// stylelint-disable-next-line property-disallowed-list
|
12
|
+
border-radius: 50%;
|
13
|
+
animation: var(--#{$prefix}spinner-animation-speed) linear infinite var(--#{$prefix}spinner-animation-name);
|
14
|
+
}
|
15
|
+
|
5
16
|
// scss-docs-start spinner-border-keyframes
|
6
17
|
@keyframes spinner-border {
|
7
18
|
to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
|
@@ -9,21 +20,25 @@
|
|
9
20
|
// scss-docs-end spinner-border-keyframes
|
10
21
|
|
11
22
|
.spinner-border {
|
12
|
-
|
13
|
-
width: $spinner-width;
|
14
|
-
height: $spinner-height;
|
15
|
-
vertical-align: $spinner-vertical-align;
|
16
|
-
border: $spinner-border-width
|
23
|
+
// scss-docs-start spinner-border-css-vars
|
24
|
+
--#{$prefix}spinner-width: #{$spinner-width};
|
25
|
+
--#{$prefix}spinner-height: #{$spinner-height};
|
26
|
+
--#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
|
27
|
+
--#{$prefix}spinner-border-width: #{$spinner-border-width};
|
28
|
+
--#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
|
29
|
+
--#{$prefix}spinner-animation-name: spinner-border;
|
30
|
+
// scss-docs-end spinner-border-css-vars
|
31
|
+
|
32
|
+
border: var(--#{$prefix}spinner-border-width) solid currentcolor;
|
17
33
|
border-right-color: transparent;
|
18
|
-
// stylelint-disable-next-line property-disallowed-list
|
19
|
-
border-radius: 50%;
|
20
|
-
animation: $spinner-animation-speed linear infinite spinner-border;
|
21
34
|
}
|
22
35
|
|
23
36
|
.spinner-border-sm {
|
24
|
-
|
25
|
-
|
26
|
-
|
37
|
+
// scss-docs-start spinner-border-sm-css-vars
|
38
|
+
--#{$prefix}spinner-width: #{$spinner-width-sm};
|
39
|
+
--#{$prefix}spinner-height: #{$spinner-height-sm};
|
40
|
+
--#{$prefix}spinner-border-width: #{$spinner-border-width-sm};
|
41
|
+
// scss-docs-end spinner-border-sm-css-vars
|
27
42
|
}
|
28
43
|
|
29
44
|
//
|
@@ -43,27 +58,28 @@
|
|
43
58
|
// scss-docs-end spinner-grow-keyframes
|
44
59
|
|
45
60
|
.spinner-grow {
|
46
|
-
|
47
|
-
width: $spinner-width;
|
48
|
-
height: $spinner-height;
|
49
|
-
vertical-align: $spinner-vertical-align;
|
50
|
-
|
51
|
-
|
52
|
-
|
61
|
+
// scss-docs-start spinner-grow-css-vars
|
62
|
+
--#{$prefix}spinner-width: #{$spinner-width};
|
63
|
+
--#{$prefix}spinner-height: #{$spinner-height};
|
64
|
+
--#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
|
65
|
+
--#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
|
66
|
+
--#{$prefix}spinner-animation-name: spinner-grow;
|
67
|
+
// scss-docs-end spinner-grow-css-vars
|
68
|
+
|
69
|
+
background-color: currentcolor;
|
53
70
|
opacity: 0;
|
54
|
-
animation: $spinner-animation-speed linear infinite spinner-grow;
|
55
71
|
}
|
56
72
|
|
57
73
|
.spinner-grow-sm {
|
58
|
-
width: $spinner-width-sm;
|
59
|
-
height: $spinner-height-sm;
|
74
|
+
--#{$prefix}spinner-width: #{$spinner-width-sm};
|
75
|
+
--#{$prefix}spinner-height: #{$spinner-height-sm};
|
60
76
|
}
|
61
77
|
|
62
78
|
@if $enable-reduced-motion {
|
63
79
|
@media (prefers-reduced-motion: reduce) {
|
64
80
|
.spinner-border,
|
65
81
|
.spinner-grow {
|
66
|
-
animation-
|
82
|
+
--#{$prefix}spinner-animation-speed: #{$spinner-animation-speed * 2};
|
67
83
|
}
|
68
84
|
}
|
69
85
|
}
|