1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 23:36:47 +02:00

tweak spacing once more on prettify; add support for uneditable inputs to input-append and prepend

This commit is contained in:
Mark Otto
2012-01-07 01:22:52 -08:00
parent e23448ab1b
commit 45d671d97f
5 changed files with 32 additions and 13 deletions

View File

@@ -192,7 +192,7 @@ select:focus {
input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input[class*="span"] {
.uneditable-input {
float: none;
margin-left: 0;
}
@@ -357,9 +357,13 @@ input::-webkit-input-placeholder {
.input-append {
margin-bottom: 5px;
.clearfix(); // Clear the float to prevent wrapping
input {
input,
.uneditable-input {
.border-radius(0 3px 3px 0);
}
.uneditable-input {
border-left-color: #ccc;
}
.add-on {
float: left;
display: block;
@@ -388,10 +392,14 @@ input::-webkit-input-placeholder {
}
}
.input-append {
input {
input,
.uneditable-input {
float: left;
.border-radius(3px 0 0 3px);
}
.uneditable-input {
border-right-color: #ccc;
}
.add-on {
margin-right: 0;
margin-left: -1px;