0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

#27112: fix border focus border color

This commit is contained in:
Martijn Cuppens 2018-08-26 16:15:43 +02:00 committed by Mark Otto
parent d1de8737aa
commit e3c0b3d3af
2 changed files with 2 additions and 7 deletions

View File

@ -258,10 +258,6 @@
&:focus ~ .custom-file-label {
border-color: $custom-file-focus-border-color;
box-shadow: $custom-file-focus-box-shadow;
&::after {
border-color: $custom-file-focus-border-color;
}
}
&:disabled ~ .custom-file-label {
@ -303,7 +299,7 @@
color: $custom-file-button-color;
content: "Browse";
@include gradient-bg($custom-file-button-bg);
border-left: $custom-file-border-width solid $custom-file-border-color;
border-left: inherit;
@include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
}
}

View File

@ -180,8 +180,6 @@
&.is-#{$state} {
~ .custom-file-label {
border-color: $color;
&::after { border-color: inherit; }
}
~ .#{$state}-feedback,
@ -191,6 +189,7 @@
&:focus {
~ .custom-file-label {
border-color: $color;
box-shadow: 0 0 0 $input-focus-width rgba($color, .25);
}
}