mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge branch 'v4-dev' into table-dark-colors
This commit is contained in:
commit
901761a34b
4
dist/css/bootstrap-grid.css
vendored
4
dist/css/bootstrap-grid.css
vendored
@ -4,10 +4,6 @@
|
|||||||
* Copyright 2011-2018 Twitter, Inc.
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
@-ms-viewport {
|
|
||||||
width: device-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-ms-overflow-style: scrollbar;
|
-ms-overflow-style: scrollbar;
|
||||||
|
2
dist/css/bootstrap-grid.css.map
vendored
2
dist/css/bootstrap-grid.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap-grid.min.css
vendored
2
dist/css/bootstrap-grid.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap-grid.min.css.map
vendored
2
dist/css/bootstrap-grid.min.css.map
vendored
File diff suppressed because one or more lines are too long
8
dist/css/bootstrap-reboot.css
vendored
8
dist/css/bootstrap-reboot.css
vendored
@ -15,21 +15,16 @@ html {
|
|||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@-ms-viewport {
|
|
||||||
width: device-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@ -163,7 +158,6 @@ pre {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
2
dist/css/bootstrap-reboot.css.map
vendored
2
dist/css/bootstrap-reboot.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap-reboot.min.css
vendored
2
dist/css/bootstrap-reboot.min.css
vendored
@ -4,5 +4,5 @@
|
|||||||
* Copyright 2011-2018 Twitter, Inc.
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* 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)
|
* 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-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";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;text-decoration-skip-ink:none}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}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}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:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",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{overflow:hidden;vertical-align:middle}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=button],[type=reset],[type=submit],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-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%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";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;text-decoration-skip-ink:none}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}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}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:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}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=button],[type=reset],[type=submit],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-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 */
|
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
2
dist/css/bootstrap-reboot.min.css.map
vendored
2
dist/css/bootstrap-reboot.min.css.map
vendored
File diff suppressed because one or more lines are too long
@ -31,7 +31,7 @@
|
|||||||
--breakpoint-md: 768px;
|
--breakpoint-md: 768px;
|
||||||
--breakpoint-lg: 992px;
|
--breakpoint-lg: 992px;
|
||||||
--breakpoint-xl: 1200px;
|
--breakpoint-xl: 1200px;
|
||||||
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,21 +45,16 @@ html {
|
|||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@-ms-viewport {
|
|
||||||
width: device-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@ -193,7 +188,6 @@ pre {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-ms-overflow-style: scrollbar;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
@ -3309,8 +3303,8 @@ input[type="button"].btn-block {
|
|||||||
.btn-group > .btn,
|
.btn-group > .btn,
|
||||||
.btn-group-vertical > .btn {
|
.btn-group-vertical > .btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
-ms-flex: 0 1 auto;
|
-ms-flex: 1 1 auto;
|
||||||
flex: 0 1 auto;
|
flex: 1 1 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group > .btn:hover,
|
.btn-group > .btn:hover,
|
||||||
@ -3736,6 +3730,45 @@ input[type="button"].btn-block {
|
|||||||
background-color: rgba(0, 123, 255, 0.5);
|
background-color: rgba(0, 123, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-switch {
|
||||||
|
padding-left: 2.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-label::before {
|
||||||
|
left: -2.25rem;
|
||||||
|
width: 1.75rem;
|
||||||
|
pointer-events: all;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-label::after {
|
||||||
|
top: calc(0.25rem + 2px);
|
||||||
|
left: calc(-2.25rem + 2px);
|
||||||
|
width: calc(1rem - 4px);
|
||||||
|
height: calc(1rem - 4px);
|
||||||
|
background-color: #adb5bd;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
|
||||||
|
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||||
|
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (prefers-reduced-motion: reduce) {
|
||||||
|
.custom-switch .custom-control-label::after {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
|
||||||
|
background-color: #fff;
|
||||||
|
-webkit-transform: translateX(0.75rem);
|
||||||
|
transform: translateX(0.75rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
|
||||||
|
background-color: rgba(0, 123, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
.custom-select {
|
.custom-select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -5528,7 +5561,6 @@ a.close.disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.toast {
|
.toast {
|
||||||
display: none;
|
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
@ -5539,14 +5571,24 @@ a.close.disabled {
|
|||||||
box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
|
box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
-webkit-backdrop-filter: blur(10px);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast + .toast {
|
.toast:not(:last-child) {
|
||||||
margin-top: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toast.showing {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast.show {
|
.toast.show {
|
||||||
display: block;
|
display: block;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toast.hide {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast-header {
|
.toast-header {
|
||||||
@ -5752,7 +5794,7 @@ a.close.disabled {
|
|||||||
z-index: 1070;
|
z-index: 1070;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@ -5865,7 +5907,7 @@ a.close.disabled {
|
|||||||
z-index: 1060;
|
z-index: 1060;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 276px;
|
max-width: 276px;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@ -6264,8 +6306,6 @@ a.close.disabled {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
overflow: hidden;
|
|
||||||
text-indent: -999em;
|
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
border: 0.25em solid currentColor;
|
border: 0.25em solid currentColor;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
@ -6304,8 +6344,6 @@ a.close.disabled {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
overflow: hidden;
|
|
||||||
text-indent: -999em;
|
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
background-color: currentColor;
|
background-color: currentColor;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
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
2
dist/css/bootstrap.min.css.map
vendored
2
dist/css/bootstrap.min.css.map
vendored
File diff suppressed because one or more lines are too long
124
dist/js/bootstrap.bundle.js
vendored
124
dist/js/bootstrap.bundle.js
vendored
@ -192,6 +192,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
findShadowRoot: function findShadowRoot(element) {
|
||||||
|
if (!document.documentElement.attachShadow) {
|
||||||
|
return null;
|
||||||
|
} // Can find the shadow root otherwise it'll return the document
|
||||||
|
|
||||||
|
|
||||||
|
if (typeof element.getRootNode === 'function') {
|
||||||
|
var root = element.getRootNode();
|
||||||
|
return root instanceof ShadowRoot ? root : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (element instanceof ShadowRoot) {
|
||||||
|
return element;
|
||||||
|
} // when we don't find a shadow root
|
||||||
|
|
||||||
|
|
||||||
|
if (!element.parentNode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Util.findShadowRoot(element.parentNode);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
setTransitionEndSupport();
|
setTransitionEndSupport();
|
||||||
@ -381,7 +403,7 @@
|
|||||||
var Selector$1 = {
|
var Selector$1 = {
|
||||||
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
||||||
DATA_TOGGLE: '[data-toggle="buttons"]',
|
DATA_TOGGLE: '[data-toggle="buttons"]',
|
||||||
INPUT: 'input',
|
INPUT: 'input:not([type="hidden"])',
|
||||||
ACTIVE: '.active',
|
ACTIVE: '.active',
|
||||||
BUTTON: '.btn'
|
BUTTON: '.btn'
|
||||||
};
|
};
|
||||||
@ -1475,7 +1497,7 @@
|
|||||||
|
|
||||||
/**!
|
/**!
|
||||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||||
* @version 1.14.5
|
* @version 1.14.6
|
||||||
* @license
|
* @license
|
||||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||||
*
|
*
|
||||||
@ -2225,8 +2247,8 @@
|
|||||||
function getOuterSizes(element) {
|
function getOuterSizes(element) {
|
||||||
var window = element.ownerDocument.defaultView;
|
var window = element.ownerDocument.defaultView;
|
||||||
var styles = window.getComputedStyle(element);
|
var styles = window.getComputedStyle(element);
|
||||||
var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);
|
var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);
|
||||||
var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);
|
var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);
|
||||||
var result = {
|
var result = {
|
||||||
width: element.offsetWidth + y,
|
width: element.offsetWidth + y,
|
||||||
height: element.offsetHeight + x
|
height: element.offsetHeight + x
|
||||||
@ -2676,6 +2698,52 @@
|
|||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @function
|
||||||
|
* @memberof Popper.Utils
|
||||||
|
* @argument {Object} data - The data object generated by `update` method
|
||||||
|
* @argument {Boolean} shouldRound - If the offsets should be rounded at all
|
||||||
|
* @returns {Object} The popper's position offsets rounded
|
||||||
|
*
|
||||||
|
* The tale of pixel-perfect positioning. It's still not 100% perfect, but as
|
||||||
|
* good as it can be within reason.
|
||||||
|
* Discussion here: https://github.com/FezVrasta/popper.js/pull/715
|
||||||
|
*
|
||||||
|
* Low DPI screens cause a popper to be blurry if not using full pixels (Safari
|
||||||
|
* as well on High DPI screens).
|
||||||
|
*
|
||||||
|
* Firefox prefers no rounding for positioning and does not have blurriness on
|
||||||
|
* high DPI screens.
|
||||||
|
*
|
||||||
|
* Only horizontal placement and left/right values need to be considered.
|
||||||
|
*/
|
||||||
|
function getRoundedOffsets(data, shouldRound) {
|
||||||
|
var _data$offsets = data.offsets,
|
||||||
|
popper = _data$offsets.popper,
|
||||||
|
reference = _data$offsets.reference;
|
||||||
|
|
||||||
|
|
||||||
|
var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;
|
||||||
|
var isVariation = data.placement.indexOf('-') !== -1;
|
||||||
|
var sameWidthOddness = reference.width % 2 === popper.width % 2;
|
||||||
|
var bothOddWidth = reference.width % 2 === 1 && popper.width % 2 === 1;
|
||||||
|
var noRound = function noRound(v) {
|
||||||
|
return v;
|
||||||
|
};
|
||||||
|
|
||||||
|
var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthOddness ? Math.round : Math.floor;
|
||||||
|
var verticalToInteger = !shouldRound ? noRound : Math.round;
|
||||||
|
|
||||||
|
return {
|
||||||
|
left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),
|
||||||
|
top: verticalToInteger(popper.top),
|
||||||
|
bottom: verticalToInteger(popper.bottom),
|
||||||
|
right: horizontalToInteger(popper.right)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function
|
* @function
|
||||||
* @memberof Modifiers
|
* @memberof Modifiers
|
||||||
@ -2706,15 +2774,7 @@
|
|||||||
position: popper.position
|
position: popper.position
|
||||||
};
|
};
|
||||||
|
|
||||||
// Avoid blurry text by using full pixel integers.
|
var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);
|
||||||
// For pixel-perfect positioning, top/bottom prefers rounded
|
|
||||||
// values, while left/right prefers floored values.
|
|
||||||
var offsets = {
|
|
||||||
left: Math.floor(popper.left),
|
|
||||||
top: Math.round(popper.top),
|
|
||||||
bottom: Math.round(popper.bottom),
|
|
||||||
right: Math.floor(popper.right)
|
|
||||||
};
|
|
||||||
|
|
||||||
var sideA = x === 'bottom' ? 'top' : 'bottom';
|
var sideA = x === 'bottom' ? 'top' : 'bottom';
|
||||||
var sideB = y === 'right' ? 'left' : 'right';
|
var sideB = y === 'right' ? 'left' : 'right';
|
||||||
@ -4444,7 +4504,7 @@
|
|||||||
|
|
||||||
var isActive = $(parent).hasClass(ClassName$4.SHOW);
|
var isActive = $(parent).hasClass(ClassName$4.SHOW);
|
||||||
|
|
||||||
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
||||||
if (event.which === ESCAPE_KEYCODE) {
|
if (event.which === ESCAPE_KEYCODE) {
|
||||||
var toggle = parent.querySelector(Selector$4.DATA_TOGGLE);
|
var toggle = parent.querySelector(Selector$4.DATA_TOGGLE);
|
||||||
$(toggle).trigger('focus');
|
$(toggle).trigger('focus');
|
||||||
@ -4750,6 +4810,8 @@
|
|||||||
|
|
||||||
this._element.removeAttribute('aria-hidden');
|
this._element.removeAttribute('aria-hidden');
|
||||||
|
|
||||||
|
this._element.setAttribute('aria-modal', true);
|
||||||
|
|
||||||
this._element.scrollTop = 0;
|
this._element.scrollTop = 0;
|
||||||
|
|
||||||
if (transition) {
|
if (transition) {
|
||||||
@ -4829,6 +4891,8 @@
|
|||||||
|
|
||||||
this._element.setAttribute('aria-hidden', true);
|
this._element.setAttribute('aria-hidden', true);
|
||||||
|
|
||||||
|
this._element.removeAttribute('aria-modal');
|
||||||
|
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
|
|
||||||
this._showBackdrop(function () {
|
this._showBackdrop(function () {
|
||||||
@ -5295,7 +5359,8 @@
|
|||||||
|
|
||||||
if (this.isWithContent() && this._isEnabled) {
|
if (this.isWithContent() && this._isEnabled) {
|
||||||
$(this.element).trigger(showEvent);
|
$(this.element).trigger(showEvent);
|
||||||
var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
|
var shadowRoot = Util.findShadowRoot(this.element);
|
||||||
|
var isInTheDom = $.contains(shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement, this.element);
|
||||||
|
|
||||||
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
||||||
return;
|
return;
|
||||||
@ -5316,7 +5381,9 @@
|
|||||||
var attachment = this._getAttachment(placement);
|
var attachment = this._getAttachment(placement);
|
||||||
|
|
||||||
this.addAttachmentClass(attachment);
|
this.addAttachmentClass(attachment);
|
||||||
var container = this.config.container === false ? document.body : $(document).find(this.config.container);
|
|
||||||
|
var container = this._getContainer();
|
||||||
|
|
||||||
$(tip).data(this.constructor.DATA_KEY, this);
|
$(tip).data(this.constructor.DATA_KEY, this);
|
||||||
|
|
||||||
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
||||||
@ -5488,6 +5555,18 @@
|
|||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
|
_proto._getContainer = function _getContainer() {
|
||||||
|
if (this.config.container === false) {
|
||||||
|
return document.body;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Util.isElement(this.config.container)) {
|
||||||
|
return $(this.config.container);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $(document).find(this.config.container);
|
||||||
|
};
|
||||||
|
|
||||||
_proto._getAttachment = function _getAttachment(placement) {
|
_proto._getAttachment = function _getAttachment(placement) {
|
||||||
return AttachmentMap$1[placement.toUpperCase()];
|
return AttachmentMap$1[placement.toUpperCase()];
|
||||||
};
|
};
|
||||||
@ -6507,7 +6586,8 @@
|
|||||||
var ClassName$a = {
|
var ClassName$a = {
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
HIDE: 'hide',
|
HIDE: 'hide',
|
||||||
SHOW: 'show'
|
SHOW: 'show',
|
||||||
|
SHOWING: 'showing'
|
||||||
};
|
};
|
||||||
var DefaultType$7 = {
|
var DefaultType$7 = {
|
||||||
animation: 'boolean',
|
animation: 'boolean',
|
||||||
@ -6554,6 +6634,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this._element.classList.remove(ClassName$a.SHOWING);
|
||||||
|
|
||||||
|
_this._element.classList.add(ClassName$a.SHOW);
|
||||||
|
|
||||||
$(_this._element).trigger(Event$a.SHOWN);
|
$(_this._element).trigger(Event$a.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
@ -6561,7 +6645,9 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.add(ClassName$a.SHOW);
|
this._element.classList.remove(ClassName$a.HIDE);
|
||||||
|
|
||||||
|
this._element.classList.add(ClassName$a.SHOWING);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
@ -6622,6 +6708,8 @@
|
|||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this4._element.classList.add(ClassName$a.HIDE);
|
||||||
|
|
||||||
$(_this4._element).trigger(Event$a.HIDDEN);
|
$(_this4._element).trigger(Event$a.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
2
dist/js/bootstrap.bundle.js.map
vendored
2
dist/js/bootstrap.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/js/bootstrap.bundle.min.js
vendored
2
dist/js/bootstrap.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/bootstrap.bundle.min.js.map
vendored
2
dist/js/bootstrap.bundle.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -193,6 +193,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
findShadowRoot: function findShadowRoot(element) {
|
||||||
|
if (!document.documentElement.attachShadow) {
|
||||||
|
return null;
|
||||||
|
} // Can find the shadow root otherwise it'll return the document
|
||||||
|
|
||||||
|
|
||||||
|
if (typeof element.getRootNode === 'function') {
|
||||||
|
var root = element.getRootNode();
|
||||||
|
return root instanceof ShadowRoot ? root : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (element instanceof ShadowRoot) {
|
||||||
|
return element;
|
||||||
|
} // when we don't find a shadow root
|
||||||
|
|
||||||
|
|
||||||
|
if (!element.parentNode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Util.findShadowRoot(element.parentNode);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
setTransitionEndSupport();
|
setTransitionEndSupport();
|
||||||
@ -382,7 +404,7 @@
|
|||||||
var Selector$1 = {
|
var Selector$1 = {
|
||||||
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
||||||
DATA_TOGGLE: '[data-toggle="buttons"]',
|
DATA_TOGGLE: '[data-toggle="buttons"]',
|
||||||
INPUT: 'input',
|
INPUT: 'input:not([type="hidden"])',
|
||||||
ACTIVE: '.active',
|
ACTIVE: '.active',
|
||||||
BUTTON: '.btn'
|
BUTTON: '.btn'
|
||||||
};
|
};
|
||||||
@ -1913,7 +1935,7 @@
|
|||||||
|
|
||||||
var isActive = $(parent).hasClass(ClassName$4.SHOW);
|
var isActive = $(parent).hasClass(ClassName$4.SHOW);
|
||||||
|
|
||||||
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
||||||
if (event.which === ESCAPE_KEYCODE) {
|
if (event.which === ESCAPE_KEYCODE) {
|
||||||
var toggle = parent.querySelector(Selector$4.DATA_TOGGLE);
|
var toggle = parent.querySelector(Selector$4.DATA_TOGGLE);
|
||||||
$(toggle).trigger('focus');
|
$(toggle).trigger('focus');
|
||||||
@ -2219,6 +2241,8 @@
|
|||||||
|
|
||||||
this._element.removeAttribute('aria-hidden');
|
this._element.removeAttribute('aria-hidden');
|
||||||
|
|
||||||
|
this._element.setAttribute('aria-modal', true);
|
||||||
|
|
||||||
this._element.scrollTop = 0;
|
this._element.scrollTop = 0;
|
||||||
|
|
||||||
if (transition) {
|
if (transition) {
|
||||||
@ -2298,6 +2322,8 @@
|
|||||||
|
|
||||||
this._element.setAttribute('aria-hidden', true);
|
this._element.setAttribute('aria-hidden', true);
|
||||||
|
|
||||||
|
this._element.removeAttribute('aria-modal');
|
||||||
|
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
|
|
||||||
this._showBackdrop(function () {
|
this._showBackdrop(function () {
|
||||||
@ -2764,7 +2790,8 @@
|
|||||||
|
|
||||||
if (this.isWithContent() && this._isEnabled) {
|
if (this.isWithContent() && this._isEnabled) {
|
||||||
$(this.element).trigger(showEvent);
|
$(this.element).trigger(showEvent);
|
||||||
var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
|
var shadowRoot = Util.findShadowRoot(this.element);
|
||||||
|
var isInTheDom = $.contains(shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement, this.element);
|
||||||
|
|
||||||
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
||||||
return;
|
return;
|
||||||
@ -2785,7 +2812,9 @@
|
|||||||
var attachment = this._getAttachment(placement);
|
var attachment = this._getAttachment(placement);
|
||||||
|
|
||||||
this.addAttachmentClass(attachment);
|
this.addAttachmentClass(attachment);
|
||||||
var container = this.config.container === false ? document.body : $(document).find(this.config.container);
|
|
||||||
|
var container = this._getContainer();
|
||||||
|
|
||||||
$(tip).data(this.constructor.DATA_KEY, this);
|
$(tip).data(this.constructor.DATA_KEY, this);
|
||||||
|
|
||||||
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
||||||
@ -2957,6 +2986,18 @@
|
|||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
|
_proto._getContainer = function _getContainer() {
|
||||||
|
if (this.config.container === false) {
|
||||||
|
return document.body;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Util.isElement(this.config.container)) {
|
||||||
|
return $(this.config.container);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $(document).find(this.config.container);
|
||||||
|
};
|
||||||
|
|
||||||
_proto._getAttachment = function _getAttachment(placement) {
|
_proto._getAttachment = function _getAttachment(placement) {
|
||||||
return AttachmentMap$1[placement.toUpperCase()];
|
return AttachmentMap$1[placement.toUpperCase()];
|
||||||
};
|
};
|
||||||
@ -3976,7 +4017,8 @@
|
|||||||
var ClassName$a = {
|
var ClassName$a = {
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
HIDE: 'hide',
|
HIDE: 'hide',
|
||||||
SHOW: 'show'
|
SHOW: 'show',
|
||||||
|
SHOWING: 'showing'
|
||||||
};
|
};
|
||||||
var DefaultType$7 = {
|
var DefaultType$7 = {
|
||||||
animation: 'boolean',
|
animation: 'boolean',
|
||||||
@ -4023,6 +4065,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this._element.classList.remove(ClassName$a.SHOWING);
|
||||||
|
|
||||||
|
_this._element.classList.add(ClassName$a.SHOW);
|
||||||
|
|
||||||
$(_this._element).trigger(Event$a.SHOWN);
|
$(_this._element).trigger(Event$a.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
@ -4030,7 +4076,9 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.add(ClassName$a.SHOW);
|
this._element.classList.remove(ClassName$a.HIDE);
|
||||||
|
|
||||||
|
this._element.classList.add(ClassName$a.SHOWING);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
@ -4091,6 +4139,8 @@
|
|||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this4._element.classList.add(ClassName$a.HIDE);
|
||||||
|
|
||||||
$(_this4._element).trigger(Event$a.HIDDEN);
|
$(_this4._element).trigger(Event$a.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
2
dist/js/bootstrap.js.map
vendored
2
dist/js/bootstrap.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/js/bootstrap.min.js
vendored
2
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/bootstrap.min.js.map
vendored
2
dist/js/bootstrap.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
js/dist/button.js
vendored
2
js/dist/button.js
vendored
@ -47,7 +47,7 @@
|
|||||||
var Selector = {
|
var Selector = {
|
||||||
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
|
||||||
DATA_TOGGLE: '[data-toggle="buttons"]',
|
DATA_TOGGLE: '[data-toggle="buttons"]',
|
||||||
INPUT: 'input',
|
INPUT: 'input:not([type="hidden"])',
|
||||||
ACTIVE: '.active',
|
ACTIVE: '.active',
|
||||||
BUTTON: '.btn'
|
BUTTON: '.btn'
|
||||||
};
|
};
|
||||||
|
2
js/dist/button.js.map
vendored
2
js/dist/button.js.map
vendored
File diff suppressed because one or more lines are too long
2
js/dist/dropdown.js
vendored
2
js/dist/dropdown.js
vendored
@ -502,7 +502,7 @@
|
|||||||
|
|
||||||
var isActive = $(parent).hasClass(ClassName.SHOW);
|
var isActive = $(parent).hasClass(ClassName.SHOW);
|
||||||
|
|
||||||
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
|
||||||
if (event.which === ESCAPE_KEYCODE) {
|
if (event.which === ESCAPE_KEYCODE) {
|
||||||
var toggle = parent.querySelector(Selector.DATA_TOGGLE);
|
var toggle = parent.querySelector(Selector.DATA_TOGGLE);
|
||||||
$(toggle).trigger('focus');
|
$(toggle).trigger('focus');
|
||||||
|
2
js/dist/dropdown.js.map
vendored
2
js/dist/dropdown.js.map
vendored
File diff suppressed because one or more lines are too long
4
js/dist/modal.js
vendored
4
js/dist/modal.js
vendored
@ -285,6 +285,8 @@
|
|||||||
|
|
||||||
this._element.removeAttribute('aria-hidden');
|
this._element.removeAttribute('aria-hidden');
|
||||||
|
|
||||||
|
this._element.setAttribute('aria-modal', true);
|
||||||
|
|
||||||
this._element.scrollTop = 0;
|
this._element.scrollTop = 0;
|
||||||
|
|
||||||
if (transition) {
|
if (transition) {
|
||||||
@ -364,6 +366,8 @@
|
|||||||
|
|
||||||
this._element.setAttribute('aria-hidden', true);
|
this._element.setAttribute('aria-hidden', true);
|
||||||
|
|
||||||
|
this._element.removeAttribute('aria-modal');
|
||||||
|
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
|
|
||||||
this._showBackdrop(function () {
|
this._showBackdrop(function () {
|
||||||
|
2
js/dist/modal.js.map
vendored
2
js/dist/modal.js.map
vendored
File diff suppressed because one or more lines are too long
13
js/dist/toast.js
vendored
13
js/dist/toast.js
vendored
@ -83,7 +83,8 @@
|
|||||||
var ClassName = {
|
var ClassName = {
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
HIDE: 'hide',
|
HIDE: 'hide',
|
||||||
SHOW: 'show'
|
SHOW: 'show',
|
||||||
|
SHOWING: 'showing'
|
||||||
};
|
};
|
||||||
var DefaultType = {
|
var DefaultType = {
|
||||||
animation: 'boolean',
|
animation: 'boolean',
|
||||||
@ -130,6 +131,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this._element.classList.remove(ClassName.SHOWING);
|
||||||
|
|
||||||
|
_this._element.classList.add(ClassName.SHOW);
|
||||||
|
|
||||||
$(_this._element).trigger(Event.SHOWN);
|
$(_this._element).trigger(Event.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
@ -137,7 +142,9 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.add(ClassName.SHOW);
|
this._element.classList.remove(ClassName.HIDE);
|
||||||
|
|
||||||
|
this._element.classList.add(ClassName.SHOWING);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
@ -198,6 +205,8 @@
|
|||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
|
_this4._element.classList.add(ClassName.HIDE);
|
||||||
|
|
||||||
$(_this4._element).trigger(Event.HIDDEN);
|
$(_this4._element).trigger(Event.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
2
js/dist/toast.js.map
vendored
2
js/dist/toast.js.map
vendored
File diff suppressed because one or more lines are too long
19
js/dist/tooltip.js
vendored
19
js/dist/tooltip.js
vendored
@ -259,7 +259,8 @@
|
|||||||
|
|
||||||
if (this.isWithContent() && this._isEnabled) {
|
if (this.isWithContent() && this._isEnabled) {
|
||||||
$(this.element).trigger(showEvent);
|
$(this.element).trigger(showEvent);
|
||||||
var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
|
var shadowRoot = Util.findShadowRoot(this.element);
|
||||||
|
var isInTheDom = $.contains(shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement, this.element);
|
||||||
|
|
||||||
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
if (showEvent.isDefaultPrevented() || !isInTheDom) {
|
||||||
return;
|
return;
|
||||||
@ -280,7 +281,9 @@
|
|||||||
var attachment = this._getAttachment(placement);
|
var attachment = this._getAttachment(placement);
|
||||||
|
|
||||||
this.addAttachmentClass(attachment);
|
this.addAttachmentClass(attachment);
|
||||||
var container = this.config.container === false ? document.body : $(document).find(this.config.container);
|
|
||||||
|
var container = this._getContainer();
|
||||||
|
|
||||||
$(tip).data(this.constructor.DATA_KEY, this);
|
$(tip).data(this.constructor.DATA_KEY, this);
|
||||||
|
|
||||||
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
|
||||||
@ -452,6 +455,18 @@
|
|||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
|
_proto._getContainer = function _getContainer() {
|
||||||
|
if (this.config.container === false) {
|
||||||
|
return document.body;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Util.isElement(this.config.container)) {
|
||||||
|
return $(this.config.container);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $(document).find(this.config.container);
|
||||||
|
};
|
||||||
|
|
||||||
_proto._getAttachment = function _getAttachment(placement) {
|
_proto._getAttachment = function _getAttachment(placement) {
|
||||||
return AttachmentMap[placement.toUpperCase()];
|
return AttachmentMap[placement.toUpperCase()];
|
||||||
};
|
};
|
||||||
|
2
js/dist/tooltip.js.map
vendored
2
js/dist/tooltip.js.map
vendored
File diff suppressed because one or more lines are too long
22
js/dist/util.js
vendored
22
js/dist/util.js
vendored
@ -136,6 +136,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
findShadowRoot: function findShadowRoot(element) {
|
||||||
|
if (!document.documentElement.attachShadow) {
|
||||||
|
return null;
|
||||||
|
} // Can find the shadow root otherwise it'll return the document
|
||||||
|
|
||||||
|
|
||||||
|
if (typeof element.getRootNode === 'function') {
|
||||||
|
var root = element.getRootNode();
|
||||||
|
return root instanceof ShadowRoot ? root : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (element instanceof ShadowRoot) {
|
||||||
|
return element;
|
||||||
|
} // when we don't find a shadow root
|
||||||
|
|
||||||
|
|
||||||
|
if (!element.parentNode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Util.findShadowRoot(element.parentNode);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
setTransitionEndSupport();
|
setTransitionEndSupport();
|
||||||
|
2
js/dist/util.js.map
vendored
2
js/dist/util.js.map
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Bootstrap Plugin Test Suite</title>
|
<title>Bootstrap Plugin Test Suite</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Alert</title>
|
<title>Alert</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Button</title>
|
<title>Button</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Carousel</title>
|
<title>Carousel</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Collapse</title>
|
<title>Collapse</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Dropdown</title>
|
<title>Dropdown</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Modal</title>
|
<title>Modal</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Popover</title>
|
<title>Popover</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Scrollspy</title>
|
<title>Scrollspy</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Tab</title>
|
<title>Tab</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Toast</title>
|
<title>Toast</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
||||||
<title>Tooltip</title>
|
<title>Tooltip</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -166,7 +166,7 @@ $body-color: $gray-900 !default;
|
|||||||
//
|
//
|
||||||
// Style anchor elements.
|
// Style anchor elements.
|
||||||
|
|
||||||
$link-color: $primary !default;
|
$link-color: theme-color("primary") !default;
|
||||||
$link-decoration: none !default;
|
$link-decoration: none !default;
|
||||||
$link-hover-color: darken($link-color, 15%) !default;
|
$link-hover-color: darken($link-color, 15%) !default;
|
||||||
$link-hover-decoration: underline !default;
|
$link-hover-decoration: underline !default;
|
||||||
@ -250,7 +250,7 @@ $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
|||||||
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
||||||
|
|
||||||
$component-active-color: $white !default;
|
$component-active-color: $white !default;
|
||||||
$component-active-bg: $primary !default;
|
$component-active-bg: theme-color("primary") !default;
|
||||||
|
|
||||||
$caret-width: .3em !default;
|
$caret-width: .3em !default;
|
||||||
|
|
||||||
@ -531,7 +531,7 @@ $custom-control-label-disabled-color: $gray-600 !default;
|
|||||||
|
|
||||||
$custom-control-indicator-checked-color: $component-active-color !default;
|
$custom-control-indicator-checked-color: $component-active-color !default;
|
||||||
$custom-control-indicator-checked-bg: $component-active-bg !default;
|
$custom-control-indicator-checked-bg: $component-active-bg !default;
|
||||||
$custom-control-indicator-checked-disabled-bg: rgba($primary, .5) !default;
|
$custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
|
||||||
$custom-control-indicator-checked-box-shadow: none !default;
|
$custom-control-indicator-checked-box-shadow: none !default;
|
||||||
$custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
|
$custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
|
||||||
|
|
||||||
@ -642,8 +642,8 @@ $custom-file-text: (
|
|||||||
|
|
||||||
$form-feedback-margin-top: $form-text-margin-top !default;
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
||||||
$form-feedback-font-size: $small-font-size !default;
|
$form-feedback-font-size: $small-font-size !default;
|
||||||
$form-feedback-valid-color: $success !default;
|
$form-feedback-valid-color: theme-color("success") !default;
|
||||||
$form-feedback-invalid-color: $danger !default;
|
$form-feedback-invalid-color: theme-color("danger") !default;
|
||||||
|
|
||||||
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
||||||
$form-feedback-icon-valid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
$form-feedback-icon-valid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
||||||
@ -956,7 +956,7 @@ $progress-bg: $gray-200 !default;
|
|||||||
$progress-border-radius: $border-radius !default;
|
$progress-border-radius: $border-radius !default;
|
||||||
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
|
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
|
||||||
$progress-bar-color: $white !default;
|
$progress-bar-color: $white !default;
|
||||||
$progress-bar-bg: $primary !default;
|
$progress-bar-bg: theme-color("primary") !default;
|
||||||
$progress-bar-animation-timing: 1s linear infinite !default;
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
||||||
$progress-bar-transition: width .6s ease !default;
|
$progress-bar-transition: width .6s ease !default;
|
||||||
|
|
||||||
|
@ -29,9 +29,10 @@
|
|||||||
|
|
||||||
- group: v3.x
|
- group: v3.x
|
||||||
baseurl: https://getbootstrap.com/docs
|
baseurl: https://getbootstrap.com/docs
|
||||||
description: Single docs site for our previous major release. Last update was v3.3.7.
|
description: Our previous major release and its minor versions. Last update was v3.4.0.
|
||||||
versions:
|
versions:
|
||||||
- v: 3.3
|
- v: 3.3
|
||||||
|
- v: 3.4
|
||||||
|
|
||||||
- group: v4.x
|
- group: v4.x
|
||||||
baseurl: https://getbootstrap.com/docs
|
baseurl: https://getbootstrap.com/docs
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
<a class="dropdown-item" href="https://getbootstrap.com/docs/4.0/">v4.0.0</a>
|
<a class="dropdown-item" href="https://getbootstrap.com/docs/4.0/">v4.0.0</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="https://v4-alpha.getbootstrap.com/">v4 Alpha 6</a>
|
<a class="dropdown-item" href="https://v4-alpha.getbootstrap.com/">v4 Alpha 6</a>
|
||||||
|
<a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.0</a>
|
||||||
<a class="dropdown-item" href="https://getbootstrap.com/docs/3.3/">v3.3.7</a>
|
<a class="dropdown-item" href="https://getbootstrap.com/docs/3.3/">v3.3.7</a>
|
||||||
<a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a>
|
<a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
|
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
|
||||||
<meta name="author" content="{{ site.authors }}">
|
<meta name="author" content="{{ site.authors }}">
|
||||||
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
|
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="{{ site.authors }}">
|
<meta name="author" content="{{ site.authors }}">
|
||||||
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
||||||
|
File diff suppressed because one or more lines are too long
8
site/docs/4.1/assets/js/docs.min.js
vendored
8
site/docs/4.1/assets/js/docs.min.js
vendored
File diff suppressed because one or more lines are too long
@ -65,7 +65,7 @@ Be sure to have your pages set up with the latest design and development standar
|
|||||||
<head>
|
<head>
|
||||||
<!-- Required meta tags -->
|
<!-- Required meta tags -->
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
|
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
|
||||||
@ -106,7 +106,7 @@ Bootstrap requires the use of the HTML5 doctype. Without it, you'll see some fun
|
|||||||
Bootstrap is developed *mobile first*, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, **add the responsive viewport meta tag** to your `<head>`.
|
Bootstrap is developed *mobile first*, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, **add the responsive viewport meta tag** to your `<head>`.
|
||||||
|
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
You can see an example of this in action in the [starter template](#starter-template).
|
You can see an example of this in action in the [starter template](#starter-template).
|
||||||
|
@ -242,12 +242,14 @@ Create equal-width columns that span multiple rows by inserting a `.w-100` where
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col">col</div>
|
<div class="row">
|
||||||
<div class="col">col</div>
|
<div class="col">col</div>
|
||||||
<div class="w-100"></div>
|
<div class="col">col</div>
|
||||||
<div class="col">col</div>
|
<div class="w-100"></div>
|
||||||
<div class="col">col</div>
|
<div class="col">col</div>
|
||||||
|
<div class="col">col</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -263,15 +265,17 @@ For grids that are the same from the smallest of devices to the largest, use the
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col">col</div>
|
<div class="row">
|
||||||
<div class="col">col</div>
|
<div class="col">col</div>
|
||||||
<div class="col">col</div>
|
<div class="col">col</div>
|
||||||
<div class="col">col</div>
|
<div class="col">col</div>
|
||||||
</div>
|
<div class="col">col</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-8">col-8</div>
|
<div class="row">
|
||||||
<div class="col-4">col-4</div>
|
<div class="col-8">col-8</div>
|
||||||
|
<div class="col-4">col-4</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -283,14 +287,16 @@ Using a single set of `.col-sm-*` classes, you can create a basic grid system th
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-sm-8">col-sm-8</div>
|
<div class="row">
|
||||||
<div class="col-sm-4">col-sm-4</div>
|
<div class="col-sm-8">col-sm-8</div>
|
||||||
</div>
|
<div class="col-sm-4">col-sm-4</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-sm">col-sm</div>
|
<div class="row">
|
||||||
<div class="col-sm">col-sm</div>
|
<div class="col-sm">col-sm</div>
|
||||||
<div class="col-sm">col-sm</div>
|
<div class="col-sm">col-sm</div>
|
||||||
|
<div class="col-sm">col-sm</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -302,23 +308,25 @@ Don't want your columns to simply stack in some grid tiers? Use a combination of
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
|
<div class="container">
|
||||||
<div class="row">
|
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
|
||||||
<div class="col-12 col-md-8">.col-12 .col-md-8</div>
|
<div class="row">
|
||||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
<div class="col-12 col-md-8">.col-12 .col-md-8</div>
|
||||||
</div>
|
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
|
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Columns are always 50% wide, on mobile and desktop -->
|
<!-- Columns are always 50% wide, on mobile and desktop -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">.col-6</div>
|
<div class="col-6">.col-6</div>
|
||||||
<div class="col-6">.col-6</div>
|
<div class="col-6">.col-6</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -326,14 +334,16 @@ Don't want your columns to simply stack in some grid tiers? Use a combination of
|
|||||||
|
|
||||||
### Gutters
|
### Gutters
|
||||||
|
|
||||||
Gutters can be responsively adjusted by breakpoint-specific padding and negative margin utility classes. To change the gutters in a given row, pair a negative margin utility on the `.row` and matching padding utilities on the `.col`s.
|
Gutters can be responsively adjusted by breakpoint-specific padding and negative margin utility classes. To change the gutters in a given row, pair a negative margin utility on the `.row` and matching padding utilities on the `.col`s. The `.container` or `.container-fluid` parent may need to be adjusted too to avoid unwanted overflow, using again matching padding utility.
|
||||||
|
|
||||||
Here's an example of customizing the Bootstrap grid at the large (`lg`) breakpoint and above. We've increased the `.col` padding with `.px-lg-5` and then counteracted that with `.mx-lg-n5` on the parent `.row`.
|
Here's an example of customizing the Bootstrap grid at the large (`lg`) breakpoint and above. We've increased the `.col` padding with `.px-lg-5`, counteracted that with `.mx-lg-n5` on the parent `.row` and then adjusted the `.container` wrapper with `.px-lg-5`.
|
||||||
|
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row mx-lg-n5">
|
<div class="container px-lg-5">
|
||||||
<div class="col py-3 px-lg-5 border bg-light">Custom column padding</div>
|
<div class="row mx-lg-n5">
|
||||||
<div class="col py-3 px-lg-5 border bg-light">Custom column padding</div>
|
<div class="col py-3 px-lg-5 border bg-light">Custom column padding</div>
|
||||||
|
<div class="col py-3 px-lg-5 border bg-light">Custom column padding</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -493,10 +503,12 @@ If more than 12 columns are placed within a single row, each group of extra colu
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-9">.col-9</div>
|
<div class="row">
|
||||||
<div class="col-4">.col-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
|
<div class="col-9">.col-9</div>
|
||||||
<div class="col-6">.col-6<br>Subsequent columns continue along the new line.</div>
|
<div class="col-4">.col-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
|
||||||
|
<div class="col-6">.col-6<br>Subsequent columns continue along the new line.</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -508,15 +520,17 @@ Breaking columns to a new line in flexbox requires a small hack: add an element
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
<div class="row">
|
||||||
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
||||||
|
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
||||||
|
|
||||||
<!-- Force next columns to break to new line -->
|
<!-- Force next columns to break to new line -->
|
||||||
<div class="w-100"></div>
|
<div class="w-100"></div>
|
||||||
|
|
||||||
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
||||||
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -526,15 +540,17 @@ You may also apply this break at specific breakpoints with our [responsive displ
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
<div class="row">
|
||||||
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
||||||
|
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
||||||
|
|
||||||
<!-- Force next columns to break to new line at md breakpoint and up -->
|
<!-- Force next columns to break to new line at md breakpoint and up -->
|
||||||
<div class="w-100 d-none d-md-block"></div>
|
<div class="w-100 d-none d-md-block"></div>
|
||||||
|
|
||||||
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
||||||
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -596,16 +612,18 @@ Move columns to the right using `.offset-md-*` classes. These classes increase t
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-md-4">.col-md-4</div>
|
<div class="row">
|
||||||
<div class="col-md-4 offset-md-4">.col-md-4 .offset-md-4</div>
|
<div class="col-md-4">.col-md-4</div>
|
||||||
</div>
|
<div class="col-md-4 offset-md-4">.col-md-4 .offset-md-4</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
|
<div class="row">
|
||||||
<div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
|
<div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
|
||||||
</div>
|
<div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-md-6 offset-md-3">.col-md-6 .offset-md-3</div>
|
<div class="row">
|
||||||
|
<div class="col-md-6 offset-md-3">.col-md-6 .offset-md-3</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -615,14 +633,15 @@ In addition to column clearing at responsive breakpoints, you may need to reset
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
|
<div class="row">
|
||||||
<div class="col-sm-5 offset-sm-2 col-md-6 offset-md-0">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
|
<div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
|
||||||
</div>
|
<div class="col-sm-5 offset-sm-2 col-md-6 offset-md-0">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
|
<div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
|
||||||
<div class="col-sm-6 col-md-5 offset-md-2 col-lg-6 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
|
<div class="col-sm-6 col-md-5 offset-md-2 col-lg-6 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -634,17 +653,19 @@ With the move to flexbox in v4, you can use margin utilities like `.mr-auto` to
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-md-4">.col-md-4</div>
|
<div class="row">
|
||||||
<div class="col-md-4 ml-auto">.col-md-4 .ml-auto</div>
|
<div class="col-md-4">.col-md-4</div>
|
||||||
</div>
|
<div class="col-md-4 ml-auto">.col-md-4 .ml-auto</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-md-3 ml-md-auto">.col-md-3 .ml-md-auto</div>
|
<div class="row">
|
||||||
<div class="col-md-3 ml-md-auto">.col-md-3 .ml-md-auto</div>
|
<div class="col-md-3 ml-md-auto">.col-md-3 .ml-md-auto</div>
|
||||||
</div>
|
<div class="col-md-3 ml-md-auto">.col-md-3 .ml-md-auto</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-auto mr-auto">.col-auto .mr-auto</div>
|
<div class="row">
|
||||||
<div class="col-auto">.col-auto</div>
|
<div class="col-auto mr-auto">.col-auto .mr-auto</div>
|
||||||
|
<div class="col-auto">.col-auto</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
{% include example.html content=example %}
|
{% include example.html content=example %}
|
||||||
@ -656,15 +677,17 @@ To nest your content with the default grid, add a new `.row` and set of `.col-sm
|
|||||||
|
|
||||||
<div class="bd-example-row">
|
<div class="bd-example-row">
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
<div class="row">
|
<div class="container">
|
||||||
<div class="col-sm-9">
|
<div class="row">
|
||||||
Level 1: .col-sm-9
|
<div class="col-sm-9">
|
||||||
<div class="row">
|
Level 1: .col-sm-9
|
||||||
<div class="col-8 col-sm-6">
|
<div class="row">
|
||||||
Level 2: .col-8 .col-sm-6
|
<div class="col-8 col-sm-6">
|
||||||
</div>
|
Level 2: .col-8 .col-sm-6
|
||||||
<div class="col-4 col-sm-6">
|
</div>
|
||||||
Level 2: .col-4 .col-sm-6
|
<div class="col-4 col-sm-6">
|
||||||
|
Level 2: .col-4 .col-sm-6
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user