mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 09:34:36 +02:00
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
This commit is contained in:
@@ -19,16 +19,17 @@
|
|||||||
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
||||||
&:focus ~ .c-indicator {
|
|
||||||
@include box-shadow(0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:checked ~ .c-indicator {
|
&:checked ~ .c-indicator {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #0074d9;
|
background-color: #0074d9;
|
||||||
@include box-shadow(none);
|
@include box-shadow(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus ~ .c-indicator {
|
||||||
|
// the mixin is not used here to make sure there is feedback
|
||||||
|
box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
|
||||||
|
}
|
||||||
|
|
||||||
&:active ~ .c-indicator {
|
&:active ~ .c-indicator {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #84c6ff;
|
background-color: #84c6ff;
|
||||||
|
Reference in New Issue
Block a user