├── bootstrap4-source ├── site │ ├── static │ │ ├── CNAME │ │ ├── favicon.ico │ │ ├── docs │ │ │ └── 4.3 │ │ │ │ └── assets │ │ │ │ ├── img │ │ │ │ ├── examples │ │ │ │ │ ├── album.png │ │ │ │ │ ├── blog.png │ │ │ │ │ ├── cover.png │ │ │ │ │ ├── grid.png │ │ │ │ │ ├── blog@2x.png │ │ │ │ │ ├── grid@2x.png │ │ │ │ │ ├── navbars.png │ │ │ │ │ ├── pricing.png │ │ │ │ │ ├── product.png │ │ │ │ │ ├── sign-in.png │ │ │ │ │ ├── album@2x.png │ │ │ │ │ ├── carousel.png │ │ │ │ │ ├── checkout.png │ │ │ │ │ ├── cover@2x.png │ │ │ │ │ ├── dashboard.png │ │ │ │ │ ├── jumbotron.png │ │ │ │ │ ├── navbars@2x.png │ │ │ │ │ ├── offcanvas.png │ │ │ │ │ ├── pricing@2x.png │ │ │ │ │ ├── product@2x.png │ │ │ │ │ ├── sign-in@2x.png │ │ │ │ │ ├── carousel@2x.png │ │ │ │ │ ├── checkout@2x.png │ │ │ │ │ ├── dashboard@2x.png │ │ │ │ │ ├── jumbotron@2x.png │ │ │ │ │ ├── navbar-fixed.png │ │ │ │ │ ├── offcanvas@2x.png │ │ │ │ │ ├── floating-labels.png │ │ │ │ │ ├── navbar-bottom.png │ │ │ │ │ ├── navbar-fixed@2x.png │ │ │ │ │ ├── navbar-static.png │ │ │ │ │ ├── sticky-footer.png │ │ │ │ │ ├── navbar-bottom@2x.png │ │ │ │ │ ├── navbar-static@2x.png │ │ │ │ │ ├── starter-template.png │ │ │ │ │ ├── sticky-footer@2x.png │ │ │ │ │ ├── floating-labels@2x.png │ │ │ │ │ ├── starter-template@2x.png │ │ │ │ │ ├── sticky-footer-navbar.png │ │ │ │ │ └── sticky-footer-navbar@2x.png │ │ │ │ ├── bootstrap-themes.png │ │ │ │ ├── favicons │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── mstile-70x70.png │ │ │ │ │ ├── favicon-16x16.png │ │ │ │ │ ├── favicon-32x32.png │ │ │ │ │ ├── mstile-144x144.png │ │ │ │ │ ├── mstile-150x150.png │ │ │ │ │ ├── mstile-310x150.png │ │ │ │ │ ├── mstile-310x310.png │ │ │ │ │ ├── apple-touch-icon.png │ │ │ │ │ ├── android-chrome-192x192.png │ │ │ │ │ ├── android-chrome-512x512.png │ │ │ │ │ ├── browserconfig.xml │ │ │ │ │ ├── manifest.json │ │ │ │ │ └── safari-pinned-tab.svg │ │ │ │ └── bootstrap-themes@2x.png │ │ │ │ ├── brand │ │ │ │ ├── bootstrap-social.png │ │ │ │ ├── bootstrap-social-logo.png │ │ │ │ ├── bootstrap-solid.svg │ │ │ │ ├── bootstrap-punchout.svg │ │ │ │ └── bootstrap-outline.svg │ │ │ │ ├── scss │ │ │ │ ├── _browser-bugs.scss │ │ │ │ ├── _anchor.scss │ │ │ │ ├── _skippy.scss │ │ │ │ ├── _placeholder-img.scss │ │ │ │ ├── _colors.scss │ │ │ │ ├── _footer.scss │ │ │ │ ├── _clipboard-js.scss │ │ │ │ ├── _variables.scss │ │ │ │ ├── _ads.scss │ │ │ │ ├── _buttons.scss │ │ │ │ ├── _callouts.scss │ │ │ │ ├── _masthead.scss │ │ │ │ ├── _brand.scss │ │ │ │ ├── docs.scss │ │ │ │ └── _nav.scss │ │ │ │ └── js │ │ │ │ └── src │ │ │ │ └── search.js │ │ └── sw.js │ ├── layouts │ │ ├── shortcodes │ │ │ ├── partial.html │ │ │ ├── markdown.html │ │ │ ├── year.html │ │ │ ├── docsref.html │ │ │ ├── callout.html │ │ │ ├── list-versions.html │ │ │ ├── list-examples.html │ │ │ └── placeholder.html │ │ ├── partials │ │ │ ├── ads.html │ │ │ ├── skippy.html │ │ │ ├── callout-info-prefersreducedmotion.md │ │ │ ├── analytics.html │ │ │ ├── icons │ │ │ │ ├── menu.svg │ │ │ │ ├── import.svg │ │ │ │ ├── lightning.svg │ │ │ │ ├── download.svg │ │ │ │ ├── opencollective.svg │ │ │ │ ├── twitter.svg │ │ │ │ ├── bootstrap.svg │ │ │ │ ├── github.svg │ │ │ │ └── slack.svg │ │ │ ├── callout-danger-async-methods.md │ │ │ ├── callout-info-mediaqueries-breakpoints.md │ │ │ ├── callout-warning-color-assistive-technologies.md │ │ │ ├── stylesheet.html │ │ │ ├── getting-started │ │ │ │ └── components-requiring-javascript.html │ │ │ ├── favicons.html │ │ │ ├── header.html │ │ │ ├── footer.html │ │ │ ├── scripts.html │ │ │ ├── social.html │ │ │ ├── home │ │ │ │ └── masthead.html │ │ │ ├── docs-sidebar.html │ │ │ └── bugify.html │ │ ├── robots.txt │ │ ├── alias.html │ │ ├── _default │ │ │ ├── home.html │ │ │ ├── 404.html │ │ │ ├── redirect.html │ │ │ ├── single.html │ │ │ ├── docs.html │ │ │ └── examples.html │ │ └── sitemap.xml │ ├── content │ │ ├── docs │ │ │ ├── 4.3 │ │ │ │ ├── examples │ │ │ │ │ ├── starter-template │ │ │ │ │ │ ├── starter-template.css │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── navbar-static │ │ │ │ │ │ ├── navbar-top.css │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── navbars │ │ │ │ │ │ └── navbar.css │ │ │ │ │ ├── checkout │ │ │ │ │ │ ├── form-validation.css │ │ │ │ │ │ └── form-validation.js │ │ │ │ │ ├── navbar-fixed │ │ │ │ │ │ ├── navbar-top-fixed.css │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── grid │ │ │ │ │ │ └── grid.css │ │ │ │ │ ├── sticky-footer-navbar │ │ │ │ │ │ └── sticky-footer-navbar.css │ │ │ │ │ ├── offcanvas │ │ │ │ │ │ ├── offcanvas.js │ │ │ │ │ │ └── offcanvas.css │ │ │ │ │ ├── _index.md │ │ │ │ │ ├── sticky-footer │ │ │ │ │ │ ├── sticky-footer.css │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── pricing │ │ │ │ │ │ └── pricing.css │ │ │ │ │ ├── .stylelintrc │ │ │ │ │ ├── sign-in │ │ │ │ │ │ ├── signin.css │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── dashboard │ │ │ │ │ │ └── dashboard.js │ │ │ │ │ ├── cover │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── cover.css │ │ │ │ │ ├── floating-labels │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── product │ │ │ │ │ │ └── product.css │ │ │ │ │ ├── navbar-bottom │ │ │ │ │ │ └── index.html │ │ │ │ │ └── carousel │ │ │ │ │ │ └── carousel.css │ │ │ │ ├── _index.html │ │ │ │ ├── components │ │ │ │ │ └── close-icon.md │ │ │ │ ├── utilities │ │ │ │ │ ├── position.md │ │ │ │ │ ├── shadows.md │ │ │ │ │ ├── visibility.md │ │ │ │ │ ├── overflow.md │ │ │ │ │ ├── vertical-align.md │ │ │ │ │ └── float.md │ │ │ │ ├── getting-started │ │ │ │ │ └── best-practices.md │ │ │ │ ├── about │ │ │ │ │ ├── translations.md │ │ │ │ │ ├── team.md │ │ │ │ │ └── license.md │ │ │ │ ├── helpers │ │ │ │ │ ├── text-truncation.md │ │ │ │ │ ├── screen-readers.md │ │ │ │ │ ├── clearfix.md │ │ │ │ │ └── position.md │ │ │ │ ├── extend │ │ │ │ │ └── icons.md │ │ │ │ ├── content │ │ │ │ │ ├── figures.md │ │ │ │ │ └── code.md │ │ │ │ └── layout │ │ │ │ │ └── utilities-for-layout.md │ │ │ ├── _index.html │ │ │ └── versions.md │ │ └── 404.md │ ├── data │ │ ├── theme-colors.yml │ │ ├── grays.yml │ │ ├── core-team.yml │ │ ├── colors.yml │ │ ├── translations.yml │ │ ├── breakpoints.yml │ │ └── docs-versions.yml │ └── .eslintrc.json ├── .stylelintignore ├── scss │ ├── helpers │ │ ├── _clearfix.scss │ │ ├── _text.scss │ │ ├── _screenreaders.scss │ │ ├── _background.scss │ │ ├── _position.scss │ │ ├── _stretched-link.scss │ │ └── _embed.scss │ ├── mixins │ │ ├── _clearfix.scss │ │ ├── _lists.scss │ │ ├── _text-truncate.scss │ │ ├── _resize.scss │ │ ├── _alert.scss │ │ ├── _background-variant.scss │ │ ├── _nav-divider.scss │ │ ├── _transition.scss │ │ ├── _text-emphasis.scss │ │ ├── _image.scss │ │ ├── _list-group.scss │ │ ├── _reset-text.scss │ │ ├── _pagination.scss │ │ ├── _box-shadow.scss │ │ ├── _deprecate.scss │ │ ├── _screen-reader.scss │ │ ├── _table-row.scss │ │ ├── _utilities.scss │ │ ├── _border-radius.scss │ │ ├── _caret.scss │ │ ├── _grid.scss │ │ └── _grid-framework.scss │ ├── utilities │ │ ├── _text.scss │ │ ├── _visibility.scss │ │ ├── _sizing.scss │ │ └── _api.scss │ ├── _helpers.scss │ ├── _transitions.scss │ ├── bootstrap-reboot.scss │ ├── _root.scss │ ├── _badge.scss │ ├── _close.scss │ ├── _mixins.scss │ ├── _toasts.scss │ ├── _code.scss │ ├── _grid.scss │ ├── _progress.scss │ ├── _spinners.scss │ ├── _images.scss │ ├── bootstrap.scss │ ├── _alert.scss │ ├── bootstrap4-email-css.scss │ ├── _breadcrumb.scss │ ├── bootstrap-grid.scss │ └── _pagination.scss ├── .eslintignore ├── build │ ├── .eslintrc.json │ ├── postcss.config.js │ ├── banner.js │ ├── rollup.config.js │ ├── svgo.yml │ ├── generate-sri.js │ └── ship.sh ├── .browserslistrc ├── .editorconfig ├── js │ ├── tests │ │ ├── integration │ │ │ ├── bundle.js │ │ │ └── rollup.bundle.js │ │ ├── unit │ │ │ ├── tests-polyfills.js │ │ │ ├── util │ │ │ │ └── sanitizer.js │ │ │ └── .eslintrc.json │ │ └── browsers.js │ ├── index.esm.js │ ├── index.umd.js │ └── src │ │ └── dom │ │ └── data.js ├── .stylelintrc ├── .babelrc.js ├── SECURITY.md ├── package.js ├── .travis.yml ├── composer.json ├── nuget │ ├── MyGet.ps1 │ ├── bootstrap.nuspec │ └── bootstrap.sass.nuspec ├── LICENSE └── .eslintrc.json ├── generate-bootstrap4-email-css.sh └── README.md /bootstrap4-source/site/static/CNAME: -------------------------------------------------------------------------------- 1 | getbootstrap.com 2 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/shortcodes/partial.html: -------------------------------------------------------------------------------- 1 | {{ partial (.Get 0) . }} 2 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/shortcodes/markdown.html: -------------------------------------------------------------------------------- 1 | {{- .Inner | markdownify -}} 2 | -------------------------------------------------------------------------------- /bootstrap4-source/.stylelintignore: -------------------------------------------------------------------------------- 1 | **/*.min.css 2 | **/dist/ 3 | **/vendor/ 4 | /_gh_pages/ 5 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/helpers/_clearfix.scss: -------------------------------------------------------------------------------- 1 | .clearfix { 2 | @include clearfix(); 3 | } 4 | -------------------------------------------------------------------------------- /bootstrap4-source/.eslintignore: -------------------------------------------------------------------------------- 1 | **/*.min.js 2 | **/dist/ 3 | **/vendor/ 4 | /_gh_pages/ 5 | /js/coverage/ 6 | /package.js 7 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/starter-template/starter-template.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 5rem; 3 | } 4 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/helpers/_text.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Text 3 | // 4 | 5 | .text-truncate { 6 | @include text-truncate; 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/shortcodes/year.html: -------------------------------------------------------------------------------- 1 | {{- /* 2 | Output the current year 3 | */ -}} 4 | 5 | {{- now.Format "2006" -}} 6 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/shortcodes/docsref.html: -------------------------------------------------------------------------------- 1 | {{- relref . ((printf "docs/%s%s" $.Site.Params.docs_version (.Get 0)) | relURL) -}} 2 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/favicon.ico -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/navbar-static/navbar-top.css: -------------------------------------------------------------------------------- 1 | /* Show it's not fixed to the top */ 2 | body { 3 | min-height: 75rem; 4 | } 5 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | @mixin clearfix() { 2 | &::after { 3 | display: block; 4 | clear: both; 5 | content: ""; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/navbars/navbar.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-bottom: 20px; 3 | } 4 | 5 | .navbar { 6 | margin-bottom: 20px; 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/_index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: redirect 3 | sitemap_exclude: true 4 | redirect: "/docs/4.3/getting-started/introduction/" 5 | --- 6 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/helpers/_screenreaders.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Screenreaders 3 | // 4 | 5 | .sr-only, 6 | .sr-only-focusable:not(:focus) { 7 | @include sr-only(); 8 | } 9 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/_index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: redirect 3 | sitemap_exclude: true 4 | redirect: "/docs/4.3/getting-started/introduction/" 5 | --- 6 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/checkout/form-validation.css: -------------------------------------------------------------------------------- 1 | .container { 2 | max-width: 960px; 3 | } 4 | 5 | .lh-condensed { line-height: 1.25; } 6 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/partials/ads.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/partials/skippy.html: -------------------------------------------------------------------------------- 1 | 2 | Skip to main content 3 | 4 | -------------------------------------------------------------------------------- /generate-bootstrap4-email-css.sh: -------------------------------------------------------------------------------- 1 | sass ./bootstrap4-source/scss/bootstrap4-email-css.scss:./bootstrap4-email-css.min.css --style compressed --no-source-map && ls -al ./bootstrap*.css -------------------------------------------------------------------------------- /bootstrap4-source/scss/utilities/_text.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Text 3 | // 4 | 5 | @each $color, $value in $theme-colors { 6 | @include text-emphasis-variant(".text-#{$color}", $value); 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/navbar-fixed/navbar-top-fixed.css: -------------------------------------------------------------------------------- 1 | /* Show it is fixed to the top */ 2 | body { 3 | min-height: 75rem; 4 | padding-top: 4.5rem; 5 | } 6 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/album.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/album.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/blog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/blog.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/cover.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/grid.png -------------------------------------------------------------------------------- /bootstrap4-source/scss/helpers/_background.scss: -------------------------------------------------------------------------------- 1 | @if $enable-gradients { 2 | @each $color, $value in $theme-colors { 3 | @include bg-gradient-variant(".bg-gradient-#{$color}", $value); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/bootstrap-themes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/bootstrap-themes.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/blog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/blog@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/grid@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/grid@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbars.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/pricing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/pricing.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/product.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/product.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sign-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sign-in.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon.ico -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/brand/bootstrap-social.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/brand/bootstrap-social.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/bootstrap-themes@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/bootstrap-themes@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/album@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/album@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/carousel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/carousel.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/checkout.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/cover@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/cover@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/dashboard.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/jumbotron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/jumbotron.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbars@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbars@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/offcanvas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/offcanvas.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/pricing@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/pricing@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/product@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/product@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sign-in@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sign-in@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/carousel@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/carousel@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/checkout@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/checkout@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/dashboard@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/dashboard@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/jumbotron@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/jumbotron@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-fixed.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/offcanvas@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/offcanvas@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-70x70.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/brand/bootstrap-social-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/brand/bootstrap-social-logo.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/floating-labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/floating-labels.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-bottom.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-fixed@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-fixed@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-static.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon-16x16.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-144x144.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-150x150.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-310x150.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/mstile-310x310.png -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/versions.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Versions 3 | description: An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v4. 4 | --- 5 | 6 | {{< list-versions >}} 7 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-bottom@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-bottom@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-static@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/navbar-static@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/starter-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/starter-template.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/apple-touch-icon.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/floating-labels@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/floating-labels@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/starter-template@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/starter-template@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer-navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer-navbar.png -------------------------------------------------------------------------------- /bootstrap4-source/build/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": false, 4 | "node": true 5 | }, 6 | "parserOptions": { 7 | "sourceType": "script" 8 | }, 9 | "extends": "../.eslintrc.json" 10 | } 11 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/android-chrome-192x192.png -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/favicons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/favicons/android-chrome-512x512.png -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/grid/grid.css: -------------------------------------------------------------------------------- 1 | .themed-grid-col { 2 | padding-top: 15px; 3 | padding-bottom: 15px; 4 | background-color: rgba(86, 61, 124, .15); 5 | border: 1px solid rgba(86, 61, 124, .2); 6 | } 7 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer-navbar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexStack/Bootstrap-Email-Css/master/bootstrap4-source/site/static/docs/4.3/assets/img/examples/sticky-footer-navbar@2x.png -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/_helpers.scss: -------------------------------------------------------------------------------- 1 | @import "helpers/background"; 2 | @import "helpers/clearfix"; 3 | @import "helpers/embed"; 4 | @import "helpers/position"; 5 | @import "helpers/screenreaders"; 6 | @import "helpers/stretched-link"; 7 | @import "helpers/text"; 8 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 5 | resize: $direction; // Options: horizontal, vertical, both 6 | } 7 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | @mixin alert-variant($background, $border, $color) { 2 | color: $color; 3 | @include gradient-bg($background); 4 | border-color: $border; 5 | 6 | .alert-link { 7 | color: darken($color, 10%); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /bootstrap4-source/site/static/docs/4.3/assets/scss/_browser-bugs.scss: -------------------------------------------------------------------------------- 1 | // Wall of Browser Bugs 2 | // 3 | // Better display for the responsive table on the Wall of Browser Bugs. 4 | 5 | .bd-browser-bugs { 6 | th:first-child { 7 | width: 18%; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/utilities/_visibility.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // 4 | // Visibility utilities 5 | // 6 | 7 | .visible { 8 | visibility: visible !important; 9 | } 10 | 11 | .invisible { 12 | visibility: hidden !important; 13 | } 14 | -------------------------------------------------------------------------------- /bootstrap4-source/scss/mixins/_background-variant.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @mixin bg-gradient-variant($parent, $color) { 4 | #{$parent} { 5 | background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/sticky-footer-navbar/sticky-footer-navbar.css: -------------------------------------------------------------------------------- 1 | /* Custom page CSS 2 | -------------------------------------------------- */ 3 | /* Not required for template or sticky footer method. */ 4 | 5 | main > .container { 6 | padding: 60px 15px 0; 7 | } 8 | -------------------------------------------------------------------------------- /bootstrap4-source/.browserslistrc: -------------------------------------------------------------------------------- 1 | # https://github.com/browserslist/browserslist#readme 2 | 3 | >= 1% 4 | last 1 major version 5 | not dead 6 | Chrome >= 60 7 | Firefox >= 60 8 | Edge >= 15.15063 9 | Explorer 11 10 | iOS >= 10 11 | Safari >= 10 12 | Android >= 6 13 | not ExplorerMobile <= 11 14 | -------------------------------------------------------------------------------- /bootstrap4-source/site/layouts/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org 2 | 3 | {{ if (eq (getenv "HUGO_ENV") "production") -}} 4 | # Allow crawling of all content 5 | {{- end }} 6 | User-agent: * 7 | Disallow:{{ if (ne (getenv "HUGO_ENV") "production") }} /{{ end }} 8 | Sitemap: {{ .Site.BaseURL }}/sitemap.xml 9 | -------------------------------------------------------------------------------- /bootstrap4-source/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | -------------------------------------------------------------------------------- /bootstrap4-source/js/tests/integration/bundle.js: -------------------------------------------------------------------------------- 1 | import 'popper.js' 2 | import { Tooltip } from '../../../dist/js/bootstrap.esm.js' 3 | 4 | window.addEventListener('load', () => { 5 | [...document.querySelectorAll('[data-toggle="tooltip"]')] 6 | .map(tooltipNode => new Tooltip(tooltipNode)) 7 | }) 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/offcanvas/offcanvas.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 'use strict' 3 | 4 | document.querySelector('[data-toggle="offcanvas"]').addEventListener('click', function () { 5 | document.querySelector('.offcanvas-collapse').classList.toggle('open') 6 | }) 7 | })() 8 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/docs/4.3/examples/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: single 3 | title: Examples 4 | description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts. 5 | aliases: "/examples/" 6 | --- 7 | 8 | {{< list-examples >}} 9 | -------------------------------------------------------------------------------- /bootstrap4-source/site/content/404.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "404 - File not found" 3 | layout: 404 4 | description: "" 5 | url: /404.html 6 | robots: noindex,follow 7 | sitemap_exclude: true 8 | --- 9 | 10 |
Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.
16 |Use }}">the sticky footer with a fixed navbar if need be, too.
17 |{{ $release.description }}
6 | {{- $versions := sort $release.versions "v" "desc" -}} 7 | {{- range $i, $version := $versions }} 8 | {{- $len := len $versions -}} 9 | {{ if (eq $i 0) }}{{ .Page.Params.Description | markdownify }}
15 | {{ if eq .Title "Examples" }} 16 | Download source code 17 | {{ end }} 18 |{{ .Page.Params.Description | markdownify }}
26 | {{ partial "ads" . }} 27 | {{ .Content }} 28 |.overflow-auto on an element with set width and height dimensions. By design, this content will vertically scroll.
13 | .overflow-hidden on an element with set width and height dimensions.
16 | {{ $entry.description }}
4 | 5 | {{ range $i, $example := $entry.examples -}} 6 | {{- $len := len $entry.examples -}} 7 | {{ if (eq $i 0) }}
13 | {{ $example.description }}
16 |Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.
25 |26 | Learn more 27 |
28 || baseline | 30 |top | 31 |middle | 32 |bottom | 33 |text-top | 34 |text-bottom | 35 |
`. Be sure to escape HTML angle brackets.
12 |
13 | {{< example >}}
14 | For example, <section> should be wrapped as inline.
15 | {{< /example >}}
16 |
17 | ## Code blocks
18 |
19 | Use ``s for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering. You may optionally add the `.pre-scrollable` class, which will set a max-height of 340px and provide a y-axis scrollbar.
20 |
21 | {{< example >}}
22 | <p>Sample text here...</p>
23 | <p>And another line of sample text here...</p>
24 |
25 | {{< /example >}}
26 |
27 | ## Variables
28 |
29 | For indicating variables use the `` tag.
30 |
31 | {{< example >}}
32 | y = mx + b
33 | {{< /example >}}
34 |
35 | ## User input
36 |
37 | Use the `` to indicate input that is typically entered via keyboard.
38 |
39 | {{< example >}}
40 | To switch directories, type cd followed by the name of the directory.
41 | To edit settings, press ctrl + ,
42 | {{< /example >}}
43 |
44 | ## Sample output
45 |
46 | For indicating sample output from a program use the `` tag.
47 |
48 | {{< example >}}
49 | This text is meant to be treated as sample output from a computer program.
50 | {{< /example >}}
51 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/layouts/shortcodes/placeholder.html:
--------------------------------------------------------------------------------
1 | {{- /*
2 | Usage: `placeholder args`
3 |
4 | args can be one of the following:
5 | title: Used in the SVG `title` tag, default "Placeholder"
6 | text: The text to show in the image - default: "width x height"
7 | class: default: "bd-placeholder-img"
8 | color: The text color (foreground) - default: "#dee2e6"
9 | background: The background color - default: "#868e96"
10 | width: default: 100%
11 | height: default: 180px
12 | */ -}}
13 |
14 | {{- $grays := $.Site.Data.grays -}}
15 | {{- $title := .Get "title" | default "Placeholder" -}}
16 | {{- $class := .Get "class" -}}
17 | {{- $color := .Get "color" | default (index $grays 2).hex -}}
18 | {{- $background := .Get "background" | default (index $grays 5).hex -}}
19 | {{- $width := .Get "width" | default "100%" -}}
20 | {{- $height := .Get "height" | default "180" -}}
21 | {{- $text := .Get "text" | default (printf "%sx%s" $width $height) -}}
22 |
23 | {{- $show_title := not (eq $title "false") -}}
24 | {{- $show_text := not (eq $text "false") -}}
25 |
26 |
31 |
--------------------------------------------------------------------------------
/bootstrap4-source/scss/mixins/_caret.scss:
--------------------------------------------------------------------------------
1 | @mixin caret-down {
2 | border-top: $caret-width solid;
3 | border-right: $caret-width solid transparent;
4 | border-bottom: 0;
5 | border-left: $caret-width solid transparent;
6 | }
7 |
8 | @mixin caret-up {
9 | border-top: 0;
10 | border-right: $caret-width solid transparent;
11 | border-bottom: $caret-width solid;
12 | border-left: $caret-width solid transparent;
13 | }
14 |
15 | @mixin caret-right {
16 | border-top: $caret-width solid transparent;
17 | border-right: 0;
18 | border-bottom: $caret-width solid transparent;
19 | border-left: $caret-width solid;
20 | }
21 |
22 | @mixin caret-left {
23 | border-top: $caret-width solid transparent;
24 | border-right: $caret-width solid;
25 | border-bottom: $caret-width solid transparent;
26 | }
27 |
28 | @mixin caret($direction: down) {
29 | @if $enable-caret {
30 | &::after {
31 | display: inline-block;
32 | margin-left: $caret-spacing;
33 | vertical-align: $caret-vertical-align;
34 | content: "";
35 | @if $direction == down {
36 | @include caret-down;
37 | } @else if $direction == up {
38 | @include caret-up;
39 | } @else if $direction == right {
40 | @include caret-right;
41 | }
42 | }
43 |
44 | @if $direction == left {
45 | &::after {
46 | display: none;
47 | }
48 |
49 | &::before {
50 | display: inline-block;
51 | margin-right: $caret-spacing;
52 | vertical-align: $caret-vertical-align;
53 | content: "";
54 | @include caret-left;
55 | }
56 | }
57 |
58 | &:empty::after {
59 | margin-left: 0;
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/utilities/float.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: docs
3 | title: Float
4 | description: Toggle floats on any element, across any breakpoint, using our responsive float utilities.
5 | group: utilities
6 | toc: true
7 | ---
8 |
9 | ## Overview
10 |
11 | These utility classes float an element to the left or right, or disable floating, based on the current viewport size using the [CSS `float` property](https://developer.mozilla.org/en-US/docs/Web/CSS/float). `!important` is included to avoid specificity issues. These use the same viewport breakpoints as our grid system. Please be aware float utilities have no affect on flex items.
12 |
13 | {{< example >}}
14 | Float left on all viewport sizes
15 | Float right on all viewport sizes
16 | Don't float on all viewport sizes
17 | {{< /example >}}
18 |
19 | ## Responsive
20 |
21 | Responsive variations also exist for each `float` value.
22 |
23 | {{< example >}}
24 | Float left on viewports sized SM (small) or wider
25 | Float left on viewports sized MD (medium) or wider
26 | Float left on viewports sized LG (large) or wider
27 | Float left on viewports sized XL (extra-large) or wider
28 | {{< /example >}}
29 |
30 | Here are all the support classes:
31 |
32 | {{< markdown >}}
33 | {{< float.inline >}}
34 | {{- range $.Site.Data.breakpoints }}
35 | - `.float{{ .abbr }}-left`
36 | - `.float{{ .abbr }}-right`
37 | - `.float{{ .abbr }}-none`
38 | {{- end -}}
39 | {{< /float.inline >}}
40 | {{< /markdown >}}
41 |
--------------------------------------------------------------------------------
/bootstrap4-source/nuget/bootstrap.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | bootstrap
5 | 4.3.1
6 | Bootstrap CSS
7 | The Bootstrap Authors, Twitter Inc.
8 | bootstrap
9 | The most popular front-end framework for developing responsive, mobile first projects on the web.
10 | https://blog.getbootstrap.com/
11 | Bootstrap framework in CSS. Includes fonts and JavaScript
12 | en-us
13 | https://getbootstrap.com/
14 | https://getbootstrap.com/docs/4.3/assets/img/favicons/apple-touch-icon.png
15 | LICENSE.txt
16 | Copyright 2017-2019
17 | false
18 |
19 |
20 |
21 | css mobile-first responsive front-end framework web
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/static/docs/4.3/assets/scss/_brand.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Brand guidelines
3 | //
4 |
5 | // Logo series wrapper
6 | .bd-brand-logos {
7 | display: table;
8 | width: 100%;
9 | margin-bottom: 1rem;
10 | overflow: hidden;
11 | color: $bd-purple;
12 | background-color: #f9f9f9;
13 | @include border-radius;
14 |
15 | .inverse {
16 | color: $white;
17 | background-color: $bd-purple;
18 | }
19 | }
20 |
21 | // Individual items
22 | .bd-brand-item {
23 | padding: 4rem 0;
24 | text-align: center;
25 |
26 | + .bd-brand-item {
27 | border-top: 1px solid $white;
28 | }
29 |
30 | // Heading content within
31 | h1,
32 | h3 {
33 | margin-top: 0;
34 | margin-bottom: 0;
35 | }
36 |
37 | @include media-breakpoint-up(md) {
38 | display: table-cell;
39 | width: 1%;
40 |
41 | + .bd-brand-item {
42 | border-top: 0;
43 | border-left: 1px solid $white;
44 | }
45 |
46 | h1 {
47 | @include font-size(4rem);
48 | }
49 | }
50 | }
51 |
52 |
53 | //
54 | // Color swatches
55 | //
56 |
57 | .color-swatches {
58 | margin: 0 -5px;
59 | overflow: hidden; // clearfix
60 |
61 | // Docs colors
62 | .bd-purple {
63 | background-color: $bd-purple;
64 | }
65 | .bd-purple-light {
66 | background-color: $bd-purple-light;
67 | }
68 | .bd-purple-lighter {
69 | background-color: #e5e1ea;
70 | }
71 | .bd-gray {
72 | background-color: #f9f9f9;
73 | }
74 | }
75 |
76 | .color-swatch {
77 | float: left;
78 | width: 4rem;
79 | height: 4rem;
80 | margin-right: .25rem;
81 | margin-left: .25rem;
82 | @include border-radius;
83 |
84 | @include media-breakpoint-up(md) {
85 | width: 6rem;
86 | height: 6rem;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/bootstrap4-source/nuget/bootstrap.sass.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | bootstrap.sass
5 | 4.3.1
6 | Bootstrap Sass
7 | The Bootstrap Authors, Twitter Inc.
8 | bootstrap
9 | The most popular front-end framework for developing responsive, mobile first projects on the web.
10 | https://blog.getbootstrap.com/
11 | Bootstrap framework in Sass. Includes fonts and JavaScript
12 | en-us
13 | https://getbootstrap.com/
14 | https://getbootstrap.com/docs/4.3/assets/img/favicons/apple-touch-icon.png
15 | LICENSE.txt
16 | Copyright 2017-2019
17 | false
18 |
19 |
20 |
21 | css sass mobile-first responsive front-end framework web
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/bootstrap4-source/js/tests/browsers.js:
--------------------------------------------------------------------------------
1 | /* eslint-env node */
2 | /* eslint-disable camelcase */
3 |
4 | const browsers = {
5 | safariMac: {
6 | base: 'BrowserStack',
7 | os: 'OS X',
8 | os_version: 'High Sierra',
9 | browser: 'Safari',
10 | browser_version: 'latest'
11 | },
12 | chromeMac: {
13 | base: 'BrowserStack',
14 | os: 'OS X',
15 | os_version: 'High Sierra',
16 | browser: 'Chrome',
17 | browser_version: 'latest'
18 | },
19 | firefoxMac: {
20 | base: 'BrowserStack',
21 | os: 'OS X',
22 | os_version: 'High Sierra',
23 | browser: 'Firefox',
24 | browser_version: 'latest'
25 | },
26 | edgeWin10: {
27 | base: 'BrowserStack',
28 | os: 'Windows',
29 | os_version: '10',
30 | browser: 'Edge',
31 | browser_version: 'latest'
32 | },
33 | ie11Win10: {
34 | base: 'BrowserStack',
35 | os: 'Windows',
36 | os_version: '10',
37 | browser: 'IE',
38 | browser_version: '11.0'
39 | },
40 | chromeWin10: {
41 | base: 'BrowserStack',
42 | os: 'Windows',
43 | os_version: '10',
44 | browser: 'Chrome',
45 | browser_version: 'latest'
46 | },
47 | firefoxWin10: {
48 | base: 'BrowserStack',
49 | os: 'Windows',
50 | os_version: '10',
51 | browser: 'Firefox',
52 | browser_version: 'latest'
53 | },
54 | iphoneX: {
55 | base: 'BrowserStack',
56 | os: 'ios',
57 | os_version: '11.0',
58 | device: 'iPhone X',
59 | real_mobile: true
60 | },
61 | pixel2: {
62 | base: 'BrowserStack',
63 | os: 'android',
64 | os_version: '8.0',
65 | device: 'Google Pixel 2',
66 | real_mobile: true
67 | }
68 | }
69 |
70 | const browsersKeys = Object.keys(browsers)
71 |
72 | module.exports = {
73 | browsers,
74 | browsersKeys
75 | }
76 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/navbar-fixed/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: examples
3 | title: Fixed top navbar example
4 | extra_css:
5 | - "navbar-top-fixed.css"
6 | ---
7 |
8 |
31 |
32 |
33 |
34 | Navbar example
35 | This example is a quick exercise to illustrate how fixed to top navbar works. As you scroll, it will remain fixed to the top of your browser’s viewport.
36 | }}" role="button">View navbar docs »
37 |
38 |
39 |
--------------------------------------------------------------------------------
/bootstrap4-source/scss/mixins/_grid.scss:
--------------------------------------------------------------------------------
1 | /// Grid system
2 | //
3 | // Generate semantic grid columns with these mixins.
4 |
5 | @mixin make-container($padding-x: $container-padding-x) {
6 | width: 100%;
7 | padding-right: $padding-x;
8 | padding-left: $padding-x;
9 | margin-right: auto;
10 | margin-left: auto;
11 | }
12 |
13 |
14 | // For each breakpoint, define the maximum width of the container in a media query
15 | @mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {
16 | @each $breakpoint, $container-max-width in $max-widths {
17 | @include media-breakpoint-up($breakpoint, $breakpoints) {
18 | max-width: $container-max-width;
19 | }
20 | }
21 | }
22 |
23 | @mixin make-row($gutter: $grid-gutter-width) {
24 | display: flex;
25 | flex-wrap: wrap;
26 | margin-right: -$gutter / 2;
27 | margin-left: -$gutter / 2;
28 | }
29 |
30 | @mixin make-col-ready($gutter: $grid-gutter-width) {
31 | position: relative;
32 | // Prevent columns from becoming too narrow when at smaller grid tiers by
33 | // always setting `width: 100%;`. This works because we use `flex` values
34 | // later on to override this initial width.
35 | width: 100%;
36 | padding-right: $gutter / 2;
37 | padding-left: $gutter / 2;
38 | }
39 |
40 | @mixin make-col($size, $columns: $grid-columns) {
41 | flex: 0 0 percentage($size / $columns);
42 | // Add a `max-width` to ensure content within each column does not blow out
43 | // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
44 | // do not appear to require this.
45 | max-width: percentage($size / $columns);
46 | }
47 |
48 | @mixin make-col-offset($size, $columns: $grid-columns) {
49 | $num: $size / $columns;
50 | margin-left: if($num == 0, 0, percentage($num));
51 | }
52 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/navbar-static/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: examples
3 | title: Top navbar example
4 | extra_css:
5 | - "navbar-top.css"
6 | ---
7 |
8 |
31 |
32 |
33 |
34 | Navbar example
35 | This example is a quick exercise to illustrate how the top-aligned navbar works. As you scroll, this navbar remains in its original position and moves with the rest of the page.
36 | }}" role="button">View navbar docs »
37 |
38 |
39 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/static/docs/4.3/assets/scss/docs.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Docs (https://getbootstrap.com/)
3 | * Copyright 2011-2019 The Bootstrap Authors
4 | * Copyright 2011-2019 Twitter, Inc.
5 | * Licensed under the Creative Commons Attribution 3.0 Unported License.
6 | * For details, see https://creativecommons.org/licenses/by/3.0/.
7 | */
8 |
9 | // Dev notes
10 | //
11 | // Background information on nomenclature and architecture decisions here.
12 | //
13 | // - Bootstrap functions, variables, and mixins are included for easy reuse.
14 | // Doing so gives us access to the same core utilities provided by Bootstrap.
15 | // For example, consistent media queries through those mixins.
16 | //
17 | // - Bootstrap's **docs variables** are prefixed with `$bd-`.
18 | // These custom colors avoid collision with the components Bootstrap provides.
19 | //
20 | // - Classes are prefixed with `.bd-`.
21 | // These classes indicate custom-built or modified components for the design
22 | // and layout of the Bootstrap docs. They are not included in our builds.
23 | //
24 | // Happy Bootstrapping!
25 |
26 | // Load Bootstrap variables and mixins
27 | @import "../../../../../../scss/functions";
28 | @import "../../../../../../scss/variables";
29 | @import "../../../../../../scss/mixins";
30 |
31 | // Load docs components
32 | @import "variables";
33 | @import "nav";
34 | @import "masthead";
35 | @import "ads";
36 | @import "content";
37 | @import "skippy";
38 | @import "sidebar";
39 | @import "footer";
40 | @import "component-examples";
41 | @import "buttons";
42 | @import "callouts";
43 | @import "browser-bugs";
44 | @import "brand";
45 | @import "colors";
46 | @import "clipboard-js";
47 | @import "placeholder-img";
48 |
49 | // Load docs dependencies
50 | @import "syntax";
51 | @import "anchor";
52 | @import "algolia";
53 |
--------------------------------------------------------------------------------
/bootstrap4-source/js/src/dom/data.js:
--------------------------------------------------------------------------------
1 | /**
2 | * --------------------------------------------------------------------------
3 | * Bootstrap (v4.3.1): dom/data.js
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 | * --------------------------------------------------------------------------
6 | */
7 |
8 | /**
9 | * ------------------------------------------------------------------------
10 | * Constants
11 | * ------------------------------------------------------------------------
12 | */
13 |
14 | const mapData = (() => {
15 | const storeData = {}
16 | let id = 1
17 | return {
18 | set(element, key, data) {
19 | if (typeof element.key === 'undefined') {
20 | element.key = {
21 | key,
22 | id
23 | }
24 | id++
25 | }
26 |
27 | storeData[element.key.id] = data
28 | },
29 | get(element, key) {
30 | if (!element || typeof element.key === 'undefined') {
31 | return null
32 | }
33 |
34 | const keyProperties = element.key
35 | if (keyProperties.key === key) {
36 | return storeData[keyProperties.id]
37 | }
38 |
39 | return null
40 | },
41 | delete(element, key) {
42 | if (typeof element.key === 'undefined') {
43 | return
44 | }
45 |
46 | const keyProperties = element.key
47 | if (keyProperties.key === key) {
48 | delete storeData[keyProperties.id]
49 | delete element.key
50 | }
51 | }
52 | }
53 | })()
54 |
55 | const Data = {
56 | setData(instance, key, data) {
57 | mapData.set(instance, key, data)
58 | },
59 | getData(instance, key) {
60 | return mapData.get(instance, key)
61 | },
62 | removeData(instance, key) {
63 | mapData.delete(instance, key)
64 | }
65 | }
66 |
67 | export default Data
68 |
--------------------------------------------------------------------------------
/bootstrap4-source/build/generate-sri.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /*!
4 | * Script to generate SRI hashes for use in our docs.
5 | * Remember to use the same vendor files as the CDN ones,
6 | * otherwise the hashes won't match!
7 | *
8 | * Copyright 2017-2019 The Bootstrap Authors
9 | * Copyright 2017-2019 Twitter, Inc.
10 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
11 | */
12 |
13 | 'use strict'
14 |
15 | const crypto = require('crypto')
16 | const fs = require('fs')
17 | const path = require('path')
18 | const sh = require('shelljs')
19 |
20 | sh.config.fatal = true
21 |
22 | const configFile = path.join(__dirname, '../config.yml')
23 |
24 | // Array of objects which holds the files to generate SRI hashes for.
25 | // `file` is the path from the root folder
26 | // `configPropertyName` is the config.yml variable's name of the file
27 | const files = [
28 | {
29 | file: 'dist/css/bootstrap.min.css',
30 | configPropertyName: 'css_hash'
31 | },
32 | {
33 | file: 'dist/js/bootstrap.min.js',
34 | configPropertyName: 'js_hash'
35 | },
36 | {
37 | file: 'dist/js/bootstrap.bundle.min.js',
38 | configPropertyName: 'js_bundle_hash'
39 | },
40 | {
41 | file: 'node_modules/popper.js/dist/umd/popper.min.js',
42 | configPropertyName: 'popper_hash'
43 | }
44 | ]
45 |
46 | files.forEach(file => {
47 | fs.readFile(file.file, 'utf8', (err, data) => {
48 | if (err) {
49 | throw err
50 | }
51 |
52 | const algo = 'sha384'
53 | const hash = crypto.createHash(algo).update(data, 'utf8').digest('base64')
54 | const integrity = `${algo}-${hash}`
55 |
56 | console.log(`${file.configPropertyName}: ${integrity}`)
57 |
58 | sh.sed('-i', new RegExp(`(\\s${file.configPropertyName}:\\s+"|')(\\S+)("|')`), `$1${integrity}$3`, configFile)
59 | })
60 | })
61 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/static/docs/4.3/assets/js/src/search.js:
--------------------------------------------------------------------------------
1 | // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
2 | // IT'S ALL JUST JUNK FOR OUR DOCS!
3 | // ++++++++++++++++++++++++++++++++++++++++++
4 |
5 | (function () {
6 | 'use strict'
7 |
8 | if (!window.docsearch) {
9 | return
10 | }
11 |
12 | var inputElement = document.getElementById('search-input')
13 | var siteDocsVersion = inputElement.getAttribute('data-docs-version')
14 |
15 | function getOrigin() {
16 | var location = window.location
17 | var origin = location.origin
18 |
19 | if (!origin) {
20 | var port = location.port ? ':' + location.port : ''
21 |
22 | origin = location.protocol + '//' + location.hostname + port
23 | }
24 |
25 | return origin
26 | }
27 |
28 | window.docsearch({
29 | apiKey: '5990ad008512000bba2cf951ccf0332f',
30 | indexName: 'bootstrap',
31 | inputSelector: '#search-input',
32 | algoliaOptions: {
33 | facetFilters: ['version:' + siteDocsVersion]
34 | },
35 | transformData: function (hits) {
36 | return hits.map(function (hit) {
37 | var currentUrl = getOrigin()
38 | var liveUrl = 'https://getbootstrap.com'
39 |
40 | // When in production, return the result as is,
41 | // otherwise remove our url from it.
42 | // eslint-disable-next-line no-negated-condition
43 | hit.url = currentUrl.indexOf(liveUrl) !== -1 ?
44 | hit.url :
45 | hit.url.replace(liveUrl, '')
46 |
47 | // Prevent jumping to first header
48 | if (hit.anchor === 'content') {
49 | hit.url = hit.url.replace(/#content$/, '')
50 | hit.anchor = null
51 | }
52 |
53 | return hit
54 | })
55 | },
56 | // Set debug to `true` if you want to inspect the dropdown
57 | debug: false
58 | })
59 | })()
60 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/about/license.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: docs
3 | title: License FAQs
4 | description: Commonly asked questions about Bootstrap's open source license.
5 | group: about
6 | ---
7 |
8 | Bootstrap is released under the MIT license and is copyright {{< year >}} Twitter. Boiled down to smaller chunks, it can be described with the following conditions.
9 |
10 | #### It requires you to:
11 |
12 | * Keep the license and copyright notice included in Bootstrap's CSS and JavaScript files when you use them in your works
13 |
14 | #### It permits you to:
15 |
16 | - Freely download and use Bootstrap, in whole or in part, for personal, private, company internal, or commercial purposes
17 | - Use Bootstrap in packages or distributions that you create
18 | - Modify the source code
19 | - Grant a sublicense to modify and distribute Bootstrap to third parties not included in the license
20 |
21 | #### It forbids you to:
22 |
23 | - Hold the authors and license owners liable for damages as Bootstrap is provided without warranty
24 | - Hold the creators or copyright holders of Bootstrap liable
25 | - Redistribute any piece of Bootstrap without proper attribution
26 | - Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution
27 | - Use any marks owned by Twitter in any way that might state or imply that you created the Twitter software in question
28 |
29 | #### It does not require you to:
30 |
31 | - Include the source of Bootstrap itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it
32 | - Submit changes that you make to Bootstrap back to the Bootstrap project (though such feedback is encouraged)
33 |
34 | The full Bootstrap license is located [in the project repository]({{< param repo >}}/blob/v{{< param current_version >}}/LICENSE) for more information.
35 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/navbar-bottom/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: examples
3 | title: Bottom navbar example
4 | ---
5 |
6 |
7 |
8 | Bottom Navbar example
9 | This example is a quick exercise to illustrate how the bottom navbar works.
10 | }}" role="button">View navbar docs »
11 |
12 |
13 |
40 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/layouts/partials/home/masthead.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ partial "icons/bootstrap-stack.svg" (dict "class" "img-fluid mb-3 mb-md-0" "width" "512" "height" "430") }}
6 |
7 |
8 | Bootstrap
9 |
10 | Build responsive, mobile-first projects on the web with the world’s most popular front-end component library.
11 |
12 |
13 | Bootstrap is an open source toolkit for developing with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with our Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful plugins built with VanillaJS.
14 |
15 |
16 |
17 | Get started
18 |
19 |
20 | Download
21 |
22 |
23 |
24 | Currently v{{ .Site.Params.current_version }}
25 |
26 |
27 |
28 | {{ partial "ads.html" . }}
29 |
30 |
31 |
--------------------------------------------------------------------------------
/bootstrap4-source/scss/mixins/_grid-framework.scss:
--------------------------------------------------------------------------------
1 | // Framework grid generation
2 | //
3 | // Used only by Bootstrap to generate the correct number of grid classes given
4 | // any value of `$grid-columns`.
5 |
6 | @mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
7 | // Common properties for all breakpoints
8 | %grid-column {
9 | position: relative;
10 | width: 100%;
11 | padding-right: $gutter / 2;
12 | padding-left: $gutter / 2;
13 | }
14 |
15 | @each $breakpoint in map-keys($breakpoints) {
16 | $infix: breakpoint-infix($breakpoint, $breakpoints);
17 |
18 | // Allow columns to stretch full width below their breakpoints
19 | @for $i from 1 through $columns {
20 | .col#{$infix}-#{$i} {
21 | @extend %grid-column;
22 | }
23 | }
24 | .col#{$infix},
25 | .col#{$infix}-auto {
26 | @extend %grid-column;
27 | }
28 |
29 | @include media-breakpoint-up($breakpoint, $breakpoints) {
30 | // Provide basic `.col-{bp}` classes for equal-width flexbox columns
31 | .col#{$infix} {
32 | flex-basis: 0;
33 | flex-grow: 1;
34 | max-width: 100%;
35 | }
36 | .col#{$infix}-auto {
37 | flex: 0 0 auto;
38 | width: auto;
39 | max-width: 100%; // Reset earlier grid tiers
40 | }
41 |
42 | @for $i from 1 through $columns {
43 | .col#{$infix}-#{$i} {
44 | @include make-col($i, $columns);
45 | }
46 | }
47 |
48 | // `$columns - 1` because offsetting by the width of an entire row isn't possible
49 | @for $i from 0 through ($columns - 1) {
50 | @if not ($infix == "" and $i == 0) { // Avoid emitting useless .offset-0
51 | .offset#{$infix}-#{$i} {
52 | @include make-col-offset($i, $columns);
53 | }
54 | }
55 | }
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/offcanvas/offcanvas.css:
--------------------------------------------------------------------------------
1 | html,
2 | body {
3 | overflow-x: hidden; /* Prevent scroll on narrow devices */
4 | }
5 |
6 | body {
7 | padding-top: 56px;
8 | }
9 |
10 | @media (max-width: 991.98px) {
11 | .offcanvas-collapse {
12 | position: fixed;
13 | top: 56px; /* Height of navbar */
14 | bottom: 0;
15 | left: 100%;
16 | width: 100%;
17 | padding-right: 1rem;
18 | padding-left: 1rem;
19 | overflow-y: auto;
20 | visibility: hidden;
21 | background-color: #343a40;
22 | transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
23 | transition: transform .3s ease-in-out, visibility .3s ease-in-out;
24 | transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
25 | }
26 | .offcanvas-collapse.open {
27 | visibility: visible;
28 | -webkit-transform: translateX(-100%);
29 | transform: translateX(-100%);
30 | }
31 | }
32 |
33 | .nav-scroller {
34 | position: relative;
35 | z-index: 2;
36 | height: 2.75rem;
37 | overflow-y: hidden;
38 | }
39 |
40 | .nav-scroller .nav {
41 | display: flex;
42 | flex-wrap: nowrap;
43 | padding-bottom: 1rem;
44 | margin-top: -1px;
45 | overflow-x: auto;
46 | color: rgba(255, 255, 255, .75);
47 | text-align: center;
48 | white-space: nowrap;
49 | -webkit-overflow-scrolling: touch;
50 | }
51 |
52 | .nav-underline .nav-link {
53 | padding-top: .75rem;
54 | padding-bottom: .75rem;
55 | font-size: .875rem;
56 | color: #6c757d;
57 | }
58 |
59 | .nav-underline .nav-link:hover {
60 | color: #007bff;
61 | }
62 |
63 | .nav-underline .active {
64 | font-weight: 500;
65 | color: #343a40;
66 | }
67 |
68 | .text-white-50 { color: rgba(255, 255, 255, .5); }
69 |
70 | .bg-purple { background-color: #6f42c1; }
71 |
72 | .lh-100 { line-height: 1; }
73 | .lh-125 { line-height: 1.25; }
74 | .lh-150 { line-height: 1.5; }
75 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/cover/cover.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Globals
3 | */
4 |
5 | /* Links */
6 | a,
7 | a:focus,
8 | a:hover {
9 | color: #fff;
10 | }
11 |
12 | /* Custom default button */
13 | .btn-secondary,
14 | .btn-secondary:hover,
15 | .btn-secondary:focus {
16 | color: #333;
17 | text-shadow: none; /* Prevent inheritance from `body` */
18 | background-color: #fff;
19 | border: .05rem solid #fff;
20 | }
21 |
22 |
23 | /*
24 | * Base structure
25 | */
26 |
27 | html,
28 | body {
29 | height: 100%;
30 | background-color: #333;
31 | }
32 |
33 | body {
34 | display: flex;
35 | color: #fff;
36 | text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
37 | box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
38 | }
39 |
40 | .cover-container {
41 | max-width: 42em;
42 | }
43 |
44 |
45 | /*
46 | * Header
47 | */
48 | .masthead {
49 | margin-bottom: 2rem;
50 | }
51 |
52 | .masthead-brand {
53 | margin-bottom: 0;
54 | }
55 |
56 | .nav-masthead .nav-link {
57 | padding: .25rem 0;
58 | font-weight: 700;
59 | color: rgba(255, 255, 255, .5);
60 | background-color: transparent;
61 | border-bottom: .25rem solid transparent;
62 | }
63 |
64 | .nav-masthead .nav-link:hover,
65 | .nav-masthead .nav-link:focus {
66 | border-bottom-color: rgba(255, 255, 255, .25);
67 | }
68 |
69 | .nav-masthead .nav-link + .nav-link {
70 | margin-left: 1rem;
71 | }
72 |
73 | .nav-masthead .active {
74 | color: #fff;
75 | border-bottom-color: #fff;
76 | }
77 |
78 | @media (min-width: 48em) {
79 | .masthead-brand {
80 | float: left;
81 | }
82 | .nav-masthead {
83 | float: right;
84 | }
85 | }
86 |
87 |
88 | /*
89 | * Cover
90 | */
91 | .cover {
92 | padding: 0 1.5rem;
93 | }
94 | .cover .btn-lg {
95 | padding: .75rem 1.25rem;
96 | font-weight: 700;
97 | }
98 |
99 |
100 | /*
101 | * Footer
102 | */
103 | .mastfoot {
104 | color: rgba(255, 255, 255, .5);
105 | }
106 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/layout/utilities-for-layout.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: docs
3 | title: Utilities for layout
4 | description: For faster mobile-friendly and responsive development, Bootstrap includes dozens of utility classes for showing, hiding, aligning, and spacing content.
5 | group: layout
6 | toc: true
7 | ---
8 |
9 | ## Changing `display`
10 |
11 | Use our [display utilities]({{< docsref "/utilities/display" >}}) for responsively toggling common values of the `display` property. Mix it with our grid system, content, or components to show or hide them across specific viewports.
12 |
13 | ## Flexbox options
14 |
15 | Bootstrap 4 is built with flexbox, but not every element's `display` has been changed to `display: flex` as this would add many unnecessary overrides and unexpectedly change key browser behaviors. Most of [our components]({{< docsref "/components/alerts" >}}) are built with flexbox enabled.
16 |
17 | Should you need to add `display: flex` to an element, do so with `.d-flex` or one of the responsive variants (e.g., `.d-sm-flex`). You'll need this class or `display` value to allow the use of our extra [flexbox utilities]({{< docsref "/utilities/flex" >}}) for sizing, alignment, spacing, and more.
18 |
19 | ## Margin and padding
20 |
21 | Use the `margin` and `padding` [spacing utilities]({{< docsref "/utilities/spacing" >}}) to control how elements and components are spaced and sized. Bootstrap 4 includes a five-level scale for spacing utilities, based on a `1rem` value default `$spacer` variable. Choose values for all viewports (e.g., `.mr-3` for `margin-right: 1rem`), or pick responsive variants to target specific viewports (e.g., `.mr-md-3` for `margin-right: 1rem` starting at the `md` breakpoint).
22 |
23 | ## Toggle `visibility`
24 |
25 | When toggling `display` isn't needed, you can toggle the `visibility` of an element with our [visibility utilities]({{< docsref "/utilities/visibility" >}}). Invisible elements will still affect the layout of the page, but are visually hidden from visitors.
26 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/static/docs/4.3/assets/scss/_nav.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Main navbar
3 | //
4 |
5 | .bd-navbar {
6 | min-height: 4rem;
7 | background-color: $bd-purple;
8 | box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1);
9 |
10 | @include media-breakpoint-down(md) {
11 | padding-right: .5rem;
12 | padding-left: .5rem;
13 |
14 | .navbar-nav-scroll {
15 | max-width: 100%;
16 | height: 2.5rem;
17 | margin-top: .25rem;
18 | overflow: hidden;
19 |
20 | .navbar-nav {
21 | padding-bottom: 2rem;
22 | overflow-x: auto;
23 | white-space: nowrap;
24 | -webkit-overflow-scrolling: touch;
25 | }
26 | }
27 | }
28 |
29 | @include media-breakpoint-up(md) {
30 | @supports (position: sticky) {
31 | position: sticky;
32 | top: 0;
33 | z-index: 1071; // over everything in bootstrap
34 | }
35 | }
36 |
37 | .navbar-nav {
38 | .nav-link {
39 | padding-right: .5rem;
40 | padding-left: .5rem;
41 | color: $bd-purple-light;
42 |
43 | &.active,
44 | &:hover {
45 | color: $white;
46 | background-color: transparent;
47 | }
48 |
49 | &.active {
50 | font-weight: 600;
51 | }
52 | }
53 | }
54 |
55 | .navbar-nav-svg {
56 | display: inline-block;
57 | width: 1rem;
58 | height: 1rem;
59 | vertical-align: text-top;
60 | }
61 |
62 | .dropdown-menu {
63 | @include font-size(.875rem);
64 | }
65 |
66 | .dropdown-item.active {
67 | font-weight: 600;
68 | color: $gray-900;
69 | background-color: transparent;
70 | background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23292b2c' 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");
71 | background-repeat: no-repeat;
72 | background-position: .4rem .6rem;
73 | background-size: .75rem .75rem;
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/bootstrap4-source/scss/_pagination.scss:
--------------------------------------------------------------------------------
1 | .pagination {
2 | display: flex;
3 | @include list-unstyled();
4 | @include border-radius();
5 | }
6 |
7 | .page-link {
8 | position: relative;
9 | display: block;
10 | padding: $pagination-padding-y $pagination-padding-x;
11 | margin-left: -$pagination-border-width;
12 | line-height: $pagination-line-height;
13 | color: $pagination-color;
14 | background-color: $pagination-bg;
15 | border: $pagination-border-width solid $pagination-border-color;
16 |
17 | &:hover {
18 | z-index: 2;
19 | color: $pagination-hover-color;
20 | text-decoration: none;
21 | background-color: $pagination-hover-bg;
22 | border-color: $pagination-hover-border-color;
23 | }
24 |
25 | &:focus {
26 | z-index: 3;
27 | outline: $pagination-focus-outline;
28 | box-shadow: $pagination-focus-box-shadow;
29 | }
30 | }
31 |
32 | .page-item {
33 | &:first-child {
34 | .page-link {
35 | margin-left: 0;
36 | @include border-left-radius($border-radius);
37 | }
38 | }
39 | &:last-child {
40 | .page-link {
41 | @include border-right-radius($border-radius);
42 | }
43 | }
44 |
45 | &.active .page-link {
46 | z-index: 3;
47 | color: $pagination-active-color;
48 | background-color: $pagination-active-bg;
49 | border-color: $pagination-active-border-color;
50 | }
51 |
52 | &.disabled .page-link {
53 | color: $pagination-disabled-color;
54 | pointer-events: none;
55 | // Opinionated: remove the "hand" cursor set previously for .page-link
56 | cursor: auto;
57 | background-color: $pagination-disabled-bg;
58 | border-color: $pagination-disabled-border-color;
59 | }
60 | }
61 |
62 |
63 | //
64 | // Sizing
65 | //
66 |
67 | .pagination-lg {
68 | @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
69 | }
70 |
71 | .pagination-sm {
72 | @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
73 | }
74 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/carousel/carousel.css:
--------------------------------------------------------------------------------
1 | /* GLOBAL STYLES
2 | -------------------------------------------------- */
3 | /* Padding below the footer and lighter body text */
4 |
5 | body {
6 | padding-top: 3rem;
7 | padding-bottom: 3rem;
8 | color: #5a5a5a;
9 | }
10 |
11 |
12 | /* CUSTOMIZE THE CAROUSEL
13 | -------------------------------------------------- */
14 |
15 | /* Carousel base class */
16 | .carousel {
17 | margin-bottom: 4rem;
18 | }
19 | /* Since positioning the image, we need to help out the caption */
20 | .carousel-caption {
21 | bottom: 3rem;
22 | z-index: 10;
23 | }
24 |
25 | /* Declare heights because of positioning of img element */
26 | .carousel-item {
27 | height: 32rem;
28 | }
29 | .carousel-item > img {
30 | position: absolute;
31 | top: 0;
32 | left: 0;
33 | min-width: 100%;
34 | height: 32rem;
35 | }
36 |
37 |
38 | /* MARKETING CONTENT
39 | -------------------------------------------------- */
40 |
41 | /* Center align the text within the three columns below the carousel */
42 | .marketing .col-lg-4 {
43 | margin-bottom: 1.5rem;
44 | text-align: center;
45 | }
46 | .marketing h2 {
47 | font-weight: 400;
48 | }
49 | .marketing .col-lg-4 p {
50 | margin-right: .75rem;
51 | margin-left: .75rem;
52 | }
53 |
54 |
55 | /* Featurettes
56 | ------------------------- */
57 |
58 | .featurette-divider {
59 | margin: 5rem 0; /* Space out the Bootstrap
more */
60 | }
61 |
62 | /* Thin out the marketing headings */
63 | .featurette-heading {
64 | font-weight: 300;
65 | line-height: 1;
66 | letter-spacing: -.05rem;
67 | }
68 |
69 |
70 | /* RESPONSIVE CSS
71 | -------------------------------------------------- */
72 |
73 | @media (min-width: 40em) {
74 | /* Bump up size of carousel content */
75 | .carousel-caption p {
76 | margin-bottom: 1.25rem;
77 | font-size: 1.25rem;
78 | line-height: 1.4;
79 | }
80 |
81 | .featurette-heading {
82 | font-size: 50px;
83 | }
84 | }
85 |
86 | @media (min-width: 62em) {
87 | .featurette-heading {
88 | margin-top: 7rem;
89 | }
90 | }
91 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/layouts/_default/examples.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{ .Page.Title | markdownify }} · {{ .Site.Title | markdownify }}
10 |
11 |
12 |
13 | {{ with .Params.robots -}}
14 |
15 | {{- end }}
16 |
17 | {{ partial "stylesheet" . }}
18 | {{ partial "favicons" . }}
19 |
20 |
36 |
37 | {{ range .Page.Params.extra_css }}
38 | {{ "" | safeHTML }}
39 |
40 | {{- end }}
41 |
42 |
43 | {{ .Content }}
44 |
45 | {{ if ne .Page.Params.include_js false }}
46 | {{ if eq (getenv "HUGO_ENV") "production" }}
47 |
48 | {{ else }}
49 |
50 | {{ end }}
51 |
52 | {{ range .Page.Params.extra_js }}
53 |
54 | {{- end }}
55 | {{ end }}
56 |
57 |
58 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/layouts/partials/docs-sidebar.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
44 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/content/docs/4.3/examples/starter-template/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: examples
3 | title: Starter Template
4 | extra_css:
5 | - "starter-template.css"
6 | ---
7 |
8 |
40 |
41 |
42 |
43 |
44 | Bootstrap starter template
45 | Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/bootstrap4-source/build/ship.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Usage
4 | # ---------------
5 | # 1. Clone second version of Bootstrap in sibling directory named `bs-docs`.
6 | # 2. Within `bs-docs` copy, switch to `gh-pages` branch.
7 | # 3. Pull latest, re-bundle, re-npm.
8 | # 4. Run script.
9 |
10 | red=$'\e[1;31m'
11 | green=$'\e[1;32m'
12 | #blue=$'\e[1;34m'
13 | magenta=$'\e[1;35m'
14 | #cyan=$'\e[1;36m'
15 | end=$'\e[0m'
16 |
17 | # Get current version from package.json
18 | current_version=$(node -p "require('./package.json').version")
19 |
20 | if [[ $# -lt 1 ]]; then
21 | printf "\n%s⚠️ Shipping aborted. You must specify a version.\n%s" $red $end
22 | exit 1
23 | fi
24 |
25 | # Pulling latest changes, just to be sure
26 | printf "\n%s=======================================================%s" $magenta $end
27 | printf "\n%sPulling latest changes...%s" $magenta $end
28 | printf "\n%s=======================================================\n\n%s" $magenta $end
29 | git pull origin master
30 |
31 | # Update version number
32 | printf "\n%s=======================================================%s" $magenta $end
33 | printf "\n%sUpdating version number...%s" $magenta $end
34 | printf "\n%s=======================================================\n%s" $magenta $end
35 | npm run release-version "$current_version" "$1"
36 |
37 | # Build release
38 | printf "\n%s=======================================================%s" $magenta $end
39 | printf "\n%sBuilding release...%s" $magenta $end
40 | printf "\n%s=======================================================\n%s" $magenta $end
41 | npm run release
42 |
43 | # Copy the contents of the built docs site over to `bs-docs` repo
44 | printf "\n%s=======================================================%s" $magenta $end
45 | printf "\n%sCopy it over...%s" $magenta $end
46 | printf "\n%s=======================================================\n%s" $magenta $end
47 | cp -rf _gh_pages/. ../bs-docs/
48 | printf "\nDone!\n"
49 |
50 | printf "\n%s=======================================================%s" $green $end
51 | printf "\n%sSuccess, $1 is ready to review and publish.%s" $green $end
52 | printf "\n%s=======================================================\n\n%s" $green $end
53 |
--------------------------------------------------------------------------------
/bootstrap4-source/site/layouts/partials/bugify.html:
--------------------------------------------------------------------------------
1 | {{- $words := (split . " ") -}}
2 |
3 | {{- range $word := $words -}}
4 | {{- if (strings.Contains $word "#") -}}
5 | {{- $separator := false -}}
6 |
7 | {{- if (strings.Contains $word ",") -}}
8 | {{- $separator = true -}}
9 | {{- end -}}
10 |
11 | {{- $data := split $word "#" -}}
12 | {{- $bug_cat := replace (index $data 0) "\n" "" -}}
13 | {{- $bug_id := replace (index $data 1) "\n" "" -}}
14 | {{- $bug_id = replace $bug_id "," "" -}}
15 |
16 | {{- if (eq $bug_cat "Bootstrap") -}}
17 | #{{ $bug_id }}
18 | {{- else if (eq $bug_cat "Edge") -}}
19 | Edge issue #{{ $bug_id }}
20 | {{- else if (eq $bug_cat "A11yUserVoice") -}}
21 | Microsoft A11y UserVoice idea #{{ $bug_id }}
22 | {{- else if (eq $bug_cat "UserVoice") -}}
23 | Edge UserVoice idea #{{ $bug_id }}
24 | {{- else if (eq $bug_cat "Mozilla") -}}
25 | Mozilla bug #{{ $bug_id }}
26 | {{- else if (eq $bug_cat "Chromium") -}}
27 | Chromium issue #{{ $bug_id }}
28 | {{- else if (eq $bug_cat "WebKit") -}}
29 | WebKit bug #{{ $bug_id }}
30 | {{- else if (eq $bug_cat "Safari") -}}
31 | Apple Safari Radar #{{ $bug_id }}
32 | {{- else if (eq $bug_cat "Normalize") -}}
33 | Normalize #{{ $bug_id }}
34 | {{- end -}}
35 | {{- if (eq $separator true) }}, {{ end -}}
36 |
37 | {{- else -}}
38 | {{- $word -}}
39 | {{- end -}}
40 | {{- end -}}
41 |
--------------------------------------------------------------------------------