Skip to content

Commit b1040f0

Browse files
committed
fix: primary and secondary outline buttons
1 parent a5da62d commit b1040f0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/scss/custom/_buttons.scss

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
font-size: $btn-font-size;
44
white-space: initial;
55
text-decoration: none;
6-
box-shadow: none;
6+
&:not(.btn-outline-primary, .btn-outline-secondary) {
7+
box-shadow: none;
8+
}
79
}
810

911
.btn-me {
@@ -170,12 +172,19 @@
170172

171173
.btn-outline-secondary {
172174
box-shadow: inset 0 0 0 2px $secondary;
175+
&.disabled,
173176
&:hover,
174177
&:active {
175178
box-shadow: inset 0 0 0 2px color-hover($secondary);
176179
}
177180
}
178181

182+
.btn-outline-primary {
183+
&.disabled {
184+
box-shadow: inset 0 0 0 2px color-hover($primary);
185+
}
186+
}
187+
179188
.bg-dark {
180189
.btn-link {
181190
color: $white;

0 commit comments

Comments
 (0)