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
@@ -3,20 +3,22 @@
|
|
3
3
|
//
|
4
4
|
|
5
5
|
.table {
|
6
|
-
--#{$
|
7
|
-
--#{$
|
8
|
-
--#{$
|
9
|
-
--#{$
|
10
|
-
--#{$
|
11
|
-
--#{$
|
12
|
-
--#{$
|
13
|
-
--#{$
|
6
|
+
--#{$prefix}table-color: #{$table-color};
|
7
|
+
--#{$prefix}table-bg: #{$table-bg};
|
8
|
+
--#{$prefix}table-border-color: #{$table-border-color};
|
9
|
+
--#{$prefix}table-accent-bg: #{$table-accent-bg};
|
10
|
+
--#{$prefix}table-striped-color: #{$table-striped-color};
|
11
|
+
--#{$prefix}table-striped-bg: #{$table-striped-bg};
|
12
|
+
--#{$prefix}table-active-color: #{$table-active-color};
|
13
|
+
--#{$prefix}table-active-bg: #{$table-active-bg};
|
14
|
+
--#{$prefix}table-hover-color: #{$table-hover-color};
|
15
|
+
--#{$prefix}table-hover-bg: #{$table-hover-bg};
|
14
16
|
|
15
17
|
width: 100%;
|
16
18
|
margin-bottom: $spacer;
|
17
|
-
color: $table-color;
|
19
|
+
color: var(--#{$prefix}table-color);
|
18
20
|
vertical-align: $table-cell-vertical-align;
|
19
|
-
border-color: $table-border-color;
|
21
|
+
border-color: var(--#{$prefix}table-border-color);
|
20
22
|
|
21
23
|
// Target th & td
|
22
24
|
// We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.
|
@@ -25,9 +27,9 @@
|
|
25
27
|
// stylelint-disable-next-line selector-max-universal
|
26
28
|
> :not(caption) > * > * {
|
27
29
|
padding: $table-cell-padding-y $table-cell-padding-x;
|
28
|
-
background-color: var(--#{$
|
30
|
+
background-color: var(--#{$prefix}table-bg);
|
29
31
|
border-bottom-width: $table-border-width;
|
30
|
-
box-shadow: inset 0 0 0 9999px var(--#{$
|
32
|
+
box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-accent-bg);
|
31
33
|
}
|
32
34
|
|
33
35
|
> tbody {
|
@@ -37,13 +39,11 @@
|
|
37
39
|
> thead {
|
38
40
|
vertical-align: bottom;
|
39
41
|
}
|
40
|
-
|
41
|
-
// Highlight border color between thead, tbody and tfoot.
|
42
|
-
> :not(:first-child) {
|
43
|
-
border-top: (2 * $table-border-width) solid $table-group-separator-color;
|
44
|
-
}
|
45
42
|
}
|
46
43
|
|
44
|
+
.table-group-divider {
|
45
|
+
border-top: ($table-border-width * 2) solid $table-group-separator-color;
|
46
|
+
}
|
47
47
|
|
48
48
|
//
|
49
49
|
// Change placement of captions with a class
|
@@ -101,10 +101,19 @@
|
|
101
101
|
//
|
102
102
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
103
103
|
|
104
|
+
// For rows
|
104
105
|
.table-striped {
|
105
106
|
> tbody > tr:nth-of-type(#{$table-striped-order}) > * {
|
106
|
-
--#{$
|
107
|
-
color: var(--#{$
|
107
|
+
--#{$prefix}table-accent-bg: var(--#{$prefix}table-striped-bg);
|
108
|
+
color: var(--#{$prefix}table-striped-color);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// For columns
|
113
|
+
.table-striped-columns {
|
114
|
+
> :not(caption) > tr > :nth-child(#{$table-striped-columns-order}) {
|
115
|
+
--#{$prefix}table-accent-bg: var(--#{$prefix}table-striped-bg);
|
116
|
+
color: var(--#{$prefix}table-striped-color);
|
108
117
|
}
|
109
118
|
}
|
110
119
|
|
@@ -113,8 +122,8 @@
|
|
113
122
|
// The `.table-active` class can be added to highlight rows or cells
|
114
123
|
|
115
124
|
.table-active {
|
116
|
-
--#{$
|
117
|
-
color: var(--#{$
|
125
|
+
--#{$prefix}table-accent-bg: var(--#{$prefix}table-active-bg);
|
126
|
+
color: var(--#{$prefix}table-active-color);
|
118
127
|
}
|
119
128
|
|
120
129
|
// Hover effect
|
@@ -123,8 +132,8 @@
|
|
123
132
|
|
124
133
|
.table-hover {
|
125
134
|
> tbody > tr:hover > * {
|
126
|
-
--#{$
|
127
|
-
color: var(--#{$
|
135
|
+
--#{$prefix}table-accent-bg: var(--#{$prefix}table-hover-bg);
|
136
|
+
color: var(--#{$prefix}table-hover-color);
|
128
137
|
}
|
129
138
|
}
|
130
139
|
|
@@ -1,14 +1,32 @@
|
|
1
1
|
.toast {
|
2
|
-
|
2
|
+
// scss-docs-start toast-css-vars
|
3
|
+
--#{$prefix}toast-zindex: #{$zindex-toast};
|
4
|
+
--#{$prefix}toast-padding-x: #{$toast-padding-x};
|
5
|
+
--#{$prefix}toast-padding-y: #{$toast-padding-y};
|
6
|
+
--#{$prefix}toast-spacing: #{$toast-spacing};
|
7
|
+
--#{$prefix}toast-max-width: #{$toast-max-width};
|
8
|
+
@include rfs($toast-font-size, --#{$prefix}toast-font-size);
|
9
|
+
--#{$prefix}toast-color: #{$toast-color};
|
10
|
+
--#{$prefix}toast-bg: #{$toast-background-color};
|
11
|
+
--#{$prefix}toast-border-width: #{$toast-border-width};
|
12
|
+
--#{$prefix}toast-border-color: #{$toast-border-color};
|
13
|
+
--#{$prefix}toast-border-radius: #{$toast-border-radius};
|
14
|
+
--#{$prefix}toast-box-shadow: #{$toast-box-shadow};
|
15
|
+
--#{$prefix}toast-header-color: #{$toast-header-color};
|
16
|
+
--#{$prefix}toast-header-bg: #{$toast-header-background-color};
|
17
|
+
--#{$prefix}toast-header-border-color: #{$toast-header-border-color};
|
18
|
+
// scss-docs-end toast-css-vars
|
19
|
+
|
20
|
+
width: var(--#{$prefix}toast-max-width);
|
3
21
|
max-width: 100%;
|
4
|
-
@include font-size($toast-font-size);
|
5
|
-
color: $toast-color;
|
22
|
+
@include font-size(var(--#{$prefix}toast-font-size));
|
23
|
+
color: var(--#{$prefix}toast-color);
|
6
24
|
pointer-events: auto;
|
7
|
-
background-color: $toast-
|
25
|
+
background-color: var(--#{$prefix}toast-bg);
|
8
26
|
background-clip: padding-box;
|
9
|
-
border: $toast-border-width solid $toast-border-color;
|
10
|
-
box-shadow: $toast-box-shadow;
|
11
|
-
@include border-radius($toast-border-radius);
|
27
|
+
border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color);
|
28
|
+
box-shadow: var(--#{$prefix}toast-box-shadow);
|
29
|
+
@include border-radius(var(--#{$prefix}toast-border-radius));
|
12
30
|
|
13
31
|
&.showing {
|
14
32
|
opacity: 0;
|
@@ -20,32 +38,36 @@
|
|
20
38
|
}
|
21
39
|
|
22
40
|
.toast-container {
|
41
|
+
--#{$prefix}toast-zindex: #{$zindex-toast};
|
42
|
+
|
43
|
+
position: absolute;
|
44
|
+
z-index: var(--#{$prefix}toast-zindex);
|
23
45
|
width: max-content;
|
24
46
|
max-width: 100%;
|
25
47
|
pointer-events: none;
|
26
48
|
|
27
49
|
> :not(:last-child) {
|
28
|
-
margin-bottom: $toast-spacing;
|
50
|
+
margin-bottom: var(--#{$prefix}toast-spacing);
|
29
51
|
}
|
30
52
|
}
|
31
53
|
|
32
54
|
.toast-header {
|
33
55
|
display: flex;
|
34
56
|
align-items: center;
|
35
|
-
padding: $toast-padding-y $toast-padding-x;
|
36
|
-
color: $toast-header-color;
|
37
|
-
background-color: $toast-header-
|
57
|
+
padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);
|
58
|
+
color: var(--#{$prefix}toast-header-color);
|
59
|
+
background-color: var(--#{$prefix}toast-header-bg);
|
38
60
|
background-clip: padding-box;
|
39
|
-
border-bottom: $toast-border-width solid $toast-header-border-color;
|
40
|
-
@include border-top-radius(
|
61
|
+
border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color);
|
62
|
+
@include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));
|
41
63
|
|
42
64
|
.btn-close {
|
43
|
-
margin-right: $toast-padding-x
|
44
|
-
margin-left: $toast-padding-x;
|
65
|
+
margin-right: calc(-.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list
|
66
|
+
margin-left: var(--#{$prefix}toast-padding-x);
|
45
67
|
}
|
46
68
|
}
|
47
69
|
|
48
70
|
.toast-body {
|
49
|
-
padding: $toast-padding-x;
|
71
|
+
padding: var(--#{$prefix}toast-padding-x);
|
50
72
|
word-wrap: break-word;
|
51
73
|
}
|
@@ -1,24 +1,39 @@
|
|
1
1
|
// Base class
|
2
2
|
.tooltip {
|
3
|
-
|
4
|
-
|
3
|
+
// scss-docs-start tooltip-css-vars
|
4
|
+
--#{$prefix}tooltip-zindex: #{$zindex-tooltip};
|
5
|
+
--#{$prefix}tooltip-max-width: #{$tooltip-max-width};
|
6
|
+
--#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
|
7
|
+
--#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
|
8
|
+
--#{$prefix}tooltip-margin: #{$tooltip-margin};
|
9
|
+
@include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
|
10
|
+
--#{$prefix}tooltip-color: #{$tooltip-color};
|
11
|
+
--#{$prefix}tooltip-bg: #{$tooltip-bg};
|
12
|
+
--#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
|
13
|
+
--#{$prefix}tooltip-opacity: #{$tooltip-opacity};
|
14
|
+
--#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};
|
15
|
+
--#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
|
16
|
+
// scss-docs-end tooltip-css-vars
|
17
|
+
|
18
|
+
z-index: var(--#{$prefix}tooltip-zindex);
|
5
19
|
display: block;
|
6
|
-
|
20
|
+
padding: var(--#{$prefix}tooltip-arrow-height);
|
21
|
+
margin: var(--#{$prefix}tooltip-margin);
|
22
|
+
@include deprecate("`$tooltip-margin`", "v5", "v5.x", true);
|
7
23
|
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
8
24
|
// So reset our font and text properties to avoid inheriting weird values.
|
9
25
|
@include reset-text();
|
10
|
-
@include font-size($tooltip-font-size);
|
26
|
+
@include font-size(var(--#{$prefix}tooltip-font-size));
|
11
27
|
// Allow breaking very long words so they don't overflow the tooltip's bounds
|
12
28
|
word-wrap: break-word;
|
13
29
|
opacity: 0;
|
14
30
|
|
15
|
-
&.show { opacity: $tooltip-opacity; }
|
31
|
+
&.show { opacity: var(--#{$prefix}tooltip-opacity); }
|
16
32
|
|
17
33
|
.tooltip-arrow {
|
18
|
-
position: absolute;
|
19
34
|
display: block;
|
20
|
-
width: $tooltip-arrow-width;
|
21
|
-
height: $tooltip-arrow-height;
|
35
|
+
width: var(--#{$prefix}tooltip-arrow-width);
|
36
|
+
height: var(--#{$prefix}tooltip-arrow-height);
|
22
37
|
|
23
38
|
&::before {
|
24
39
|
position: absolute;
|
@@ -29,66 +44,56 @@
|
|
29
44
|
}
|
30
45
|
}
|
31
46
|
|
32
|
-
.bs-tooltip-top {
|
33
|
-
|
47
|
+
.bs-tooltip-top .tooltip-arrow {
|
48
|
+
bottom: 0;
|
34
49
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
top: -1px;
|
40
|
-
border-width: $tooltip-arrow-height ($tooltip-arrow-width * .5) 0;
|
41
|
-
border-top-color: $tooltip-arrow-color;
|
42
|
-
}
|
50
|
+
&::before {
|
51
|
+
top: -1px;
|
52
|
+
border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
53
|
+
border-top-color: var(--#{$prefix}tooltip-bg);
|
43
54
|
}
|
44
55
|
}
|
45
56
|
|
46
|
-
|
47
|
-
|
57
|
+
/* rtl:begin:ignore */
|
58
|
+
.bs-tooltip-end .tooltip-arrow {
|
59
|
+
left: 0;
|
60
|
+
width: var(--#{$prefix}tooltip-arrow-height);
|
61
|
+
height: var(--#{$prefix}tooltip-arrow-width);
|
48
62
|
|
49
|
-
|
50
|
-
|
51
|
-
width: $tooltip-arrow-height;
|
52
|
-
|
53
|
-
|
54
|
-
&::before {
|
55
|
-
right: -1px;
|
56
|
-
border-width: ($tooltip-arrow-width * .5) $tooltip-arrow-height ($tooltip-arrow-width * .5) 0;
|
57
|
-
border-right-color: $tooltip-arrow-color;
|
58
|
-
}
|
63
|
+
&::before {
|
64
|
+
right: -1px;
|
65
|
+
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
66
|
+
border-right-color: var(--#{$prefix}tooltip-bg);
|
59
67
|
}
|
60
68
|
}
|
61
69
|
|
62
|
-
|
63
|
-
padding: $tooltip-arrow-height 0;
|
70
|
+
/* rtl:end:ignore */
|
64
71
|
|
65
|
-
|
66
|
-
|
72
|
+
.bs-tooltip-bottom .tooltip-arrow {
|
73
|
+
top: 0;
|
67
74
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
}
|
75
|
+
&::before {
|
76
|
+
bottom: -1px;
|
77
|
+
border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
78
|
+
border-bottom-color: var(--#{$prefix}tooltip-bg);
|
73
79
|
}
|
74
80
|
}
|
75
81
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
width: $tooltip-arrow-height;
|
82
|
-
height: $tooltip-arrow-width;
|
82
|
+
/* rtl:begin:ignore */
|
83
|
+
.bs-tooltip-start .tooltip-arrow {
|
84
|
+
right: 0;
|
85
|
+
width: var(--#{$prefix}tooltip-arrow-height);
|
86
|
+
height: var(--#{$prefix}tooltip-arrow-width);
|
83
87
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
}
|
88
|
+
&::before {
|
89
|
+
left: -1px;
|
90
|
+
border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
|
91
|
+
border-left-color: var(--#{$prefix}tooltip-bg);
|
89
92
|
}
|
90
93
|
}
|
91
94
|
|
95
|
+
/* rtl:end:ignore */
|
96
|
+
|
92
97
|
.bs-tooltip-auto {
|
93
98
|
&[data-popper-placement^="top"] {
|
94
99
|
@extend .bs-tooltip-top;
|
@@ -106,10 +111,10 @@
|
|
106
111
|
|
107
112
|
// Wrapper for the tooltip content
|
108
113
|
.tooltip-inner {
|
109
|
-
max-width: $tooltip-max-width;
|
110
|
-
padding: $tooltip-padding-y $tooltip-padding-x;
|
111
|
-
color: $tooltip-color;
|
114
|
+
max-width: var(--#{$prefix}tooltip-max-width);
|
115
|
+
padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);
|
116
|
+
color: var(--#{$prefix}tooltip-color);
|
112
117
|
text-align: center;
|
113
|
-
background-color: $tooltip-bg;
|
114
|
-
@include border-radius($tooltip-border-radius);
|
118
|
+
background-color: var(--#{$prefix}tooltip-bg);
|
119
|
+
@include border-radius(var(--#{$prefix}tooltip-border-radius));
|
115
120
|
}
|
data/_sass/bootstrap/_type.scss
CHANGED
@@ -35,6 +35,8 @@
|
|
35
35
|
@each $display, $font-size in $display-font-sizes {
|
36
36
|
.display-#{$display} {
|
37
37
|
@include font-size($font-size);
|
38
|
+
font-family: $display-font-family;
|
39
|
+
font-style: $display-font-style;
|
38
40
|
font-weight: $display-font-weight;
|
39
41
|
line-height: $display-line-height;
|
40
42
|
}
|
@@ -1,5 +1,3 @@
|
|
1
|
-
// stylelint-disable indentation
|
2
|
-
|
3
1
|
// Utilities
|
4
2
|
|
5
3
|
$utilities: () !default;
|
@@ -101,14 +99,14 @@ $utilities: map-merge(
|
|
101
99
|
"border": (
|
102
100
|
property: border,
|
103
101
|
values: (
|
104
|
-
null: $border-width
|
102
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
|
105
103
|
0: 0,
|
106
104
|
)
|
107
105
|
),
|
108
106
|
"border-top": (
|
109
107
|
property: border-top,
|
110
108
|
values: (
|
111
|
-
null: $border-width
|
109
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
|
112
110
|
0: 0,
|
113
111
|
)
|
114
112
|
),
|
@@ -116,14 +114,14 @@ $utilities: map-merge(
|
|
116
114
|
property: border-right,
|
117
115
|
class: border-end,
|
118
116
|
values: (
|
119
|
-
null: $border-width
|
117
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
|
120
118
|
0: 0,
|
121
119
|
)
|
122
120
|
),
|
123
121
|
"border-bottom": (
|
124
122
|
property: border-bottom,
|
125
123
|
values: (
|
126
|
-
null: $border-width
|
124
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
|
127
125
|
0: 0,
|
128
126
|
)
|
129
127
|
),
|
@@ -131,20 +129,35 @@ $utilities: map-merge(
|
|
131
129
|
property: border-left,
|
132
130
|
class: border-start,
|
133
131
|
values: (
|
134
|
-
null: $border-width
|
132
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
|
135
133
|
0: 0,
|
136
134
|
)
|
137
135
|
),
|
138
136
|
"border-color": (
|
139
137
|
property: border-color,
|
140
138
|
class: border,
|
141
|
-
|
139
|
+
local-vars: (
|
140
|
+
"border-opacity": 1
|
141
|
+
),
|
142
|
+
values: $utilities-border-colors
|
142
143
|
),
|
143
144
|
"border-width": (
|
144
|
-
|
145
|
+
css-var: true,
|
146
|
+
css-variable-name: border-width,
|
145
147
|
class: border,
|
146
148
|
values: $border-widths
|
147
149
|
),
|
150
|
+
"border-opacity": (
|
151
|
+
css-var: true,
|
152
|
+
class: border-opacity,
|
153
|
+
values: (
|
154
|
+
10: .1,
|
155
|
+
25: .25,
|
156
|
+
50: .5,
|
157
|
+
75: .75,
|
158
|
+
100: 1
|
159
|
+
)
|
160
|
+
),
|
148
161
|
// scss-docs-end utils-borders
|
149
162
|
// Sizing utilities
|
150
163
|
// scss-docs-start utils-sizing
|
@@ -238,12 +251,6 @@ $utilities: map-merge(
|
|
238
251
|
class: flex,
|
239
252
|
values: wrap nowrap wrap-reverse
|
240
253
|
),
|
241
|
-
"gap": (
|
242
|
-
responsive: true,
|
243
|
-
property: gap,
|
244
|
-
class: gap,
|
245
|
-
values: $spacers
|
246
|
-
),
|
247
254
|
"justify-content": (
|
248
255
|
responsive: true,
|
249
256
|
property: justify-content,
|
@@ -436,13 +443,20 @@ $utilities: map-merge(
|
|
436
443
|
class: ps,
|
437
444
|
values: $spacers
|
438
445
|
),
|
446
|
+
// Gap utility
|
447
|
+
"gap": (
|
448
|
+
responsive: true,
|
449
|
+
property: gap,
|
450
|
+
class: gap,
|
451
|
+
values: $spacers
|
452
|
+
),
|
439
453
|
// scss-docs-end utils-spacing
|
440
454
|
// Text
|
441
455
|
// scss-docs-start utils-text
|
442
456
|
"font-family": (
|
443
457
|
property: font-family,
|
444
458
|
class: font,
|
445
|
-
values: (monospace: var(--#{$
|
459
|
+
values: (monospace: var(--#{$prefix}font-monospace))
|
446
460
|
),
|
447
461
|
"font-size": (
|
448
462
|
rfs: true,
|
@@ -463,6 +477,7 @@ $utilities: map-merge(
|
|
463
477
|
lighter: $font-weight-lighter,
|
464
478
|
normal: $font-weight-normal,
|
465
479
|
bold: $font-weight-bold,
|
480
|
+
semibold: $font-weight-semibold,
|
466
481
|
bolder: $font-weight-bolder
|
467
482
|
)
|
468
483
|
),
|
@@ -567,7 +582,7 @@ $utilities: map-merge(
|
|
567
582
|
"gradient": (
|
568
583
|
property: background-image,
|
569
584
|
class: bg,
|
570
|
-
values: (gradient: var(--#{$
|
585
|
+
values: (gradient: var(--#{$prefix}gradient))
|
571
586
|
),
|
572
587
|
// scss-docs-start utils-interaction
|
573
588
|
"user-select": (
|
@@ -585,34 +600,36 @@ $utilities: map-merge(
|
|
585
600
|
property: border-radius,
|
586
601
|
class: rounded,
|
587
602
|
values: (
|
588
|
-
null: $border-radius,
|
603
|
+
null: var(--#{$prefix}border-radius),
|
589
604
|
0: 0,
|
590
|
-
1: $border-radius-sm,
|
591
|
-
2: $border-radius,
|
592
|
-
3: $border-radius-lg,
|
605
|
+
1: var(--#{$prefix}border-radius-sm),
|
606
|
+
2: var(--#{$prefix}border-radius),
|
607
|
+
3: var(--#{$prefix}border-radius-lg),
|
608
|
+
4: var(--#{$prefix}border-radius-xl),
|
609
|
+
5: var(--#{$prefix}border-radius-2xl),
|
593
610
|
circle: 50%,
|
594
|
-
pill: $border-radius-pill
|
611
|
+
pill: var(--#{$prefix}border-radius-pill)
|
595
612
|
)
|
596
613
|
),
|
597
614
|
"rounded-top": (
|
598
615
|
property: border-top-left-radius border-top-right-radius,
|
599
616
|
class: rounded-top,
|
600
|
-
values: (null: $border-radius)
|
617
|
+
values: (null: var(--#{$prefix}border-radius))
|
601
618
|
),
|
602
619
|
"rounded-end": (
|
603
620
|
property: border-top-right-radius border-bottom-right-radius,
|
604
621
|
class: rounded-end,
|
605
|
-
values: (null: $border-radius)
|
622
|
+
values: (null: var(--#{$prefix}border-radius))
|
606
623
|
),
|
607
624
|
"rounded-bottom": (
|
608
625
|
property: border-bottom-right-radius border-bottom-left-radius,
|
609
626
|
class: rounded-bottom,
|
610
|
-
values: (null: $border-radius)
|
627
|
+
values: (null: var(--#{$prefix}border-radius))
|
611
628
|
),
|
612
629
|
"rounded-start": (
|
613
630
|
property: border-bottom-left-radius border-top-left-radius,
|
614
631
|
class: rounded-start,
|
615
|
-
values: (null: $border-radius)
|
632
|
+
values: (null: var(--#{$prefix}border-radius))
|
616
633
|
),
|
617
634
|
// scss-docs-end utils-border-radius
|
618
635
|
// scss-docs-start utils-visibility
|