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

give append/prepend inputs higher z-index on focus

This commit is contained in:
Mark Otto 2012-01-27 23:53:56 -08:00
parent 08fea7587c
commit ce69b70719
2 changed files with 11 additions and 0 deletions

View File

@ -861,6 +861,13 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
}
.input-prepend input:focus,
.input-append input:focus,
.input-prepend .uneditable-input:focus,
.input-append .uneditable-input:focus {
position: relative;
z-index: 2;
}
.input-prepend .uneditable-input, .input-append .uneditable-input {
border-left-color: #ccc;
}

View File

@ -396,6 +396,10 @@ select:focus:required:invalid {
input,
.uneditable-input {
.border-radius(0 3px 3px 0);
&:focus {
position: relative;
z-index: 2;
}
}
.uneditable-input {
border-left-color: #ccc;