mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-10 03:46:13 +01:00
b46f05a948
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
54 lines
1.5 KiB
SCSS
54 lines
1.5 KiB
SCSS
/*!
|
|
* Bootstrap Docs (https://getbootstrap.com/)
|
|
* Copyright 2011-2020 The Bootstrap Authors
|
|
* Copyright 2011-2020 Twitter, Inc.
|
|
* Licensed under the Creative Commons Attribution 3.0 Unported License.
|
|
* For details, see https://creativecommons.org/licenses/by/3.0/.
|
|
*/
|
|
|
|
// Dev notes
|
|
//
|
|
// Background information on nomenclature and architecture decisions here.
|
|
//
|
|
// - Bootstrap functions, variables, and mixins are included for easy reuse.
|
|
// Doing so gives us access to the same core utilities provided by Bootstrap.
|
|
// For example, consistent media queries through those mixins.
|
|
//
|
|
// - Bootstrap's **docs variables** are prefixed with `$bd-`.
|
|
// These custom colors avoid collision with the components Bootstrap provides.
|
|
//
|
|
// - Classes are prefixed with `.bd-`.
|
|
// These classes indicate custom-built or modified components for the design
|
|
// and layout of the Bootstrap docs. They are not included in our builds.
|
|
//
|
|
// Happy Bootstrapping!
|
|
|
|
// Load Bootstrap variables and mixins
|
|
@import "../../../scss/functions";
|
|
@import "../../../scss/variables";
|
|
@import "../../../scss/mixins";
|
|
|
|
// Load docs components
|
|
@import "variables";
|
|
@import "nav";
|
|
@import "masthead";
|
|
@import "ads";
|
|
@import "content";
|
|
@import "skippy";
|
|
@import "sidebar";
|
|
@import "toc";
|
|
@import "footer";
|
|
@import "component-examples";
|
|
@import "buttons";
|
|
@import "callouts";
|
|
@import "browser-bugs";
|
|
@import "brand";
|
|
@import "colors";
|
|
@import "clipboard-js";
|
|
@import "placeholder-img";
|
|
|
|
// Load docs dependencies
|
|
@import "syntax";
|
|
@import "anchor";
|
|
@import "algolia";
|