mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fix input border flicker in Chrome from @garoevans, closes #7689
This commit is contained in:
parent
c63b793a0d
commit
08fea3304a
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -1261,10 +1261,10 @@ input[type="color"] {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||||
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
-webkit-transition: border-color linear 0.2s, box-shadow linear 0.2s;
|
||||||
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
-moz-transition: border-color linear 0.2s, box-shadow linear 0.2s;
|
||||||
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
-o-transition: border-color linear 0.2s, box-shadow linear 0.2s;
|
||||||
transition: border linear 0.2s, box-shadow linear 0.2s;
|
transition: border-color linear 0.2s, box-shadow linear 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
|
@ -66,7 +66,7 @@ input[type="color"] {
|
|||||||
border: 1px solid @input-border;
|
border: 1px solid @input-border;
|
||||||
border-radius: @input-border-radius;
|
border-radius: @input-border-radius;
|
||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
||||||
.transition(~"border linear .2s, box-shadow linear .2s");
|
.transition(~"border-color linear .2s, box-shadow linear .2s");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset appearance properties for textual inputs and textarea
|
// Reset appearance properties for textual inputs and textarea
|
||||||
|
Loading…
x
Reference in New Issue
Block a user