1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00
This commit is contained in:
Mark Otto
2018-09-17 12:34:34 -07:00
parent 928ebd8925
commit b68ea572da
27 changed files with 97 additions and 167 deletions

View File

@@ -164,7 +164,6 @@ a {
color: #007bff;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
@@ -475,7 +474,7 @@ mark,
}
.blockquote-footer::before {
content: "\2014 \00A0";
content: "\2014\00A0";
}
.img-fluid {
@@ -615,7 +614,6 @@ pre code {
.col-xl-auto {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
@@ -632,7 +630,7 @@ pre code {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: none;
max-width: 100%;
}
.col-1 {
@@ -838,7 +836,7 @@ pre code {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: none;
max-width: 100%;
}
.col-sm-1 {
-ms-flex: 0 0 8.333333%;
@@ -1010,7 +1008,7 @@ pre code {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: none;
max-width: 100%;
}
.col-md-1 {
-ms-flex: 0 0 8.333333%;
@@ -1182,7 +1180,7 @@ pre code {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: none;
max-width: 100%;
}
.col-lg-1 {
-ms-flex: 0 0 8.333333%;
@@ -1354,7 +1352,7 @@ pre code {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: none;
max-width: 100%;
}
.col-xl-1 {
-ms-flex: 0 0 8.333333%;
@@ -2114,10 +2112,6 @@ textarea.form-control {
border-color: #28a745;
}
.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after {
border-color: inherit;
}
.was-validated .custom-file-input:valid ~ .valid-feedback,
.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback,
.custom-file-input.is-valid ~ .valid-tooltip {
@@ -2125,6 +2119,7 @@ textarea.form-control {
}
.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {
border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
@@ -2235,10 +2230,6 @@ textarea.form-control {
border-color: #dc3545;
}
.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after {
border-color: inherit;
}
.was-validated .custom-file-input:invalid ~ .invalid-feedback,
.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback,
.custom-file-input.is-invalid ~ .invalid-tooltip {
@@ -2246,6 +2237,7 @@ textarea.form-control {
}
.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
@@ -2325,13 +2317,14 @@ textarea.form-control {
.btn {
display: inline-block;
font-weight: 400;
color: #212529;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: transparent;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
@@ -2347,6 +2340,7 @@ textarea.form-control {
}
.btn:hover, .btn:focus {
color: #212529;
text-decoration: none;
}
@@ -2642,8 +2636,6 @@ fieldset:disabled a.btn {
.btn-outline-primary {
color: #007bff;
background-color: transparent;
background-image: none;
border-color: #007bff;
}
@@ -2676,8 +2668,6 @@ fieldset:disabled a.btn {
.btn-outline-secondary {
color: #6c757d;
background-color: transparent;
background-image: none;
border-color: #6c757d;
}
@@ -2710,8 +2700,6 @@ fieldset:disabled a.btn {
.btn-outline-success {
color: #28a745;
background-color: transparent;
background-image: none;
border-color: #28a745;
}
@@ -2744,8 +2732,6 @@ fieldset:disabled a.btn {
.btn-outline-info {
color: #17a2b8;
background-color: transparent;
background-image: none;
border-color: #17a2b8;
}
@@ -2778,8 +2764,6 @@ fieldset:disabled a.btn {
.btn-outline-warning {
color: #ffc107;
background-color: transparent;
background-image: none;
border-color: #ffc107;
}
@@ -2812,8 +2796,6 @@ fieldset:disabled a.btn {
.btn-outline-danger {
color: #dc3545;
background-color: transparent;
background-image: none;
border-color: #dc3545;
}
@@ -2846,8 +2828,6 @@ fieldset:disabled a.btn {
.btn-outline-light {
color: #f8f9fa;
background-color: transparent;
background-image: none;
border-color: #f8f9fa;
}
@@ -2880,8 +2860,6 @@ fieldset:disabled a.btn {
.btn-outline-dark {
color: #343a40;
background-color: transparent;
background-image: none;
border-color: #343a40;
}
@@ -3711,10 +3689,6 @@ input[type="button"].btn-block {
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-file-input:focus ~ .custom-file-label::after {
border-color: #80bdff;
}
.custom-file-input:disabled ~ .custom-file-label {
background-color: #e9ecef;
}
@@ -3751,7 +3725,7 @@ input[type="button"].btn-block {
color: #495057;
content: "Browse";
background-color: #e9ecef;
border-left: 1px solid #ced4da;
border-left: inherit;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -4833,6 +4807,10 @@ input[type="button"].btn-block {
border-radius: 0.25rem;
}
a.badge:hover, a.badge:focus {
text-decoration: none;
}
.badge:empty {
display: none;
}
@@ -4853,9 +4831,8 @@ input[type="button"].btn-block {
background-color: #007bff;
}
.badge-primary[href]:hover, .badge-primary[href]:focus {
a.badge-primary:hover, a.badge-primary:focus {
color: #fff;
text-decoration: none;
background-color: #0062cc;
}
@@ -4864,9 +4841,8 @@ input[type="button"].btn-block {
background-color: #6c757d;
}
.badge-secondary[href]:hover, .badge-secondary[href]:focus {
a.badge-secondary:hover, a.badge-secondary:focus {
color: #fff;
text-decoration: none;
background-color: #545b62;
}
@@ -4875,9 +4851,8 @@ input[type="button"].btn-block {
background-color: #28a745;
}
.badge-success[href]:hover, .badge-success[href]:focus {
a.badge-success:hover, a.badge-success:focus {
color: #fff;
text-decoration: none;
background-color: #1e7e34;
}
@@ -4886,9 +4861,8 @@ input[type="button"].btn-block {
background-color: #17a2b8;
}
.badge-info[href]:hover, .badge-info[href]:focus {
a.badge-info:hover, a.badge-info:focus {
color: #fff;
text-decoration: none;
background-color: #117a8b;
}
@@ -4897,9 +4871,8 @@ input[type="button"].btn-block {
background-color: #ffc107;
}
.badge-warning[href]:hover, .badge-warning[href]:focus {
a.badge-warning:hover, a.badge-warning:focus {
color: #212529;
text-decoration: none;
background-color: #d39e00;
}
@@ -4908,9 +4881,8 @@ input[type="button"].btn-block {
background-color: #dc3545;
}
.badge-danger[href]:hover, .badge-danger[href]:focus {
a.badge-danger:hover, a.badge-danger:focus {
color: #fff;
text-decoration: none;
background-color: #bd2130;
}
@@ -4919,9 +4891,8 @@ input[type="button"].btn-block {
background-color: #f8f9fa;
}
.badge-light[href]:hover, .badge-light[href]:focus {
a.badge-light:hover, a.badge-light:focus {
color: #212529;
text-decoration: none;
background-color: #dae0e5;
}
@@ -4930,9 +4901,8 @@ input[type="button"].btn-block {
background-color: #343a40;
}
.badge-dark[href]:hover, .badge-dark[href]:focus {
a.badge-dark:hover, a.badge-dark:focus {
color: #fff;
text-decoration: none;
background-color: #1d2124;
}
@@ -5530,6 +5500,8 @@ button.close {
justify-content: flex-end;
padding: 1rem;
border-top: 1px solid #e9ecef;
border-bottom-right-radius: 0.3rem;
border-bottom-left-radius: 0.3rem;
}
.modal-footer > :not(:first-child) {
@@ -6051,7 +6023,7 @@ button.close {
.carousel-indicators {
position: absolute;
right: 0;
bottom: 10px;
bottom: 0;
left: 0;
z-index: 15;
display: -ms-flexbox;
@@ -6065,7 +6037,7 @@ button.close {
}
.carousel-indicators li {
position: relative;
box-sizing: content-box;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
width: 30px;
@@ -6075,6 +6047,9 @@ button.close {
text-indent: -999px;
cursor: pointer;
background-color: #fff;
background-clip: padding-box;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
opacity: .5;
transition: opacity 0.6s ease;
}
@@ -6085,26 +6060,6 @@ button.close {
}
}
.carousel-indicators li::before {
position: absolute;
top: -10px;
left: 0;
display: inline-block;
width: 100%;
height: 10px;
content: "";
}
.carousel-indicators li::after {
position: absolute;
bottom: -10px;
left: 0;
display: inline-block;
width: 100%;
height: 10px;
content: "";
}
.carousel-indicators .active {
opacity: 1;
}
@@ -9526,6 +9481,10 @@ a.text-dark:hover, a.text-dark:focus {
text-decoration: none !important;
}
.text-reset {
color: inherit !important;
}
.visible {
visibility: visible !important;
}