diff --git a/Gruntfile.js b/Gruntfile.js index 9660bff0..67e73f5b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,6 +8,16 @@ module.exports = function (grunt) { return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&'); }; + var referenceDocNotice = + '$1\n\n' + + '[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n' + + '{% callout info %}\n**Bootstrap Reference Documentation** \n' + + 'This is reference documentation from Bootstrap. \n' + + 'It is being rendered with Material Design for Bootstrap to demonstrate default styling. \n' + + 'See addons(TODO: add link) for additional Material Design elements.\n' + + '{% endcallout %}' + + '\n\n$2' + var fs = require('fs'); var path = require('path'); var glob = require('glob'); @@ -373,6 +383,12 @@ module.exports = function (grunt) { dest: 'docs/dist/' }, 'bs-docs-scss': { + options: { + // https://regex101.com/r/hG8lU4/1 + process: function (content, srcpath) { + return content.replace(/([\s\S]+)/mg, "// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n$1"); + } + }, expand: true, cwd: '../bootstrap/docs/assets/scss', src: [ @@ -382,6 +398,12 @@ module.exports = function (grunt) { dest: 'docs/assets/scss/' }, 'bs-docs-components': { + options: { + // //https://regex101.com/r/cZ7aO8/2 + process: function (content, srcpath) { + return content.replace(/(---[\s\S]+?---)([\s\S]+)/mg, referenceDocNotice); + } + }, expand: true, cwd: '../bootstrap/docs/components', src: [ @@ -390,6 +412,12 @@ module.exports = function (grunt) { dest: 'docs/components/' }, 'bs-docs-content': { + options: { + // //https://regex101.com/r/cZ7aO8/2 + process: function (content, srcpath) { + return content.replace(/(---[\s\S]+?---)([\s\S]+)/mg, referenceDocNotice); + } + }, expand: true, cwd: '../bootstrap/docs/content', src: [ diff --git a/docs/assets/scss/_ads.scss b/docs/assets/scss/_ads.scss index 86422b87..4d275b63 100644 --- a/docs/assets/scss/_ads.scss +++ b/docs/assets/scss/_ads.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Carbon ads // diff --git a/docs/assets/scss/_anchor.scss b/docs/assets/scss/_anchor.scss index b7718a83..257fbc00 100644 --- a/docs/assets/scss/_anchor.scss +++ b/docs/assets/scss/_anchor.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .anchorjs-link { color: inherit; } diff --git a/docs/assets/scss/_booticon.scss b/docs/assets/scss/_booticon.scss index dd498984..48f2b47c 100644 --- a/docs/assets/scss/_booticon.scss +++ b/docs/assets/scss/_booticon.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Bootstrap "B" Booticon // diff --git a/docs/assets/scss/_brand.scss b/docs/assets/scss/_brand.scss index 1fb2119a..9d403a41 100644 --- a/docs/assets/scss/_brand.scss +++ b/docs/assets/scss/_brand.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Brand guidelines // diff --git a/docs/assets/scss/_browser-bugs.scss b/docs/assets/scss/_browser-bugs.scss index f42158b3..72ce6f63 100644 --- a/docs/assets/scss/_browser-bugs.scss +++ b/docs/assets/scss/_browser-bugs.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // Wall of Browser Bugs // // Better display for the responsive table on the Wall of Browser Bugs. diff --git a/docs/assets/scss/_buttons.scss b/docs/assets/scss/_buttons.scss index 4685ee64..49249c99 100644 --- a/docs/assets/scss/_buttons.scss +++ b/docs/assets/scss/_buttons.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // Buttons // // Custom buttons for the docs. diff --git a/docs/assets/scss/_callouts.scss b/docs/assets/scss/_callouts.scss index 0ba52fd8..dd07fa89 100644 --- a/docs/assets/scss/_callouts.scss +++ b/docs/assets/scss/_callouts.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Callouts // diff --git a/docs/assets/scss/_clipboard-js.scss b/docs/assets/scss/_clipboard-js.scss index 81bd6931..5f699295 100644 --- a/docs/assets/scss/_clipboard-js.scss +++ b/docs/assets/scss/_clipboard-js.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // clipboard.js // // Flash-based `Copy` buttons for code snippets. diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index 5135c532..495f30bf 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Grid examples // diff --git a/docs/assets/scss/_content.scss b/docs/assets/scss/_content.scss index 017dad41..73897830 100644 --- a/docs/assets/scss/_content.scss +++ b/docs/assets/scss/_content.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Automatically style Markdown-based tables like a Bootstrap `.table`. // diff --git a/docs/assets/scss/_examples.scss b/docs/assets/scss/_examples.scss index a4ec7a29..55f5fb1a 100644 --- a/docs/assets/scss/_examples.scss +++ b/docs/assets/scss/_examples.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Examples // diff --git a/docs/assets/scss/_featured-sites.scss b/docs/assets/scss/_featured-sites.scss index 2fb0839f..0985ae67 100644 --- a/docs/assets/scss/_featured-sites.scss +++ b/docs/assets/scss/_featured-sites.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .bd-featured-sites { margin-right: -1px; margin-left: -1px; diff --git a/docs/assets/scss/_featurettes.scss b/docs/assets/scss/_featurettes.scss index a7483438..6e4601f2 100644 --- a/docs/assets/scss/_featurettes.scss +++ b/docs/assets/scss/_featurettes.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .bd-featurette { padding-top: 3rem; padding-bottom: 3rem; diff --git a/docs/assets/scss/_footer.scss b/docs/assets/scss/_footer.scss index cd15e766..80550836 100644 --- a/docs/assets/scss/_footer.scss +++ b/docs/assets/scss/_footer.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Footer // diff --git a/docs/assets/scss/_masthead.scss b/docs/assets/scss/_masthead.scss index 32e1aad8..e77256fb 100644 --- a/docs/assets/scss/_masthead.scss +++ b/docs/assets/scss/_masthead.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .bd-masthead { position: relative; padding: 3rem ($grid-gutter-width / 2) 2rem; diff --git a/docs/assets/scss/_nav.scss b/docs/assets/scss/_nav.scss index 74610733..c3a1925f 100644 --- a/docs/assets/scss/_nav.scss +++ b/docs/assets/scss/_nav.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Main navbar // diff --git a/docs/assets/scss/_page-header.scss b/docs/assets/scss/_page-header.scss index 2934460a..522380c5 100644 --- a/docs/assets/scss/_page-header.scss +++ b/docs/assets/scss/_page-header.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .bd-pageheader { padding: 2rem ($grid-gutter-width / 2); margin-bottom: 1.5rem; diff --git a/docs/assets/scss/_responsive-tests.scss b/docs/assets/scss/_responsive-tests.scss index 0bdd6632..9d40913e 100644 --- a/docs/assets/scss/_responsive-tests.scss +++ b/docs/assets/scss/_responsive-tests.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Responsive tests // diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss index 4fdae230..fc1fa560 100644 --- a/docs/assets/scss/_sidebar.scss +++ b/docs/assets/scss/_sidebar.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + // // Side navigation // diff --git a/docs/assets/scss/_skiplink.scss b/docs/assets/scss/_skiplink.scss index b65e6bd6..fb82797c 100644 --- a/docs/assets/scss/_skiplink.scss +++ b/docs/assets/scss/_skiplink.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + #skippy { display: block; padding: 1em; diff --git a/docs/assets/scss/_syntax.scss b/docs/assets/scss/_syntax.scss index a7a86901..a98e1032 100644 --- a/docs/assets/scss/_syntax.scss +++ b/docs/assets/scss/_syntax.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .hll { background-color: #ffffcc } .c { color: #999; } .err { color: #AA0000; background-color: #FFAAAA } diff --git a/docs/assets/scss/_team.scss b/docs/assets/scss/_team.scss index 7aa5436a..54bdea84 100644 --- a/docs/assets/scss/_team.scss +++ b/docs/assets/scss/_team.scss @@ -1,3 +1,5 @@ +// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + .bd-team { margin-bottom: 1.5rem; diff --git a/docs/components/alerts.md b/docs/components/alerts.md index e2710976..49696916 100644 --- a/docs/components/alerts.md +++ b/docs/components/alerts.md @@ -4,6 +4,17 @@ title: Alerts group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. ## Contents diff --git a/docs/components/breadcrumb.md b/docs/components/breadcrumb.md index bfd7ef1b..e8183bd5 100644 --- a/docs/components/breadcrumb.md +++ b/docs/components/breadcrumb.md @@ -4,6 +4,17 @@ title: Breadcrumb group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). diff --git a/docs/components/button-dropdown.md b/docs/components/button-dropdown.md index e2aa98df..e6871570 100644 --- a/docs/components/button-dropdown.md +++ b/docs/components/button-dropdown.md @@ -4,6 +4,17 @@ title: Button dropdown group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Use any button to trigger a dropdown menu by placing it within a `.btn-group` and providing the proper dropdown menu markup. {% callout danger %} diff --git a/docs/components/button-group.md b/docs/components/button-group.md index c14d3d63..63b8abe6 100644 --- a/docs/components/button-group.md +++ b/docs/components/button-group.md @@ -4,6 +4,17 @@ title: Button group group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with [our buttons plugin]({{ site.baseurl }}/components/buttons/#button-plugin). ## Contents diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 0ca8c0e0..0e56ff98 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -5,6 +5,17 @@ group: components redirect_from: "/components/" --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Use Bootstrap's custom button styles for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more. ## Contents diff --git a/docs/components/card.md b/docs/components/card.md index 3d112c50..13ab39e7 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -4,6 +4,17 @@ title: Cards group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + A **card** is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. If you're familiar with Bootstrap 3, cards replace our old panels, wells, and thumbnails. Similar functionality to those components is available as modifier classes for cards. diff --git a/docs/components/carousel.md b/docs/components/carousel.md index 76278281..de888a60 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -4,6 +4,17 @@ title: Carousel group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + A slideshow component for cycling through elements—images or slides of text—like a carousel. In browsers where the [Page Visibility API](http://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.). **Nested carousels are not supported.** ## Contents diff --git a/docs/components/collapse.md b/docs/components/collapse.md index 57e3cd82..631fc9fd 100644 --- a/docs/components/collapse.md +++ b/docs/components/collapse.md @@ -4,6 +4,17 @@ title: Collapse group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + The Bootstrap collapse plugin allows you to toggle content on your pages with a bit of JavaScript and some classes. Flexible plugin that utilizes a handful of classes (from the **required [transitions plugin]({{ site.baseurl }}/components/transitions/)**) for easy toggle behavior. ## Contents diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index 5e153d59..0697f88d 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -4,6 +4,17 @@ title: Dropdowns group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/) ## Contents diff --git a/docs/components/forms.md b/docs/components/forms.md index e274b8bb..b7261a74 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -4,6 +4,17 @@ title: Forms group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Bootstrap provides several form control styles, layout options, and custom components for creating a wide variety of forms. ## Contents diff --git a/docs/components/input-group.md b/docs/components/input-group.md index 870e89fe..93635b01 100644 --- a/docs/components/input-group.md +++ b/docs/components/input-group.md @@ -4,6 +4,17 @@ title: Input group group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Easily extend form controls by adding text, buttons, or button groups on either side of textual ``s. ## Contents diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md index af12996e..1078c49c 100644 --- a/docs/components/jumbotron.md +++ b/docs/components/jumbotron.md @@ -4,6 +4,17 @@ title: Jumbotron group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + A lightweight, flexible component that can optionally extend the entire viewport to showcase key marketing messages on your site. ## Example diff --git a/docs/components/label.md b/docs/components/label.md index e1495201..cb00f26d 100644 --- a/docs/components/label.md +++ b/docs/components/label.md @@ -4,6 +4,17 @@ title: Labels group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Small and adaptive tag for adding context to just about any content. ## Example diff --git a/docs/components/list-group.md b/docs/components/list-group.md index 5dbcca2d..b557fc52 100644 --- a/docs/components/list-group.md +++ b/docs/components/list-group.md @@ -4,6 +4,17 @@ title: List group group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content. ## Contents diff --git a/docs/components/modal.md b/docs/components/modal.md index a0e741bb..8d5a8d22 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -4,6 +4,17 @@ title: Modal group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. ## Contents diff --git a/docs/components/navbar.md b/docs/components/navbar.md index 7cc75a95..794ecd9f 100644 --- a/docs/components/navbar.md +++ b/docs/components/navbar.md @@ -4,6 +4,17 @@ title: Navbar group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + The navbar is a simple wrapper for positioning branding, navigation, and other elements into a concise navigation header. It's easily extensible and, with the help of our collapse plugin, it can easily integrate offscreen content. ## Contents diff --git a/docs/components/navs.md b/docs/components/navs.md index 3552b912..4ee34b34 100644 --- a/docs/components/navs.md +++ b/docs/components/navs.md @@ -4,6 +4,17 @@ title: Navs group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Navigation available in Bootstrap share general markup and styles, from the base `.nav` class to the active and disabled states. Swap modifier classes to switch between each style. ## Contents diff --git a/docs/components/pagination.md b/docs/components/pagination.md index 99d4220f..39ac75c0 100644 --- a/docs/components/pagination.md +++ b/docs/components/pagination.md @@ -4,6 +4,17 @@ title: Pagination group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Provide pagination links for your site or app with the multi-page pagination component, or the simpler [pager alternative](#pager). ## Contents diff --git a/docs/components/popovers.md b/docs/components/popovers.md index 9621bb7d..88fe3e32 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -4,6 +4,17 @@ title: Popovers group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Add small overlay content, like those found in iOS, to any element for housing secondary information. ## Contents diff --git a/docs/components/progress.md b/docs/components/progress.md index e801373c..b5c7ae71 100644 --- a/docs/components/progress.md +++ b/docs/components/progress.md @@ -4,6 +4,17 @@ title: Progress group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Stylize [the HTML5 `` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress) with a few extra classes and some crafty browser-specific CSS. Be sure to read up on the browser support. ## Contents diff --git a/docs/components/scrollspy.md b/docs/components/scrollspy.md index 4ae0fa21..92779673 100644 --- a/docs/components/scrollspy.md +++ b/docs/components/scrollspy.md @@ -4,6 +4,17 @@ title: Scrollspy group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + ## Contents * Will be replaced with the ToC, excluding the "Contents" header diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index bba918d9..fd54307b 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -4,6 +4,17 @@ title: Tooltips group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Inspired by the excellent Tipsy jQuery plugin written by Jason Frame. Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage. ## Contents diff --git a/docs/components/utilities.md b/docs/components/utilities.md index 693053a7..2e9a4aa0 100644 --- a/docs/components/utilities.md +++ b/docs/components/utilities.md @@ -4,6 +4,17 @@ title: Utility classes group: components --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Bootstrap includes dozens of utilities—classes with a single purpose. They're designed to reduce the frequency of highly repetitive declarations in your CSS while allowing for quick and easy development. ## Contents diff --git a/docs/content/code.md b/docs/content/code.md index 4ce1e7fa..bb747399 100644 --- a/docs/content/code.md +++ b/docs/content/code.md @@ -4,6 +4,17 @@ title: Code group: content --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Styles for inline code snippets and longer, multiline blocks of code. ## Contents diff --git a/docs/content/figures.md b/docs/content/figures.md index d5727051..046e7942 100644 --- a/docs/content/figures.md +++ b/docs/content/figures.md @@ -4,6 +4,17 @@ title: Figures group: content --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Anytime you need to display a piece of content—like an image—with an optional caption, consider using a `
`. Use the included `.figure` , `.figure-img` and `.figure-caption` classes to provide some baseline styles for the HTML5 `
` and `
` elements. Images in figures have no explicit size, so be sure to add the `.img-fluid` class to your `` to make it responsive. diff --git a/docs/content/images.md b/docs/content/images.md index 38a855a0..99d33fb5 100644 --- a/docs/content/images.md +++ b/docs/content/images.md @@ -4,6 +4,17 @@ title: Images group: content --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Opt your images into responsive behavior (so they never become larger than their parent elements) and add lightweight styles to them—all via classes. ## Contents diff --git a/docs/content/reboot.md b/docs/content/reboot.md index 9631a86b..a324b6f3 100644 --- a/docs/content/reboot.md +++ b/docs/content/reboot.md @@ -5,6 +5,17 @@ group: content redirect_from: "/content/" --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Part of Bootstrap's job is to provide an elegant, consistent, and simple baseline to build upon. We use Reboot, a collection of element-specific CSS changes in a single file, to kickstart that. Reboot builds upon Normalize, providing many HTML elements with somewhat opinionated styles using only element selectors. Additional styling is done only with classes. For example, we reboot some `` styles for a simpler baseline and later provide `.table`, `.table-bordered`, and more. diff --git a/docs/content/tables.md b/docs/content/tables.md index 80bbbf85..7289d548 100644 --- a/docs/content/tables.md +++ b/docs/content/tables.md @@ -4,6 +4,17 @@ title: Tables group: content --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Due to the widespread use of tables across third-party widgets like calendars and date pickers, we've designed our tables to be **opt-in**. Just add the base class `.table` to any `
`. ## Contents diff --git a/docs/content/typography.md b/docs/content/typography.md index bc2a85c6..6c3cf045 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -4,6 +4,17 @@ title: Typography group: content --- +[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs + +{% callout info %} +**Bootstrap Reference Documentation** +This is reference documentation from Bootstrap. +It is being rendered with Material Design for Bootstrap to demonstrate default styling. +See addons(TODO: add link) for additional Material Design elements. +{% endcallout %} + + + Bootstrap includes simple and easily customized typography for headings, body text, lists, and more. For even more control, check out the [textual utility classes]({{ site.baseurl }}/components/utilities/). ## Contents