2015-08-18 06:31:17 +02:00
|
|
|
//
|
2020-02-03 10:34:20 +01:00
|
|
|
// Bootstrap docs content theming
|
2015-08-18 06:31:17 +02:00
|
|
|
//
|
|
|
|
|
2021-02-10 06:27:43 +01:00
|
|
|
// Offset for the sticky header
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
:root {
|
|
|
|
scroll-padding-top: 4rem;
|
2020-02-03 10:34:20 +01:00
|
|
|
}
|
2021-02-10 06:27:43 +01:00
|
|
|
}
|
2020-02-03 10:34:20 +01:00
|
|
|
|
2021-02-10 06:27:43 +01:00
|
|
|
.bd-content {
|
2020-02-03 10:34:20 +01:00
|
|
|
> h2:not(:first-child) {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h3 {
|
2020-04-15 06:03:56 +02:00
|
|
|
margin-top: 2rem;
|
2020-02-03 10:34:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> ul li,
|
|
|
|
> ol li {
|
|
|
|
margin-bottom: .25rem;
|
2021-05-05 17:24:26 +02:00
|
|
|
|
|
|
|
// stylelint-disable selector-max-type
|
|
|
|
> ul {
|
|
|
|
margin-top: -.5rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
// stylelint-enable selector-max-type
|
2017-05-28 02:37:25 +02:00
|
|
|
}
|
|
|
|
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
// Override Bootstrap defaults
|
|
|
|
> .table {
|
2015-04-16 23:57:49 +02:00
|
|
|
max-width: 100%;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
margin-bottom: 1.5rem;
|
2020-04-14 02:55:33 +02:00
|
|
|
@include font-size(.875rem);
|
2017-03-20 01:37:38 +01:00
|
|
|
|
2020-04-18 13:02:26 +02:00
|
|
|
@include media-breakpoint-down(lg) {
|
2017-03-20 01:37:38 +01:00
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
2017-12-27 22:40:51 +01:00
|
|
|
|
|
|
|
&.table-bordered {
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-03-20 01:37:38 +01:00
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
th,
|
|
|
|
td {
|
2020-02-03 10:34:20 +01:00
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
padding-right: 1.5rem;
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
2020-02-03 10:34:20 +01:00
|
|
|
// Prevent breaking of code
|
2015-04-16 23:57:49 +02:00
|
|
|
td:first-child > code {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-title {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size(3rem);
|
2017-05-28 02:37:34 +02:00
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
|
2017-05-28 02:37:34 +02:00
|
|
|
.bd-lead {
|
2019-02-12 08:38:42 +01:00
|
|
|
@include font-size(1.5rem);
|
2017-05-29 03:00:38 +02:00
|
|
|
font-weight: 300;
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
2017-08-08 06:35:43 +02:00
|
|
|
|
2020-02-03 10:34:20 +01:00
|
|
|
.bd-text-purple-bright {
|
|
|
|
color: $bd-purple-bright;
|
|
|
|
}
|
2020-05-31 04:00:08 +02:00
|
|
|
|
|
|
|
.bd-bg-purple-bright {
|
|
|
|
background-color: $bd-purple-bright;
|
|
|
|
}
|