@@ -60,12 +60,13 @@ $button-outlined-background-color: transparent !default;
60
60
height : var (--#{$prefix}button-height , $button-height );
61
61
62
62
& __wrapper {
63
- @include side-flex-gap ($button-margin-icon-to-text );
64
63
display : inline-flex ;
65
64
align-items : center ;
66
65
justify-content : center ;
67
66
position : relative ;
68
67
width : 100% ;
68
+
69
+ @include side-flex-gap ($button-margin-icon-to-text );
69
70
}
70
71
71
72
& __label {
@@ -89,14 +90,14 @@ $button-outlined-background-color: transparent !default;
89
90
pointer-events : none ;
90
91
}
91
92
92
- // size variants
93
+ /* size variants*/
93
94
@each $name , $value in $sizes {
94
95
& --#{$name} {
95
96
font-size : var (--#{$prefix}button-font-size-#{$name} , $value );
96
97
}
97
98
}
98
99
99
- // color variants
100
+ /* color variants*/
100
101
@each $name , $pair in $colors {
101
102
$color : list .nth ($pair , 1 );
102
103
$color-invert : list .nth ($pair , 2 );
@@ -109,8 +110,8 @@ $button-outlined-background-color: transparent !default;
109
110
color : var (--#{$prefix}variant-invert-#{$name} , $color-invert );
110
111
111
112
& :hover {
112
- // background-color: darken($color, 2.5%)
113
- // IE 11 needs polyfill
113
+ /* background-color: darken($color, 2.5%)*/
114
+ /* IE 11 needs polyfill*/
114
115
filter : brightness (97.5% );
115
116
}
116
117
}
@@ -187,8 +188,8 @@ $button-outlined-background-color: transparent !default;
187
188
color : var (--#{$prefix}button-background-color , $button-background-color );
188
189
189
190
& :hover {
190
- // background-color: darken($color-invert, 5%)
191
- // IE 11 needs polyfill
191
+ /* background-color: darken($color-invert, 5%)*/
192
+ /* IE 11 needs polyfill*/
192
193
filter : brightness (95% );
193
194
}
194
195
@@ -208,15 +209,15 @@ $button-outlined-background-color: transparent !default;
208
209
209
210
& :focus ,
210
211
& :hover {
211
- // background-color: darken($color-invert, 5%)
212
- // IE 11 needs polyfill
212
+ /* background-color: darken($color-invert, 5%)*/
213
+ /* IE 11 needs polyfill*/
213
214
filter : brightness (95% );
214
215
}
215
216
}
216
217
}
217
218
}
218
219
219
- // focus effect
220
+ /* focus effect*/
220
221
& :focus ,
221
222
& :focus-within {
222
223
box-shadow : 0 0 0 0.25rem var (--#{$prefix}focus );
0 commit comments