mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
Fixes #8605: use .form-control
in .input-group
instead of HTML tags
This commit is contained in:
11
dist/css/bootstrap.css
vendored
11
dist/css/bootstrap.css
vendored
@@ -1576,21 +1576,20 @@ select.input-small {
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group input,
|
.input-group .form-control {
|
||||||
.input-group select {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-addon,
|
.input-group-addon,
|
||||||
.input-group-btn,
|
.input-group-btn,
|
||||||
.input-group input {
|
.input-group .form-control {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-addon:not(:first-child):not(:last-child),
|
.input-group-addon:not(:first-child):not(:last-child),
|
||||||
.input-group-btn:not(:first-child):not(:last-child),
|
.input-group-btn:not(:first-child):not(:last-child),
|
||||||
.input-group input:not(:first-child):not(:last-child) {
|
.input-group .form-control:not(:first-child):not(:last-child) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1627,7 +1626,7 @@ select.input-small {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group input:first-child,
|
.input-group .form-control:first-child,
|
||||||
.input-group-addon:first-child,
|
.input-group-addon:first-child,
|
||||||
.input-group-btn:first-child > .btn,
|
.input-group-btn:first-child > .btn,
|
||||||
.input-group-btn:first-child > .dropdown-toggle,
|
.input-group-btn:first-child > .dropdown-toggle,
|
||||||
@@ -1640,7 +1639,7 @@ select.input-small {
|
|||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group input:last-child,
|
.input-group .form-control:last-child,
|
||||||
.input-group-addon:last-child,
|
.input-group-addon:last-child,
|
||||||
.input-group-btn:last-child > .btn,
|
.input-group-btn:last-child > .btn,
|
||||||
.input-group-btn:last-child > .dropdown-toggle,
|
.input-group-btn:last-child > .dropdown-toggle,
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -306,8 +306,7 @@ select {
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
.form-control {
|
||||||
select {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@@ -317,7 +316,7 @@ select {
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
.input-group-addon,
|
.input-group-addon,
|
||||||
.input-group-btn,
|
.input-group-btn,
|
||||||
.input-group input {
|
.input-group .form-control {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|
||||||
&:not(:first-child):not(:last-child) {
|
&:not(:first-child):not(:last-child) {
|
||||||
@@ -358,7 +357,7 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Reset rounded corners
|
// Reset rounded corners
|
||||||
.input-group input:first-child,
|
.input-group .form-control:first-child,
|
||||||
.input-group-addon:first-child,
|
.input-group-addon:first-child,
|
||||||
.input-group-btn:first-child > .btn,
|
.input-group-btn:first-child > .btn,
|
||||||
.input-group-btn:first-child > .dropdown-toggle,
|
.input-group-btn:first-child > .dropdown-toggle,
|
||||||
@@ -368,7 +367,7 @@ select {
|
|||||||
.input-group-addon:first-child {
|
.input-group-addon:first-child {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
.input-group input:last-child,
|
.input-group .form-control:last-child,
|
||||||
.input-group-addon:last-child,
|
.input-group-addon:last-child,
|
||||||
.input-group-btn:last-child > .btn,
|
.input-group-btn:last-child > .btn,
|
||||||
.input-group-btn:last-child > .dropdown-toggle,
|
.input-group-btn:last-child > .dropdown-toggle,
|
||||||
|
Reference in New Issue
Block a user