1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00
This commit is contained in:
Mark Otto
2017-10-19 09:13:17 -07:00
parent 06641ca0b3
commit 6124e7f229
16 changed files with 76 additions and 50 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1870,6 +1870,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -2289,7 +2290,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
outline: 0;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn.disabled, .btn:disabled {
@@ -2318,7 +2319,7 @@ fieldset[disabled] a.btn {
}
.btn-primary:focus, .btn-primary.focus {
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-primary.disabled, .btn-primary:disabled {
@@ -2328,9 +2329,10 @@ fieldset[disabled] a.btn {
.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
color: #fff;
background-color: #0062cc;
background-image: none;
border-color: #005cbf;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-secondary {
@@ -2346,7 +2348,7 @@ fieldset[disabled] a.btn {
}
.btn-secondary:focus, .btn-secondary.focus {
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5);
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-secondary.disabled, .btn-secondary:disabled {
@@ -2356,9 +2358,10 @@ fieldset[disabled] a.btn {
.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
color: #fff;
background-color: #6c757d;
background-image: none;
border-color: #666e76;
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-success {
@@ -2374,7 +2377,7 @@ fieldset[disabled] a.btn {
}
.btn-success:focus, .btn-success.focus {
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5);
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-success.disabled, .btn-success:disabled {
@@ -2384,9 +2387,10 @@ fieldset[disabled] a.btn {
.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
color: #fff;
background-color: #1e7e34;
background-image: none;
border-color: #1c7430;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-info {
@@ -2402,7 +2406,7 @@ fieldset[disabled] a.btn {
}
.btn-info:focus, .btn-info.focus {
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5);
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-info.disabled, .btn-info:disabled {
@@ -2412,9 +2416,10 @@ fieldset[disabled] a.btn {
.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
color: #fff;
background-color: #117a8b;
background-image: none;
border-color: #10707f;
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-warning {
@@ -2430,7 +2435,7 @@ fieldset[disabled] a.btn {
}
.btn-warning:focus, .btn-warning.focus {
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5);
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-warning.disabled, .btn-warning:disabled {
@@ -2440,9 +2445,10 @@ fieldset[disabled] a.btn {
.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
color: #111;
background-color: #d39e00;
background-image: none;
border-color: #c69500;
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-danger {
@@ -2458,7 +2464,7 @@ fieldset[disabled] a.btn {
}
.btn-danger:focus, .btn-danger.focus {
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-danger.disabled, .btn-danger:disabled {
@@ -2468,9 +2474,10 @@ fieldset[disabled] a.btn {
.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
color: #fff;
background-color: #bd2130;
background-image: none;
border-color: #b21f2d;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-light {
@@ -2486,7 +2493,7 @@ fieldset[disabled] a.btn {
}
.btn-light:focus, .btn-light.focus {
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-light.disabled, .btn-light:disabled {
@@ -2496,9 +2503,10 @@ fieldset[disabled] a.btn {
.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
color: #111;
background-color: #dae0e5;
background-image: none;
border-color: #d3d9df;
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-dark {
@@ -2514,7 +2522,7 @@ fieldset[disabled] a.btn {
}
.btn-dark:focus, .btn-dark.focus {
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5);
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-dark.disabled, .btn-dark:disabled {
@@ -2524,9 +2532,10 @@ fieldset[disabled] a.btn {
.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
color: #fff;
background-color: #1d2124;
background-image: none;
border-color: #171a1d;
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-primary {
@@ -2543,7 +2552,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
@@ -2556,6 +2565,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #007bff;
border-color: #007bff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
@@ -2572,7 +2582,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-secondary:focus, .btn-outline-secondary.focus {
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5);
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
@@ -2585,6 +2595,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #868e96;
border-color: #868e96;
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-success {
@@ -2601,7 +2612,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-success:focus, .btn-outline-success.focus {
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5);
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-success.disabled, .btn-outline-success:disabled {
@@ -2614,6 +2625,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #28a745;
border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
@@ -2630,7 +2642,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-info:focus, .btn-outline-info.focus {
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5);
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-info.disabled, .btn-outline-info:disabled {
@@ -2643,6 +2655,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
@@ -2659,7 +2672,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-warning:focus, .btn-outline-warning.focus {
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5);
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-warning.disabled, .btn-outline-warning:disabled {
@@ -2672,6 +2685,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #ffc107;
border-color: #ffc107;
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
@@ -2688,7 +2702,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-danger:focus, .btn-outline-danger.focus {
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-danger.disabled, .btn-outline-danger:disabled {
@@ -2701,6 +2715,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
@@ -2717,7 +2732,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-light:focus, .btn-outline-light.focus {
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-light.disabled, .btn-outline-light:disabled {
@@ -2730,6 +2745,7 @@ fieldset[disabled] a.btn {
color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
@@ -2746,7 +2762,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-dark:focus, .btn-outline-dark.focus {
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5);
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-dark.disabled, .btn-outline-dark:disabled {
@@ -2759,6 +2775,7 @@ fieldset[disabled] a.btn {
color: #fff;
background-color: #343a40;
border-color: #343a40;
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
@@ -3300,7 +3317,7 @@ tbody.collapse.show {
}
.custom-control-input:focus ~ .custom-control-indicator {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007bff;
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:active ~ .custom-control-indicator {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long