bootstrap-scss 5.2.0 → 5.2.1
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.
- package/README.md +1 -1
- package/_accordion.scss +7 -4
- package/_alert.scss +71 -71
- package/_badge.scss +38 -38
- package/_breadcrumb.scss +40 -40
- package/_button-group.scss +1 -1
- package/_buttons.scss +23 -8
- package/_card.scss +234 -234
- package/_carousel.scss +229 -229
- package/_close.scss +40 -40
- package/_containers.scss +41 -41
- package/_dropdown.scss +2 -1
- package/_forms.scss +9 -9
- package/_functions.scss +1 -1
- package/_grid.scss +33 -33
- package/_helpers.scss +10 -10
- package/_list-group.scss +6 -5
- package/_maps.scss +54 -54
- package/_mixins.scss +43 -43
- package/_modal.scss +1 -1
- package/_nav.scss +2 -2
- package/_navbar.scss +2 -0
- package/_offcanvas.scss +5 -4
- package/_pagination.scss +1 -1
- package/_placeholders.scss +51 -51
- package/_popover.scss +5 -5
- package/_progress.scss +59 -59
- package/_reboot.scss +610 -610
- package/_root.scss +73 -73
- package/_spinners.scss +85 -85
- package/_tables.scss +164 -164
- package/_toasts.scss +3 -2
- package/_tooltip.scss +120 -120
- package/_transitions.scss +27 -27
- package/_type.scss +106 -106
- package/_utilities.scss +647 -647
- package/_variables.scss +17 -16
- package/bootstrap-grid.scss +64 -64
- package/bootstrap-reboot.scss +9 -9
- package/bootstrap-utilities.scss +15 -15
- package/bootstrap.scss +51 -51
- package/forms/_floating-labels.scss +1 -0
- package/forms/_form-check.scss +175 -175
- package/forms/_form-control.scss +194 -194
- package/forms/_form-range.scss +91 -91
- package/forms/_form-select.scss +71 -71
- package/forms/_form-text.scss +11 -11
- package/forms/_input-group.scss +7 -4
- package/forms/_labels.scss +36 -36
- package/forms/_validation.scss +12 -12
- package/helpers/_clearfix.scss +3 -3
- package/helpers/_color-bg.scss +10 -10
- package/helpers/_colored-links.scss +12 -12
- package/helpers/_position.scss +36 -36
- 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 -15
- package/mixins/_backdrop.scss +14 -14
- package/mixins/_banner.scss +2 -2
- 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 -70
- package/mixins/_caret.scss +64 -64
- package/mixins/_clearfix.scss +9 -9
- package/mixins/_color-scheme.scss +7 -7
- package/mixins/_container.scss +11 -11
- package/mixins/_forms.scss +10 -10
- package/mixins/_gradients.scss +47 -47
- package/mixins/_grid.scss +151 -151
- package/mixins/_image.scss +16 -16
- package/mixins/_list-group.scss +24 -24
- package/mixins/_lists.scss +7 -7
- package/mixins/_pagination.scss +10 -10
- package/mixins/_reset-text.scss +17 -17
- package/mixins/_table-variants.scss +24 -24
- package/mixins/_transition.scss +26 -26
- package/mixins/_utilities.scss +1 -1
- 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/_tooltip.scss
CHANGED
@@ -1,120 +1,120 @@
|
|
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
|
-
}
|
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,106 +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-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
|
-
}
|
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
|
+
}
|