mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 12:48:16 +00:00
Sass correction
This commit is contained in:
parent
4f814fabd6
commit
809ce6d6ef
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue