2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00
This commit is contained in:
Mark Otto
2017-10-02 20:50:11 -07:00
parent 9ee2fbe580
commit 7adf74d585
4 changed files with 39 additions and 8 deletions
+36 -5
View File
@@ -2037,14 +2037,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
vertical-align: middle; vertical-align: middle;
} }
.invalid-feedback { .valid-feedback {
display: none; display: none;
margin-top: .25rem; margin-top: .25rem;
font-size: .875rem; font-size: .875rem;
color: #dc3545; color: #28a745;
} }
.invalid-tooltip { .valid-tooltip {
position: absolute; position: absolute;
top: 100%; top: 100%;
z-index: 5; z-index: 5;
@@ -2055,7 +2055,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem; font-size: .875rem;
line-height: 1; line-height: 1;
color: #fff; color: #fff;
background-color: rgba(220, 53, 69, 0.8); background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem; border-radius: .2rem;
} }
@@ -2106,6 +2106,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
} }
.invalid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
color: #dc3545;
}
.invalid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
display: none;
width: 250px;
padding: .5rem;
margin-top: .1rem;
font-size: .875rem;
line-height: 1;
color: #fff;
background-color: rgba(220, 53, 69, 0.8);
border-radius: .2rem;
}
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid, .custom-select:invalid,
.custom-select.is-invalid { .custom-select.is-invalid {
@@ -3216,6 +3238,10 @@ tbody.collapse.show {
z-index: 3; z-index: 3;
} }
.input-group-btn:first-child > .btn + .btn {
margin-left: 0;
}
.input-group-btn:not(:last-child) > .btn, .input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group { .input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px; margin-right: -1px;
@@ -3227,6 +3253,11 @@ tbody.collapse.show {
margin-left: 0; margin-left: 0;
} }
.input-group-btn:not(:first-child) > .btn:first-child,
.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
.input-group-btn:not(:first-child) > .btn:focus, .input-group-btn:not(:first-child) > .btn:active, .input-group-btn:not(:first-child) > .btn:hover, .input-group-btn:not(:first-child) > .btn:focus, .input-group-btn:not(:first-child) > .btn:active, .input-group-btn:not(:first-child) > .btn:hover,
.input-group-btn:not(:first-child) > .btn-group:focus, .input-group-btn:not(:first-child) > .btn-group:focus,
.input-group-btn:not(:first-child) > .btn-group:active, .input-group-btn:not(:first-child) > .btn-group:active,
@@ -3497,7 +3528,7 @@ tbody.collapse.show {
} }
.nav-pills .nav-link.active, .nav-pills .nav-link.active,
.show > .nav-pills .nav-link { .nav-pills .show > .nav-link {
color: #fff; color: #fff;
background-color: #007bff; background-color: #007bff;
} }
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long