mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Sass correction
This commit is contained in:
@@ -84,7 +84,10 @@
|
|||||||
&.is-#{$state} {
|
&.is-#{$state} {
|
||||||
~ .custom-control-indicator {
|
~ .custom-control-indicator {
|
||||||
background-color: rgba($color, .25);
|
background-color: rgba($color, .25);
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dc3545;
|
}
|
||||||
|
&:focus {
|
||||||
|
~ .custom-control-indicator {
|
||||||
|
box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $color;
|
||||||
}
|
}
|
||||||
~ .custom-control-description {
|
~ .custom-control-description {
|
||||||
color: $color;
|
color: $color;
|
||||||
@@ -103,6 +106,7 @@
|
|||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user