bootstrap-scss 5.1.1 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +2 -2
- package/README.md +5 -5
- package/_accordion.scss +146 -118
- package/_alert.scss +71 -57
- package/_badge.scss +38 -29
- package/_breadcrumb.scss +40 -28
- package/_button-group.scss +142 -139
- package/_buttons.scss +186 -111
- package/_card.scss +234 -216
- package/_carousel.scss +229 -229
- package/_close.scss +40 -40
- package/_containers.scss +41 -41
- package/_dropdown.scss +248 -240
- package/_forms.scss +9 -9
- package/_functions.scss +302 -302
- package/_grid.scss +33 -33
- package/_helpers.scss +10 -9
- package/_list-group.scss +191 -174
- package/_maps.scss +54 -0
- package/_mixins.scss +43 -43
- package/_modal.scss +237 -209
- package/_nav.scss +172 -139
- package/_navbar.scss +276 -335
- package/_offcanvas.scss +143 -83
- package/_pagination.scss +109 -64
- package/_placeholders.scss +51 -51
- package/_popover.scss +196 -158
- package/_progress.scss +59 -48
- package/_reboot.scss +610 -625
- package/_root.scss +73 -54
- package/_spinners.scss +85 -69
- package/_tables.scss +164 -151
- package/_toasts.scss +70 -51
- package/_tooltip.scss +120 -115
- package/_transitions.scss +27 -27
- package/_type.scss +106 -104
- package/_utilities.scss +647 -630
- package/_variables.scss +1633 -1639
- package/bootstrap-grid.scss +64 -67
- package/bootstrap-reboot.scss +9 -13
- package/bootstrap-utilities.scss +15 -18
- package/bootstrap.scss +51 -53
- package/forms/_floating-labels.scss +74 -63
- package/forms/_form-check.scss +175 -152
- package/forms/_form-control.scss +194 -219
- package/forms/_form-range.scss +91 -91
- package/forms/_form-select.scss +71 -70
- package/forms/_form-text.scss +11 -11
- package/forms/_input-group.scss +129 -121
- package/forms/_labels.scss +36 -36
- package/forms/_validation.scss +12 -12
- package/helpers/_clearfix.scss +3 -3
- package/helpers/_color-bg.scss +10 -0
- package/helpers/_colored-links.scss +12 -12
- package/helpers/_position.scss +36 -30
- package/helpers/_ratio.scss +26 -26
- package/helpers/_stacks.scss +15 -15
- package/helpers/_stretched-link.scss +15 -15
- package/helpers/_text-truncation.scss +7 -7
- package/helpers/_visually-hidden.scss +8 -8
- package/helpers/_vr.scss +8 -8
- package/mixins/_alert.scss +15 -11
- package/mixins/_backdrop.scss +14 -14
- package/mixins/_banner.scss +9 -0
- package/mixins/_border-radius.scss +78 -78
- package/mixins/_box-shadow.scss +18 -18
- package/mixins/_breakpoints.scss +127 -127
- package/mixins/_buttons.scss +70 -133
- package/mixins/_caret.scss +64 -64
- package/mixins/_clearfix.scss +9 -9
- package/mixins/_color-scheme.scss +7 -7
- package/mixins/_container.scss +11 -9
- package/mixins/_forms.scss +152 -144
- package/mixins/_gradients.scss +47 -47
- package/mixins/_grid.scss +151 -150
- package/mixins/_image.scss +16 -16
- package/mixins/_list-group.scss +24 -24
- package/mixins/_lists.scss +7 -7
- package/mixins/_pagination.scss +10 -31
- package/mixins/_reset-text.scss +17 -17
- package/mixins/_table-variants.scss +24 -21
- package/mixins/_transition.scss +26 -26
- package/mixins/_utilities.scss +97 -89
- package/mixins/_visually-hidden.scss +29 -29
- package/package.json +1 -1
- package/utilities/_api.scss +47 -47
- package/vendor/_rfs.scss +354 -354
package/_toasts.scss
CHANGED
@@ -1,51 +1,70 @@
|
|
1
|
-
.toast {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
1
|
+
.toast {
|
2
|
+
// scss-docs-start toast-css-vars
|
3
|
+
--#{$prefix}toast-padding-x: #{$toast-padding-x};
|
4
|
+
--#{$prefix}toast-padding-y: #{$toast-padding-y};
|
5
|
+
--#{$prefix}toast-spacing: #{$toast-spacing};
|
6
|
+
--#{$prefix}toast-max-width: #{$toast-max-width};
|
7
|
+
@include rfs($toast-font-size, --#{$prefix}toast-font-size);
|
8
|
+
--#{$prefix}toast-color: #{$toast-color};
|
9
|
+
--#{$prefix}toast-bg: #{$toast-background-color};
|
10
|
+
--#{$prefix}toast-border-width: #{$toast-border-width};
|
11
|
+
--#{$prefix}toast-border-color: #{$toast-border-color};
|
12
|
+
--#{$prefix}toast-border-radius: #{$toast-border-radius};
|
13
|
+
--#{$prefix}toast-box-shadow: #{$toast-box-shadow};
|
14
|
+
--#{$prefix}toast-header-color: #{$toast-header-color};
|
15
|
+
--#{$prefix}toast-header-bg: #{$toast-header-background-color};
|
16
|
+
--#{$prefix}toast-header-border-color: #{$toast-header-border-color};
|
17
|
+
// scss-docs-end toast-css-vars
|
18
|
+
|
19
|
+
width: var(--#{$prefix}toast-max-width);
|
20
|
+
max-width: 100%;
|
21
|
+
@include font-size(var(--#{$prefix}toast-font-size));
|
22
|
+
color: var(--#{$prefix}toast-color);
|
23
|
+
pointer-events: auto;
|
24
|
+
background-color: var(--#{$prefix}toast-bg);
|
25
|
+
background-clip: padding-box;
|
26
|
+
border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color);
|
27
|
+
box-shadow: var(--#{$prefix}toast-box-shadow);
|
28
|
+
@include border-radius(var(--#{$prefix}toast-border-radius));
|
29
|
+
|
30
|
+
&.showing {
|
31
|
+
opacity: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
&:not(.show) {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.toast-container {
|
40
|
+
position: absolute;
|
41
|
+
z-index: $zindex-toast;
|
42
|
+
width: max-content;
|
43
|
+
max-width: 100%;
|
44
|
+
pointer-events: none;
|
45
|
+
|
46
|
+
> :not(:last-child) {
|
47
|
+
margin-bottom: var(--#{$prefix}toast-spacing);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.toast-header {
|
52
|
+
display: flex;
|
53
|
+
align-items: center;
|
54
|
+
padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);
|
55
|
+
color: var(--#{$prefix}toast-header-color);
|
56
|
+
background-color: var(--#{$prefix}toast-header-bg);
|
57
|
+
background-clip: padding-box;
|
58
|
+
border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color);
|
59
|
+
@include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));
|
60
|
+
|
61
|
+
.btn-close {
|
62
|
+
margin-right: calc(var(--#{$prefix}toast-padding-x) * -.5); // stylelint-disable-line function-disallowed-list
|
63
|
+
margin-left: var(--#{$prefix}toast-padding-x);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.toast-body {
|
68
|
+
padding: var(--#{$prefix}toast-padding-x);
|
69
|
+
word-wrap: break-word;
|
70
|
+
}
|
package/_tooltip.scss
CHANGED
@@ -1,115 +1,120 @@
|
|
1
|
-
// Base class
|
2
|
-
.tooltip {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
@include
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
opacity:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
&::before {
|
39
|
-
|
40
|
-
|
41
|
-
border-
|
42
|
-
|
43
|
-
|
44
|
-
}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
}
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
}
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
.tooltip-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
}
|
1
|
+
// Base class
|
2
|
+
.tooltip {
|
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);
|
19
|
+
display: block;
|
20
|
+
padding: var(--#{$prefix}tooltip-arrow-height);
|
21
|
+
margin: var(--#{$prefix}tooltip-margin);
|
22
|
+
@include deprecate("`$tooltip-margin`", "v5", "v5.x", true);
|
23
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
24
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
25
|
+
@include reset-text();
|
26
|
+
@include font-size(var(--#{$prefix}tooltip-font-size));
|
27
|
+
// Allow breaking very long words so they don't overflow the tooltip's bounds
|
28
|
+
word-wrap: break-word;
|
29
|
+
opacity: 0;
|
30
|
+
|
31
|
+
&.show { opacity: var(--#{$prefix}tooltip-opacity); }
|
32
|
+
|
33
|
+
.tooltip-arrow {
|
34
|
+
display: block;
|
35
|
+
width: var(--#{$prefix}tooltip-arrow-width);
|
36
|
+
height: var(--#{$prefix}tooltip-arrow-height);
|
37
|
+
|
38
|
+
&::before {
|
39
|
+
position: absolute;
|
40
|
+
content: "";
|
41
|
+
border-color: transparent;
|
42
|
+
border-style: solid;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.bs-tooltip-top .tooltip-arrow {
|
48
|
+
bottom: 0;
|
49
|
+
|
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);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
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);
|
62
|
+
|
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);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
/* rtl:end:ignore */
|
71
|
+
|
72
|
+
.bs-tooltip-bottom .tooltip-arrow {
|
73
|
+
top: 0;
|
74
|
+
|
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);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
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);
|
87
|
+
|
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);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
/* rtl:end:ignore */
|
96
|
+
|
97
|
+
.bs-tooltip-auto {
|
98
|
+
&[data-popper-placement^="top"] {
|
99
|
+
@extend .bs-tooltip-top;
|
100
|
+
}
|
101
|
+
&[data-popper-placement^="right"] {
|
102
|
+
@extend .bs-tooltip-end;
|
103
|
+
}
|
104
|
+
&[data-popper-placement^="bottom"] {
|
105
|
+
@extend .bs-tooltip-bottom;
|
106
|
+
}
|
107
|
+
&[data-popper-placement^="left"] {
|
108
|
+
@extend .bs-tooltip-start;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// Wrapper for the tooltip content
|
113
|
+
.tooltip-inner {
|
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);
|
117
|
+
text-align: center;
|
118
|
+
background-color: var(--#{$prefix}tooltip-bg);
|
119
|
+
@include border-radius(var(--#{$prefix}tooltip-border-radius));
|
120
|
+
}
|
package/_transitions.scss
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
.fade {
|
2
|
-
@include transition($transition-fade);
|
3
|
-
|
4
|
-
&:not(.show) {
|
5
|
-
opacity: 0;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
// scss-docs-start collapse-classes
|
10
|
-
.collapse {
|
11
|
-
&:not(.show) {
|
12
|
-
display: none;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.collapsing {
|
17
|
-
height: 0;
|
18
|
-
overflow: hidden;
|
19
|
-
@include transition($transition-collapse);
|
20
|
-
|
21
|
-
&.collapse-horizontal {
|
22
|
-
width: 0;
|
23
|
-
height: auto;
|
24
|
-
@include transition($transition-collapse-width);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
// scss-docs-end collapse-classes
|
1
|
+
.fade {
|
2
|
+
@include transition($transition-fade);
|
3
|
+
|
4
|
+
&:not(.show) {
|
5
|
+
opacity: 0;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// scss-docs-start collapse-classes
|
10
|
+
.collapse {
|
11
|
+
&:not(.show) {
|
12
|
+
display: none;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
.collapsing {
|
17
|
+
height: 0;
|
18
|
+
overflow: hidden;
|
19
|
+
@include transition($transition-collapse);
|
20
|
+
|
21
|
+
&.collapse-horizontal {
|
22
|
+
width: 0;
|
23
|
+
height: auto;
|
24
|
+
@include transition($transition-collapse-width);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
// scss-docs-end collapse-classes
|
package/_type.scss
CHANGED
@@ -1,104 +1,106 @@
|
|
1
|
-
//
|
2
|
-
// Headings
|
3
|
-
//
|
4
|
-
.h1 {
|
5
|
-
@extend h1;
|
6
|
-
}
|
7
|
-
|
8
|
-
.h2 {
|
9
|
-
@extend h2;
|
10
|
-
}
|
11
|
-
|
12
|
-
.h3 {
|
13
|
-
@extend h3;
|
14
|
-
}
|
15
|
-
|
16
|
-
.h4 {
|
17
|
-
@extend h4;
|
18
|
-
}
|
19
|
-
|
20
|
-
.h5 {
|
21
|
-
@extend h5;
|
22
|
-
}
|
23
|
-
|
24
|
-
.h6 {
|
25
|
-
@extend h6;
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
.lead {
|
30
|
-
@include font-size($lead-font-size);
|
31
|
-
font-weight: $lead-font-weight;
|
32
|
-
}
|
33
|
-
|
34
|
-
// Type display classes
|
35
|
-
@each $display, $font-size in $display-font-sizes {
|
36
|
-
.display-#{$display} {
|
37
|
-
@include font-size($font-size);
|
38
|
-
font-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
//
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
//
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
//
|
78
|
-
|
79
|
-
//
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
1
|
+
//
|
2
|
+
// Headings
|
3
|
+
//
|
4
|
+
.h1 {
|
5
|
+
@extend h1;
|
6
|
+
}
|
7
|
+
|
8
|
+
.h2 {
|
9
|
+
@extend h2;
|
10
|
+
}
|
11
|
+
|
12
|
+
.h3 {
|
13
|
+
@extend h3;
|
14
|
+
}
|
15
|
+
|
16
|
+
.h4 {
|
17
|
+
@extend h4;
|
18
|
+
}
|
19
|
+
|
20
|
+
.h5 {
|
21
|
+
@extend h5;
|
22
|
+
}
|
23
|
+
|
24
|
+
.h6 {
|
25
|
+
@extend h6;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
.lead {
|
30
|
+
@include font-size($lead-font-size);
|
31
|
+
font-weight: $lead-font-weight;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Type display classes
|
35
|
+
@each $display, $font-size in $display-font-sizes {
|
36
|
+
.display-#{$display} {
|
37
|
+
@include font-size($font-size);
|
38
|
+
font-family: $display-font-family;
|
39
|
+
font-style: $display-font-style;
|
40
|
+
font-weight: $display-font-weight;
|
41
|
+
line-height: $display-line-height;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
//
|
46
|
+
// Emphasis
|
47
|
+
//
|
48
|
+
.small {
|
49
|
+
@extend small;
|
50
|
+
}
|
51
|
+
|
52
|
+
.mark {
|
53
|
+
@extend mark;
|
54
|
+
}
|
55
|
+
|
56
|
+
//
|
57
|
+
// Lists
|
58
|
+
//
|
59
|
+
|
60
|
+
.list-unstyled {
|
61
|
+
@include list-unstyled();
|
62
|
+
}
|
63
|
+
|
64
|
+
// Inline turns list items into inline-block
|
65
|
+
.list-inline {
|
66
|
+
@include list-unstyled();
|
67
|
+
}
|
68
|
+
.list-inline-item {
|
69
|
+
display: inline-block;
|
70
|
+
|
71
|
+
&:not(:last-child) {
|
72
|
+
margin-right: $list-inline-padding;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
//
|
78
|
+
// Misc
|
79
|
+
//
|
80
|
+
|
81
|
+
// Builds on `abbr`
|
82
|
+
.initialism {
|
83
|
+
@include font-size($initialism-font-size);
|
84
|
+
text-transform: uppercase;
|
85
|
+
}
|
86
|
+
|
87
|
+
// Blockquotes
|
88
|
+
.blockquote {
|
89
|
+
margin-bottom: $blockquote-margin-y;
|
90
|
+
@include font-size($blockquote-font-size);
|
91
|
+
|
92
|
+
> :last-child {
|
93
|
+
margin-bottom: 0;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.blockquote-footer {
|
98
|
+
margin-top: -$blockquote-margin-y;
|
99
|
+
margin-bottom: $blockquote-margin-y;
|
100
|
+
@include font-size($blockquote-footer-font-size);
|
101
|
+
color: $blockquote-footer-color;
|
102
|
+
|
103
|
+
&::before {
|
104
|
+
content: "\2014\00A0"; // em dash, nbsp
|
105
|
+
}
|
106
|
+
}
|