bootstrap-scss 5.1.3 → 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 -155
- 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 -1641
- 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 -72
- 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 -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 -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/_button-group.scss
CHANGED
@@ -1,139 +1,142 @@
|
|
1
|
-
// Make the div behave like a button
|
2
|
-
.btn-group,
|
3
|
-
.btn-group-vertical {
|
4
|
-
position: relative;
|
5
|
-
display: inline-flex;
|
6
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
7
|
-
|
8
|
-
> .btn {
|
9
|
-
position: relative;
|
10
|
-
flex: 1 1 auto;
|
11
|
-
}
|
12
|
-
|
13
|
-
// Bring the hover, focused, and "active" buttons to the front to overlay
|
14
|
-
// the borders properly
|
15
|
-
> .btn-check:checked + .btn,
|
16
|
-
> .btn-check:focus + .btn,
|
17
|
-
> .btn:hover,
|
18
|
-
> .btn:focus,
|
19
|
-
> .btn:active,
|
20
|
-
> .btn.active {
|
21
|
-
z-index: 1;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
// Optional: Group multiple button groups together for a toolbar
|
26
|
-
.btn-toolbar {
|
27
|
-
display: flex;
|
28
|
-
flex-wrap: wrap;
|
29
|
-
justify-content: flex-start;
|
30
|
-
|
31
|
-
.input-group {
|
32
|
-
width: auto;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.btn-group {
|
37
|
-
|
38
|
-
|
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
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
1
|
+
// Make the div behave like a button
|
2
|
+
.btn-group,
|
3
|
+
.btn-group-vertical {
|
4
|
+
position: relative;
|
5
|
+
display: inline-flex;
|
6
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
7
|
+
|
8
|
+
> .btn {
|
9
|
+
position: relative;
|
10
|
+
flex: 1 1 auto;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Bring the hover, focused, and "active" buttons to the front to overlay
|
14
|
+
// the borders properly
|
15
|
+
> .btn-check:checked + .btn,
|
16
|
+
> .btn-check:focus + .btn,
|
17
|
+
> .btn:hover,
|
18
|
+
> .btn:focus,
|
19
|
+
> .btn:active,
|
20
|
+
> .btn.active {
|
21
|
+
z-index: 1;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// Optional: Group multiple button groups together for a toolbar
|
26
|
+
.btn-toolbar {
|
27
|
+
display: flex;
|
28
|
+
flex-wrap: wrap;
|
29
|
+
justify-content: flex-start;
|
30
|
+
|
31
|
+
.input-group {
|
32
|
+
width: auto;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.btn-group {
|
37
|
+
@include border-radius($btn-border-radius);
|
38
|
+
|
39
|
+
// Prevent double borders when buttons are next to each other
|
40
|
+
> .btn:not(:first-child),
|
41
|
+
> .btn-group:not(:first-child) {
|
42
|
+
margin-left: -$btn-border-width;
|
43
|
+
}
|
44
|
+
|
45
|
+
// Reset rounded corners
|
46
|
+
> .btn:not(:last-child):not(.dropdown-toggle),
|
47
|
+
> .btn.dropdown-toggle-split:first-child,
|
48
|
+
> .btn-group:not(:last-child) > .btn {
|
49
|
+
@include border-end-radius(0);
|
50
|
+
}
|
51
|
+
|
52
|
+
// The left radius should be 0 if the button is:
|
53
|
+
// - the "third or more" child
|
54
|
+
// - the second child and the previous element isn't `.btn-check` (making it the first child visually)
|
55
|
+
// - part of a btn-group which isn't the first child
|
56
|
+
> .btn:nth-child(n + 3),
|
57
|
+
> :not(.btn-check) + .btn,
|
58
|
+
> .btn-group:not(:first-child) > .btn {
|
59
|
+
@include border-start-radius(0);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// Sizing
|
64
|
+
//
|
65
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
66
|
+
|
67
|
+
.btn-group-sm > .btn { @extend .btn-sm; }
|
68
|
+
.btn-group-lg > .btn { @extend .btn-lg; }
|
69
|
+
|
70
|
+
|
71
|
+
//
|
72
|
+
// Split button dropdowns
|
73
|
+
//
|
74
|
+
|
75
|
+
.dropdown-toggle-split {
|
76
|
+
padding-right: $btn-padding-x * .75;
|
77
|
+
padding-left: $btn-padding-x * .75;
|
78
|
+
|
79
|
+
&::after,
|
80
|
+
.dropup &::after,
|
81
|
+
.dropend &::after {
|
82
|
+
margin-left: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
.dropstart &::before {
|
86
|
+
margin-right: 0;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.btn-sm + .dropdown-toggle-split {
|
91
|
+
padding-right: $btn-padding-x-sm * .75;
|
92
|
+
padding-left: $btn-padding-x-sm * .75;
|
93
|
+
}
|
94
|
+
|
95
|
+
.btn-lg + .dropdown-toggle-split {
|
96
|
+
padding-right: $btn-padding-x-lg * .75;
|
97
|
+
padding-left: $btn-padding-x-lg * .75;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// The clickable button for toggling the menu
|
102
|
+
// Set the same inset shadow as the :active state
|
103
|
+
.btn-group.show .dropdown-toggle {
|
104
|
+
@include box-shadow($btn-active-box-shadow);
|
105
|
+
|
106
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
107
|
+
&.btn-link {
|
108
|
+
@include box-shadow(none);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
//
|
114
|
+
// Vertical button groups
|
115
|
+
//
|
116
|
+
|
117
|
+
.btn-group-vertical {
|
118
|
+
flex-direction: column;
|
119
|
+
align-items: flex-start;
|
120
|
+
justify-content: center;
|
121
|
+
|
122
|
+
> .btn,
|
123
|
+
> .btn-group {
|
124
|
+
width: 100%;
|
125
|
+
}
|
126
|
+
|
127
|
+
> .btn:not(:first-child),
|
128
|
+
> .btn-group:not(:first-child) {
|
129
|
+
margin-top: -$btn-border-width;
|
130
|
+
}
|
131
|
+
|
132
|
+
// Reset rounded corners
|
133
|
+
> .btn:not(:last-child):not(.dropdown-toggle),
|
134
|
+
> .btn-group:not(:last-child) > .btn {
|
135
|
+
@include border-bottom-radius(0);
|
136
|
+
}
|
137
|
+
|
138
|
+
> .btn ~ .btn,
|
139
|
+
> .btn-group:not(:first-child) > .btn {
|
140
|
+
@include border-top-radius(0);
|
141
|
+
}
|
142
|
+
}
|
package/_buttons.scss
CHANGED
@@ -1,111 +1,186 @@
|
|
1
|
-
//
|
2
|
-
// Base styles
|
3
|
-
//
|
4
|
-
|
5
|
-
.btn {
|
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
|
-
}
|
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
|
-
.btn
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.btn {
|
6
|
+
// scss-docs-start btn-css-vars
|
7
|
+
--#{$prefix}btn-padding-x: #{$btn-padding-x};
|
8
|
+
--#{$prefix}btn-padding-y: #{$btn-padding-y};
|
9
|
+
--#{$prefix}btn-font-family: #{$btn-font-family};
|
10
|
+
@include rfs($btn-font-size, --#{$prefix}btn-font-size);
|
11
|
+
--#{$prefix}btn-font-weight: #{$btn-font-weight};
|
12
|
+
--#{$prefix}btn-line-height: #{$btn-line-height};
|
13
|
+
--#{$prefix}btn-color: #{$body-color};
|
14
|
+
--#{$prefix}btn-bg: transparent;
|
15
|
+
--#{$prefix}btn-border-width: #{$btn-border-width};
|
16
|
+
--#{$prefix}btn-border-color: transparent;
|
17
|
+
--#{$prefix}btn-border-radius: #{$btn-border-radius};
|
18
|
+
--#{$prefix}btn-box-shadow: #{$btn-box-shadow};
|
19
|
+
--#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};
|
20
|
+
--#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);
|
21
|
+
// scss-docs-end btn-css-vars
|
22
|
+
|
23
|
+
display: inline-block;
|
24
|
+
padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);
|
25
|
+
font-family: var(--#{$prefix}btn-font-family);
|
26
|
+
@include font-size(var(--#{$prefix}btn-font-size));
|
27
|
+
font-weight: var(--#{$prefix}btn-font-weight);
|
28
|
+
line-height: var(--#{$prefix}btn-line-height);
|
29
|
+
color: var(--#{$prefix}btn-color);
|
30
|
+
text-align: center;
|
31
|
+
text-decoration: if($link-decoration == none, null, none);
|
32
|
+
white-space: $btn-white-space;
|
33
|
+
vertical-align: middle;
|
34
|
+
cursor: if($enable-button-pointers, pointer, null);
|
35
|
+
user-select: none;
|
36
|
+
border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);
|
37
|
+
@include border-radius(var(--#{$prefix}btn-border-radius));
|
38
|
+
@include gradient-bg(var(--#{$prefix}btn-bg));
|
39
|
+
@include box-shadow(var(--#{$prefix}btn-box-shadow));
|
40
|
+
@include transition($btn-transition);
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
color: var(--#{$prefix}btn-hover-color);
|
44
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
45
|
+
background-color: var(--#{$prefix}btn-hover-bg);
|
46
|
+
border-color: var(--#{$prefix}btn-hover-border-color);
|
47
|
+
}
|
48
|
+
|
49
|
+
.btn-check:focus + &,
|
50
|
+
&:focus {
|
51
|
+
color: var(--#{$prefix}btn-hover-color);
|
52
|
+
@include gradient-bg(var(--#{$prefix}btn-hover-bg));
|
53
|
+
border-color: var(--#{$prefix}btn-hover-border-color);
|
54
|
+
outline: 0;
|
55
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
56
|
+
@if $enable-shadows {
|
57
|
+
box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
58
|
+
} @else {
|
59
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.btn-check:checked + &,
|
64
|
+
.btn-check:active + &,
|
65
|
+
&:active,
|
66
|
+
&.active,
|
67
|
+
&.show {
|
68
|
+
color: var(--#{$prefix}btn-active-color);
|
69
|
+
background-color: var(--#{$prefix}btn-active-bg);
|
70
|
+
// Remove CSS gradients if they're enabled
|
71
|
+
background-image: if($enable-gradients, none, null);
|
72
|
+
border-color: var(--#{$prefix}btn-active-border-color);
|
73
|
+
@include box-shadow(var(--#{$prefix}btn-active-shadow));
|
74
|
+
|
75
|
+
&:focus {
|
76
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
77
|
+
@if $enable-shadows {
|
78
|
+
box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
79
|
+
} @else {
|
80
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
&:disabled,
|
86
|
+
&.disabled,
|
87
|
+
fieldset:disabled & {
|
88
|
+
color: var(--#{$prefix}btn-disabled-color);
|
89
|
+
pointer-events: none;
|
90
|
+
background-color: var(--#{$prefix}btn-disabled-bg);
|
91
|
+
background-image: if($enable-gradients, none, null);
|
92
|
+
border-color: var(--#{$prefix}btn-disabled-border-color);
|
93
|
+
opacity: var(--#{$prefix}btn-disabled-opacity);
|
94
|
+
@include box-shadow(none);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
//
|
100
|
+
// Alternate buttons
|
101
|
+
//
|
102
|
+
|
103
|
+
// scss-docs-start btn-variant-loops
|
104
|
+
@each $color, $value in $theme-colors {
|
105
|
+
.btn-#{$color} {
|
106
|
+
@if $color == "light" {
|
107
|
+
@include button-variant(
|
108
|
+
$value,
|
109
|
+
$value,
|
110
|
+
$hover-background: shade-color($value, $btn-hover-bg-shade-amount),
|
111
|
+
$hover-border: shade-color($value, $btn-hover-border-shade-amount),
|
112
|
+
$active-background: shade-color($value, $btn-active-bg-shade-amount),
|
113
|
+
$active-border: shade-color($value, $btn-active-border-shade-amount)
|
114
|
+
);
|
115
|
+
} @else if $color == "dark" {
|
116
|
+
@include button-variant(
|
117
|
+
$value,
|
118
|
+
$value,
|
119
|
+
$hover-background: tint-color($value, $btn-hover-bg-tint-amount),
|
120
|
+
$hover-border: tint-color($value, $btn-hover-border-tint-amount),
|
121
|
+
$active-background: tint-color($value, $btn-active-bg-tint-amount),
|
122
|
+
$active-border: tint-color($value, $btn-active-border-tint-amount)
|
123
|
+
);
|
124
|
+
} @else {
|
125
|
+
@include button-variant($value, $value);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
@each $color, $value in $theme-colors {
|
131
|
+
.btn-outline-#{$color} {
|
132
|
+
@include button-outline-variant($value);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
// scss-docs-end btn-variant-loops
|
136
|
+
|
137
|
+
|
138
|
+
//
|
139
|
+
// Link buttons
|
140
|
+
//
|
141
|
+
|
142
|
+
// Make a button look and behave like a link
|
143
|
+
.btn-link {
|
144
|
+
--#{$prefix}btn-font-weight: #{$font-weight-normal};
|
145
|
+
--#{$prefix}btn-color: #{$btn-link-color};
|
146
|
+
--#{$prefix}btn-bg: transparent;
|
147
|
+
--#{$prefix}btn-border-color: transparent;
|
148
|
+
--#{$prefix}btn-hover-color: #{$btn-link-hover-color};
|
149
|
+
--#{$prefix}btn-hover-border-color: transparent;
|
150
|
+
--#{$prefix}btn-active-color: #{$btn-link-hover-color};
|
151
|
+
--#{$prefix}btn-active-border-color: transparent;
|
152
|
+
--#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
|
153
|
+
--#{$prefix}btn-disabled-border-color: transparent;
|
154
|
+
--#{$prefix}btn-box-shadow: none;
|
155
|
+
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};
|
156
|
+
|
157
|
+
text-decoration: $link-decoration;
|
158
|
+
|
159
|
+
&:hover,
|
160
|
+
&:focus {
|
161
|
+
text-decoration: $link-hover-decoration;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:focus {
|
165
|
+
color: var(--#{$prefix}btn-color);
|
166
|
+
}
|
167
|
+
|
168
|
+
&:hover {
|
169
|
+
color: var(--#{$prefix}btn-hover-color);
|
170
|
+
}
|
171
|
+
|
172
|
+
// No need for an active state here
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
//
|
177
|
+
// Button Sizes
|
178
|
+
//
|
179
|
+
|
180
|
+
.btn-lg {
|
181
|
+
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);
|
182
|
+
}
|
183
|
+
|
184
|
+
.btn-sm {
|
185
|
+
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
|
186
|
+
}
|