mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 20:58:17 +00:00
Merge branch 'custom-checkboxes-radios-correct-color' of https://github.com/sabrown84/bootstrap into sabrown84-custom-checkboxes-radios-correct-color
This commit is contained in:
commit
1b1c768ef6
1 changed files with 7 additions and 2 deletions
|
|
@ -57,7 +57,7 @@
|
||||||
border-color: $color;
|
border-color: $color;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
~ .#{$state}-feedback,
|
~ .#{$state}-feedback,
|
||||||
|
|
@ -88,6 +88,11 @@
|
||||||
~ .custom-control-description {
|
~ .custom-control-description {
|
||||||
color: $color;
|
color: $color;
|
||||||
}
|
}
|
||||||
|
&:focus {
|
||||||
|
~ .custom-control-indicator {
|
||||||
|
box-shadow: 0 0 0 1px $body-bg, 0 0 0 $input-btn-focus-width $color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -101,7 +106,7 @@
|
||||||
&::before { border-color: inherit; }
|
&::before { border-color: inherit; }
|
||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 .2rem rgba($color,.25);
|
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue