0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00
This commit is contained in:
Mark Otto 2017-12-30 19:41:36 -08:00
parent fc942ce310
commit 5b8eaffc12
25 changed files with 164 additions and 90 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11
assets/js/docs.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -200,6 +200,12 @@ html {
order: -1;
}
.order-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -409,6 +415,11 @@ html {
-ms-flex-order: -1;
order: -1;
}
.order-sm-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-sm-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -600,6 +611,11 @@ html {
-ms-flex-order: -1;
order: -1;
}
.order-md-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-md-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -791,6 +807,11 @@ html {
-ms-flex-order: -1;
order: -1;
}
.order-lg-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-lg-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -982,6 +1003,11 @@ html {
-ms-flex-order: -1;
order: -1;
}
.order-xl-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-xl-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;

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

View File

@ -204,7 +204,7 @@ table {
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #868e96;
color: #6c757d;
text-align: left;
caption-side: bottom;
}

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,5 @@
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#868e96;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */

File diff suppressed because one or more lines are too long

View File

@ -16,10 +16,10 @@
--teal: #20c997;
--cyan: #17a2b8;
--white: #fff;
--gray: #868e96;
--gray: #6c757d;
--gray-dark: #343a40;
--primary: #007bff;
--secondary: #868e96;
--secondary: #6c757d;
--success: #28a745;
--info: #17a2b8;
--warning: #ffc107;
@ -234,7 +234,7 @@ table {
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #868e96;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
@ -483,7 +483,7 @@ mark,
.blockquote-footer {
display: block;
font-size: 80%;
color: #868e96;
color: #6c757d;
}
.blockquote-footer::before {
@ -515,7 +515,7 @@ mark,
.figure-caption {
font-size: 90%;
color: #868e96;
color: #6c757d;
}
code,
@ -747,6 +747,12 @@ pre code {
order: -1;
}
.order-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -956,6 +962,11 @@ pre code {
-ms-flex-order: -1;
order: -1;
}
.order-sm-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-sm-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -1147,6 +1158,11 @@ pre code {
-ms-flex-order: -1;
order: -1;
}
.order-md-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-md-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -1338,6 +1354,11 @@ pre code {
-ms-flex-order: -1;
order: -1;
}
.order-lg-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-lg-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -1529,6 +1550,11 @@ pre code {
-ms-flex-order: -1;
order: -1;
}
.order-xl-0 {
-webkit-box-ordinal-group: 1;
-ms-flex-order: 0;
order: 0;
}
.order-xl-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
@ -1699,16 +1725,16 @@ pre code {
.table-secondary,
.table-secondary > th,
.table-secondary > td {
background-color: #dddfe2;
background-color: #d6d8db;
}
.table-hover .table-secondary:hover {
background-color: #cfd2d6;
background-color: #c8cbcf;
}
.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
background-color: #cfd2d6;
background-color: #c8cbcf;
}
.table-success,
@ -1943,27 +1969,27 @@ pre code {
}
.form-control::-webkit-input-placeholder {
color: #868e96;
color: #6c757d;
opacity: 1;
}
.form-control::-moz-placeholder {
color: #868e96;
color: #6c757d;
opacity: 1;
}
.form-control:-ms-input-placeholder {
color: #868e96;
color: #6c757d;
opacity: 1;
}
.form-control::-ms-input-placeholder {
color: #868e96;
color: #6c757d;
opacity: 1;
}
.form-control::placeholder {
color: #868e96;
color: #6c757d;
opacity: 1;
}
@ -2110,7 +2136,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
}
.form-check-input:disabled ~ .form-check-label {
color: #868e96;
color: #6c757d;
}
.form-check-label {
@ -2485,35 +2511,35 @@ fieldset[disabled] a.btn {
.btn-secondary {
color: #fff;
background-color: #868e96;
border-color: #868e96;
background-color: #6c757d;
border-color: #6c757d;
}
.btn-secondary:hover {
color: #fff;
background-color: #727b84;
border-color: #6c757d;
background-color: #5a6268;
border-color: #545b62;
}
.btn-secondary:focus, .btn-secondary.focus {
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-secondary.disabled, .btn-secondary:disabled {
background-color: #868e96;
border-color: #868e96;
background-color: #6c757d;
border-color: #6c757d;
}
.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
color: #fff;
background-color: #6c757d;
border-color: #666e76;
background-color: #545b62;
border-color: #4e555b;
}
.btn-secondary:not([disabled]):not(.disabled):active:focus, .btn-secondary:not([disabled]):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-success {
@ -2745,33 +2771,33 @@ fieldset[disabled] a.btn {
}
.btn-outline-secondary {
color: #868e96;
color: #6c757d;
background-color: transparent;
background-image: none;
border-color: #868e96;
border-color: #6c757d;
}
.btn-outline-secondary:hover {
color: #fff;
background-color: #868e96;
border-color: #868e96;
background-color: #6c757d;
border-color: #6c757d;
}
.btn-outline-secondary:focus, .btn-outline-secondary.focus {
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
color: #868e96;
color: #6c757d;
background-color: transparent;
}
.btn-outline-secondary:not([disabled]):not(.disabled):active, .btn-outline-secondary:not([disabled]):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
color: #212529;
background-color: #868e96;
border-color: #868e96;
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
background-color: #6c757d;
border-color: #6c757d;
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-outline-success {
@ -2974,7 +3000,7 @@ fieldset[disabled] a.btn {
}
.btn-link:disabled, .btn-link.disabled {
color: #868e96;
color: #6c757d;
}
.btn-lg, .btn-group-lg > .btn {
@ -3198,7 +3224,7 @@ tbody.collapse.show {
}
.dropdown-item.disabled, .dropdown-item:disabled {
color: #868e96;
color: #6c757d;
background-color: transparent;
}
@ -3211,7 +3237,7 @@ tbody.collapse.show {
padding: 0.5rem 1.5rem;
margin-bottom: 0;
font-size: 0.875rem;
color: #868e96;
color: #6c757d;
white-space: nowrap;
}
@ -3535,7 +3561,7 @@ tbody.collapse.show {
}
.custom-control-input:disabled ~ .custom-control-label {
color: #868e96;
color: #6c757d;
}
.custom-control-input:disabled ~ .custom-control-label::before {
@ -3642,7 +3668,7 @@ tbody.collapse.show {
}
.custom-select:disabled {
color: #868e96;
color: #6c757d;
background-color: #e9ecef;
}
@ -3747,7 +3773,7 @@ tbody.collapse.show {
}
.nav-link.disabled {
color: #868e96;
color: #6c757d;
}
.nav-tabs {
@ -3769,7 +3795,7 @@ tbody.collapse.show {
}
.nav-tabs .nav-link.disabled {
color: #868e96;
color: #6c757d;
background-color: transparent;
border-color: transparent;
}
@ -4591,7 +4617,7 @@ tbody.collapse.show {
display: inline-block;
padding-right: 0.5rem;
padding-left: 0.5rem;
color: #868e96;
color: #6c757d;
content: "/";
}
@ -4604,7 +4630,7 @@ tbody.collapse.show {
}
.breadcrumb-item.active {
color: #868e96;
color: #6c757d;
}
.pagination {
@ -4657,7 +4683,7 @@ tbody.collapse.show {
}
.page-item.disabled .page-link {
color: #868e96;
color: #6c757d;
pointer-events: none;
cursor: auto;
background-color: #fff;
@ -4736,13 +4762,13 @@ tbody.collapse.show {
.badge-secondary {
color: #fff;
background-color: #868e96;
background-color: #6c757d;
}
.badge-secondary[href]:focus, .badge-secondary[href]:hover {
color: #fff;
text-decoration: none;
background-color: #6c757d;
background-color: #545b62;
}
.badge-success {
@ -4873,17 +4899,17 @@ tbody.collapse.show {
}
.alert-secondary {
color: #464a4e;
background-color: #e7e8ea;
border-color: #dddfe2;
color: #383d41;
background-color: #e2e3e5;
border-color: #d6d8db;
}
.alert-secondary hr {
border-top-color: #cfd2d6;
border-top-color: #c8cbcf;
}
.alert-secondary .alert-link {
color: #2e3133;
color: #202326;
}
.alert-success {
@ -5096,7 +5122,7 @@ tbody.collapse.show {
}
.list-group-item.disabled, .list-group-item:disabled {
color: #868e96;
color: #6c757d;
background-color: #fff;
}
@ -5146,27 +5172,27 @@ button.list-group-item-primary.active {
}
.list-group-item-secondary {
color: #464a4e;
background-color: #dddfe2;
color: #383d41;
background-color: #d6d8db;
}
a.list-group-item-secondary,
button.list-group-item-secondary {
color: #464a4e;
color: #383d41;
}
a.list-group-item-secondary:focus, a.list-group-item-secondary:hover,
button.list-group-item-secondary:focus,
button.list-group-item-secondary:hover {
color: #464a4e;
background-color: #cfd2d6;
color: #383d41;
background-color: #c8cbcf;
}
a.list-group-item-secondary.active,
button.list-group-item-secondary.active {
color: #fff;
background-color: #464a4e;
border-color: #464a4e;
background-color: #383d41;
border-color: #383d41;
}
.list-group-item-success {
@ -6031,13 +6057,13 @@ button.bg-primary:hover {
}
.bg-secondary {
background-color: #868e96 !important;
background-color: #6c757d !important;
}
a.bg-secondary:focus, a.bg-secondary:hover,
button.bg-secondary:focus,
button.bg-secondary:hover {
background-color: #6c757d !important;
background-color: #545b62 !important;
}
.bg-success {
@ -6112,6 +6138,22 @@ button.bg-dark:hover {
border: 1px solid #e9ecef !important;
}
.border-top {
border-top: 1px solid #e9ecef !important;
}
.border-right {
border-right: 1px solid #e9ecef !important;
}
.border-bottom {
border-bottom: 1px solid #e9ecef !important;
}
.border-left {
border-left: 1px solid #e9ecef !important;
}
.border-0 {
border: 0 !important;
}
@ -6137,7 +6179,7 @@ button.bg-dark:hover {
}
.border-secondary {
border-color: #868e96 !important;
border-color: #6c757d !important;
}
.border-success {
@ -8764,11 +8806,11 @@ a.text-primary:focus, a.text-primary:hover {
}
.text-secondary {
color: #868e96 !important;
color: #6c757d !important;
}
a.text-secondary:focus, a.text-secondary:hover {
color: #6c757d !important;
color: #545b62 !important;
}
.text-success {
@ -8820,7 +8862,7 @@ a.text-dark:focus, a.text-dark:hover {
}
.text-muted {
color: #868e96 !important;
color: #6c757d !important;
}
.text-hide {

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

View File

@ -4182,7 +4182,8 @@ var Dropdown = function ($$$1) {
}
return parent || element.parentNode;
};
}; // eslint-disable-next-line complexity
Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
// If not input/textarea:

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

View File

@ -1748,7 +1748,8 @@ var Dropdown = function ($$$1) {
}
return parent || element.parentNode;
};
}; // eslint-disable-next-line complexity
Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
// If not input/textarea:

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

3
js/dist/dropdown.js vendored
View File

@ -357,7 +357,8 @@ var Dropdown = function ($) {
}
return parent || element.parentNode;
};
}; // eslint-disable-next-line complexity
Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
// If not input/textarea:

File diff suppressed because one or more lines are too long