mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 10:05:40 +02:00
match space after comma, darken invalid/valid bg color on custom checks
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
font-size: .875rem;
|
font-size: .875rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: rgba($color,.8);
|
background-color: rgba($color, .8);
|
||||||
border-radius: .2rem;
|
border-radius: .2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
border-color: $color;
|
border-color: $color;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
|
box-shadow: 0 0 0 $input-btn-focus-width rgba($color, .25);
|
||||||
}
|
}
|
||||||
|
|
||||||
~ .#{$state}-feedback,
|
~ .#{$state}-feedback,
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
.was-validated &:#{$state},
|
.was-validated &:#{$state},
|
||||||
&.is-#{$state} {
|
&.is-#{$state} {
|
||||||
~ .custom-control-indicator {
|
~ .custom-control-indicator {
|
||||||
background-color: rgba($color, .25);
|
background-color: rgba($color, .4);
|
||||||
}
|
}
|
||||||
~ .custom-control-description {
|
~ .custom-control-description {
|
||||||
color: $color;
|
color: $color;
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
&::before { border-color: inherit; }
|
&::before { border-color: inherit; }
|
||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
|
box-shadow: 0 0 0 $input-btn-focus-width rgba($color, .25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user