| 
									
										
										
										
											2025-08-28 12:14:59 +08:00
										 |  |  | @use "../colors" as *; | 
					
						
							|  |  |  | @use "../config" as *; | 
					
						
							|  |  |  | @use "../variables" as *; | 
					
						
							|  |  |  | @use "../vendor/rfs" as *; | 
					
						
							|  |  |  | @use "../mixins/border-radius" as *; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-20 15:54:24 +08:00
										 |  |  | // stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
 | 
					
						
							| 
									
										
										
										
											2016-02-07 04:28:18 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  | @layer reboot { | 
					
						
							|  |  |  |   // Reboot
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Normalization of HTML elements, manually forked from Normalize.css to remove
 | 
					
						
							|  |  |  |   // styles targeting irrelevant browsers while applying new styles.
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Normalize is licensed MIT. https://github.com/necolas/normalize.css
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // Document
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   *, | 
					
						
							|  |  |  |   *::before, | 
					
						
							|  |  |  |   *::after { | 
					
						
							|  |  |  |     box-sizing: border-box; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-01-22 04:41:11 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Root
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Ability to the value of the root font sizes, affecting the value of `rem`.
 | 
					
						
							|  |  |  |   // null by default, thus nothing is generated.
 | 
					
						
							| 
									
										
										
										
											2019-08-24 21:11:02 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   :root { | 
					
						
							|  |  |  |     @if $font-size-root != null { | 
					
						
							| 
									
										
										
										
											2025-09-25 02:54:21 +08:00
										 |  |  |       font-size: var(--#{$prefix}root-font-size); | 
					
						
							|  |  |  |       // @include font-size(var(--#{$prefix}root-font-size));
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-10-19 17:00:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     @if $enable-smooth-scroll { | 
					
						
							|  |  |  |       @media (prefers-reduced-motion: no-preference) { | 
					
						
							|  |  |  |         scroll-behavior: smooth; | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2020-10-19 17:00:37 +08:00
										 |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-11-30 11:55:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Body
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Remove the margin in all browsers.
 | 
					
						
							|  |  |  |   // 2. As a best practice, apply a default `background-color`.
 | 
					
						
							|  |  |  |   // 3. Prevent adjustments of font size after orientation changes in iOS.
 | 
					
						
							|  |  |  |   // 4. Change the default tap highlight to be completely transparent in iOS.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // scss-docs-start reboot-body-rules
 | 
					
						
							|  |  |  |   body { | 
					
						
							|  |  |  |     margin: 0; // 1
 | 
					
						
							|  |  |  |     font-family: var(--#{$prefix}body-font-family); | 
					
						
							|  |  |  |     @include font-size(var(--#{$prefix}body-font-size)); | 
					
						
							|  |  |  |     font-weight: var(--#{$prefix}body-font-weight); | 
					
						
							|  |  |  |     line-height: var(--#{$prefix}body-line-height); | 
					
						
							| 
									
										
										
										
											2025-10-14 12:39:18 +08:00
										 |  |  |     color: var(--#{$prefix}color-body); | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     text-align: var(--#{$prefix}body-text-align); | 
					
						
							| 
									
										
										
										
											2025-10-14 12:39:18 +08:00
										 |  |  |     background-color: var(--#{$prefix}bg-body); // 2
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     -webkit-text-size-adjust: 100%; // 3
 | 
					
						
							|  |  |  |     -webkit-tap-highlight-color: rgba($black, 0); // 4
 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   // scss-docs-end reboot-body-rules
 | 
					
						
							| 
									
										
										
										
											2012-11-30 16:24:17 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Content grouping
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Reset Firefox's gray color
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   hr { | 
					
						
							|  |  |  |     margin: $hr-margin-y 0; | 
					
						
							|  |  |  |     color: $hr-color; // 1
 | 
					
						
							|  |  |  |     border: 0; | 
					
						
							|  |  |  |     border-top: $hr-border-width solid $hr-border-color; | 
					
						
							|  |  |  |     opacity: $hr-opacity; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Typography
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Remove top margins from headings
 | 
					
						
							|  |  |  |   //    By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
 | 
					
						
							|  |  |  |   //    margin for easier control within type scales as it avoids margin collapsing.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   %heading { | 
					
						
							|  |  |  |     margin-top: 0; // 1
 | 
					
						
							|  |  |  |     margin-bottom: $headings-margin-bottom; | 
					
						
							|  |  |  |     font-family: $headings-font-family; | 
					
						
							|  |  |  |     font-style: $headings-font-style; | 
					
						
							|  |  |  |     font-weight: $headings-font-weight; | 
					
						
							|  |  |  |     line-height: $headings-line-height; | 
					
						
							|  |  |  |     color: var(--#{$prefix}heading-color); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h1, | 
					
						
							|  |  |  |   .h1 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h1-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h2, | 
					
						
							|  |  |  |   .h2 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h2-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h3, | 
					
						
							|  |  |  |   .h3 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h3-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h4, | 
					
						
							|  |  |  |   .h4 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h4-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h5, | 
					
						
							|  |  |  |   .h5 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h5-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   h6, | 
					
						
							|  |  |  |   .h6 { | 
					
						
							|  |  |  |     @extend %heading; | 
					
						
							|  |  |  |     @include font-size($h6-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-04-30 16:00:34 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Reset margins on paragraphs
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Similarly, the top margin on `<p>`s get reset. However, we also reset the
 | 
					
						
							|  |  |  |   // bottom margin to use `rem` units instead of `em`.
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   p { | 
					
						
							|  |  |  |     margin-top: 0; | 
					
						
							|  |  |  |     margin-bottom: $paragraph-margin-bottom; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Abbreviations
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 | 
					
						
							|  |  |  |   // 2. Add explicit cursor to indicate changed behavior.
 | 
					
						
							|  |  |  |   // 3. Prevent the text-decoration to be skipped.
 | 
					
						
							| 
									
										
										
										
											2022-05-08 00:16:57 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   abbr[title] { | 
					
						
							|  |  |  |     text-decoration: underline dotted; // 1
 | 
					
						
							|  |  |  |     cursor: help; // 2
 | 
					
						
							|  |  |  |     text-decoration-skip-ink: none; // 3
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Address
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   address { | 
					
						
							|  |  |  |     margin-bottom: 1rem; | 
					
						
							|  |  |  |     font-style: normal; | 
					
						
							|  |  |  |     line-height: inherit; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2011-05-04 09:09:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Lists
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ol, | 
					
						
							|  |  |  |   ul { | 
					
						
							|  |  |  |     padding-left: 2rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												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-13 05:52:33 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ol, | 
					
						
							|  |  |  |   ul, | 
					
						
							|  |  |  |   dl { | 
					
						
							|  |  |  |     margin-top: 0; | 
					
						
							|  |  |  |     margin-bottom: 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2011-09-03 14:01:38 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ol ol, | 
					
						
							|  |  |  |   ul ul, | 
					
						
							|  |  |  |   ol ul, | 
					
						
							|  |  |  |   ul ol { | 
					
						
							|  |  |  |     margin-bottom: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   dt { | 
					
						
							|  |  |  |     font-weight: $dt-font-weight; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Undo browser default
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   dd { | 
					
						
							|  |  |  |     margin-bottom: .5rem; | 
					
						
							|  |  |  |     margin-left: 0; // 1
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Blockquote
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   blockquote { | 
					
						
							|  |  |  |     margin: 0 0 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Strong
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Add the correct font weight in Chrome, Edge, and Safari
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   b, | 
					
						
							|  |  |  |   strong { | 
					
						
							|  |  |  |     font-weight: $font-weight-bolder; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Small
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Add the correct font size in all browsers
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   small, | 
					
						
							|  |  |  |   .small { | 
					
						
							|  |  |  |     @include font-size($small-font-size); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Mark
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   mark, | 
					
						
							|  |  |  |   .mark { | 
					
						
							|  |  |  |     padding: $mark-padding; | 
					
						
							|  |  |  |     color: var(--#{$prefix}highlight-color); | 
					
						
							|  |  |  |     background-color: var(--#{$prefix}highlight-bg); | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Sub and Sup
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Prevent `sub` and `sup` elements from affecting the line height in
 | 
					
						
							|  |  |  |   // all browsers.
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   sub, | 
					
						
							|  |  |  |   sup { | 
					
						
							|  |  |  |     position: relative; | 
					
						
							|  |  |  |     @include font-size($sub-sup-font-size); | 
					
						
							|  |  |  |     line-height: 0; | 
					
						
							|  |  |  |     vertical-align: baseline; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   sub { bottom: -.25em; } | 
					
						
							|  |  |  |   sup { top: -.5em; } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Links
 | 
					
						
							| 
									
										
										
										
											2011-05-04 09:09:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   a { | 
					
						
							| 
									
										
										
										
											2025-09-25 02:54:21 +08:00
										 |  |  |     color: var(--#{$prefix}link-color); | 
					
						
							|  |  |  |     text-decoration: var(--#{$prefix}link-decoration); | 
					
						
							|  |  |  |     text-underline-offset: $link-underline-offset; | 
					
						
							| 
									
										
										
										
											2013-08-19 05:28:55 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     &:hover { | 
					
						
							| 
									
										
										
										
											2025-09-25 02:54:21 +08:00
										 |  |  |       color: var(--#{$prefix}link-hover-color); | 
					
						
							|  |  |  |       text-decoration: var(--#{$prefix}link-hover-decoration); | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2013-08-19 05:28:55 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2012-07-27 15:06:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // And undo these styles for placeholder links/named anchors (without href).
 | 
					
						
							|  |  |  |   // It would be more straightforward to just use a[href] in previous block, but that
 | 
					
						
							|  |  |  |   // causes specificity issues in many other styles that are too complex to fix.
 | 
					
						
							|  |  |  |   // See https://github.com/twbs/bootstrap/issues/19402
 | 
					
						
							| 
									
										
										
										
											2016-03-05 09:01:09 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   a:not([href]):not([class]) { | 
					
						
							|  |  |  |     &, | 
					
						
							|  |  |  |     &:hover { | 
					
						
							|  |  |  |       color: inherit; | 
					
						
							|  |  |  |       text-decoration: none; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2016-03-05 09:01:09 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-07-27 15:06:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Code
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   pre, | 
					
						
							|  |  |  |   code, | 
					
						
							|  |  |  |   kbd, | 
					
						
							|  |  |  |   samp { | 
					
						
							|  |  |  |     font-family: $font-family-code; | 
					
						
							|  |  |  |     @include font-size(1em); // Correct the odd `em` font sizing in all browsers.
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Remove browser default top margin
 | 
					
						
							|  |  |  |   // 2. Reset browser default of `1em` to use `rem`s
 | 
					
						
							|  |  |  |   // 3. Don't allow content to break outside
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   pre { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     margin-top: 0; // 1
 | 
					
						
							|  |  |  |     margin-bottom: 1rem; // 2
 | 
					
						
							|  |  |  |     overflow: auto; // 3
 | 
					
						
							|  |  |  |     @include font-size($code-font-size); | 
					
						
							|  |  |  |     color: $pre-color; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // Account for some code outputs that place code tags in pre tags
 | 
					
						
							|  |  |  |     code { | 
					
						
							|  |  |  |       @include font-size(inherit); | 
					
						
							|  |  |  |       color: inherit; | 
					
						
							|  |  |  |       word-break: normal; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   code { | 
					
						
							|  |  |  |     @include font-size($code-font-size); | 
					
						
							|  |  |  |     color: var(--#{$prefix}code-color); | 
					
						
							|  |  |  |     word-wrap: break-word; | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     // Streamline the style when inside anchors to avoid broken underline and more
 | 
					
						
							|  |  |  |     a > & { | 
					
						
							|  |  |  |       color: inherit; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   kbd { | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     padding: $kbd-padding-y $kbd-padding-x; | 
					
						
							|  |  |  |     @include font-size($kbd-font-size); | 
					
						
							|  |  |  |     color: $kbd-color; | 
					
						
							|  |  |  |     background-color: $kbd-bg; | 
					
						
							|  |  |  |     @include border-radius($border-radius-sm); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     kbd { | 
					
						
							|  |  |  |       padding: 0; | 
					
						
							|  |  |  |       @include font-size(1em); | 
					
						
							|  |  |  |       font-weight: inherit; // mdo-do: check if this is needed
 | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Figures
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Apply a consistent margin strategy (matches our type styles).
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   figure { | 
					
						
							|  |  |  |     margin: 0 0 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-07-27 15:06:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Images and content
 | 
					
						
							| 
									
										
										
										
											2013-06-28 15:09:10 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   img, | 
					
						
							|  |  |  |   svg { | 
					
						
							|  |  |  |     vertical-align: middle; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2013-08-19 10:24:10 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Tables
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Prevent double borders
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   table { | 
					
						
							|  |  |  |     caption-side: bottom; | 
					
						
							|  |  |  |     border-collapse: collapse; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   caption { | 
					
						
							| 
									
										
										
										
											2025-08-29 12:27:13 +08:00
										 |  |  |     // padding-top: $table-cell-padding-y;
 | 
					
						
							|  |  |  |     // padding-bottom: $table-cell-padding-y;
 | 
					
						
							|  |  |  |     // color: $table-caption-color;
 | 
					
						
							|  |  |  |     padding-block: .5rem; | 
					
						
							|  |  |  |     color: var(--#{$prefix}secondary-color); | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     text-align: left; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Removes font-weight bold by inheriting
 | 
					
						
							|  |  |  |   // 2. Matches default `<td>` alignment by inheriting `text-align`.
 | 
					
						
							|  |  |  |   // 3. Fix alignment for Safari
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   th { | 
					
						
							| 
									
										
										
										
											2025-08-29 12:27:13 +08:00
										 |  |  |     // font-weight: $table-th-font-weight; // 1 // mdo-do: it's null by default. maybe we remove?
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     text-align: inherit; // 2
 | 
					
						
							|  |  |  |     text-align: -webkit-match-parent; // 3
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-03-24 22:00:00 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   thead, | 
					
						
							|  |  |  |   tbody, | 
					
						
							|  |  |  |   tfoot, | 
					
						
							|  |  |  |   tr, | 
					
						
							|  |  |  |   td, | 
					
						
							|  |  |  |   th { | 
					
						
							|  |  |  |     border-color: inherit; | 
					
						
							|  |  |  |     border-style: solid; | 
					
						
							|  |  |  |     border-width: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Forms
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Allow labels to use `margin` for spacing.
 | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   label { | 
					
						
							|  |  |  |     display: inline-block; // 1
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove the default `border-radius` that macOS Chrome adds.
 | 
					
						
							|  |  |  |   // See https://github.com/twbs/bootstrap/issues/24093
 | 
					
						
							| 
									
										
										
										
											2017-09-27 22:01:00 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   button { | 
					
						
							|  |  |  |     // stylelint-disable-next-line property-disallowed-list
 | 
					
						
							|  |  |  |     border-radius: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2021-01-10 18:42:26 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Explicitly remove focus outline in Chromium when it shouldn't be
 | 
					
						
							|  |  |  |   // visible (e.g. as result of mouse click or touch tap). It already
 | 
					
						
							|  |  |  |   // should be doing this automatically, but seems to currently be
 | 
					
						
							|  |  |  |   // confused and applies its very visible two-tone outline anyway.
 | 
					
						
							| 
									
										
										
										
											2021-01-10 18:42:26 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   button:focus:not(:focus-visible) { | 
					
						
							|  |  |  |     outline: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Remove the margin in Firefox and Safari
 | 
					
						
							| 
									
										
										
										
											2020-06-17 02:30:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   input, | 
					
						
							|  |  |  |   button, | 
					
						
							|  |  |  |   select, | 
					
						
							|  |  |  |   optgroup, | 
					
						
							|  |  |  |   textarea { | 
					
						
							|  |  |  |     margin: 0; // 1
 | 
					
						
							|  |  |  |     font-family: inherit; | 
					
						
							|  |  |  |     @include font-size(inherit); | 
					
						
							|  |  |  |     line-height: inherit; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2021-03-02 22:09:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove the inheritance of text transform in Firefox
 | 
					
						
							|  |  |  |   button, | 
					
						
							|  |  |  |   select { | 
					
						
							|  |  |  |     text-transform: none; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   // Set the cursor for non-`<button>` buttons
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Details at https://github.com/twbs/bootstrap/pull/30562
 | 
					
						
							|  |  |  |   [role="button"] { | 
					
						
							|  |  |  |     cursor: pointer; | 
					
						
							| 
									
										
										
										
											2021-03-02 22:09:14 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-01-04 17:40:10 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   select { | 
					
						
							|  |  |  |     // Remove the inheritance of word-wrap in Safari.
 | 
					
						
							|  |  |  |     // See https://github.com/twbs/bootstrap/issues/24990
 | 
					
						
							|  |  |  |     word-wrap: normal; | 
					
						
							| 
									
										
										
										
											2019-08-24 07:59:57 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     // Undo the opacity change from Chrome
 | 
					
						
							|  |  |  |     &:disabled { | 
					
						
							|  |  |  |       opacity: 1; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-01-04 17:40:10 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
 | 
					
						
							|  |  |  |   // See https://stackoverflow.com/a/54997118
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   [list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator { | 
					
						
							|  |  |  |     display: none !important; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 | 
					
						
							|  |  |  |   //    controls in Android 4.
 | 
					
						
							|  |  |  |   // 2. Correct the inability to style clickable types in iOS and Safari.
 | 
					
						
							|  |  |  |   // 3. Opinionated: add "hand" cursor to non-disabled button elements.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   button, | 
					
						
							|  |  |  |   [type="button"], // 1 | 
					
						
							|  |  |  |   [type="reset"], | 
					
						
							|  |  |  |   [type="submit"] { | 
					
						
							|  |  |  |     -webkit-appearance: button; // 2
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     @if $enable-button-pointers { | 
					
						
							|  |  |  |       &:not(:disabled) { | 
					
						
							|  |  |  |         cursor: pointer; // 3
 | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2018-12-29 19:55:20 +08:00
										 |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::-moz-focus-inner { | 
					
						
							|  |  |  |     padding: 0; | 
					
						
							|  |  |  |     border-style: none; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   textarea { | 
					
						
							|  |  |  |     resize: vertical; // 1
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Browsers set a default `min-width: min-content;` on fieldsets,
 | 
					
						
							|  |  |  |   //    unlike e.g. `<div>`s, which have `min-width: 0;` by default.
 | 
					
						
							|  |  |  |   //    So we reset that to ensure fieldsets behave more like a standard block element.
 | 
					
						
							|  |  |  |   //    See https://github.com/twbs/bootstrap/issues/12359
 | 
					
						
							|  |  |  |   //    and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
 | 
					
						
							|  |  |  |   // 2. Reset the default outline behavior of fieldsets so they don't affect page layout.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   fieldset { | 
					
						
							|  |  |  |     min-width: 0; // 1
 | 
					
						
							|  |  |  |     padding: 0; // 2
 | 
					
						
							|  |  |  |     margin: 0; // 2
 | 
					
						
							|  |  |  |     border: 0; // 2
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. By using `float: left`, the legend will behave like a block element.
 | 
					
						
							|  |  |  |   //    This way the border of a fieldset wraps around the legend if present.
 | 
					
						
							|  |  |  |   // 2. Fix wrapping bug.
 | 
					
						
							|  |  |  |   //    See https://github.com/twbs/bootstrap/issues/29712
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   legend { | 
					
						
							|  |  |  |     float: left; // 1
 | 
					
						
							|  |  |  |     width: 100%; | 
					
						
							|  |  |  |     padding: 0; | 
					
						
							|  |  |  |     margin-bottom: $legend-margin-bottom; | 
					
						
							|  |  |  |     font-weight: $legend-font-weight; | 
					
						
							|  |  |  |     line-height: inherit; | 
					
						
							|  |  |  |     @include font-size($legend-font-size); | 
					
						
							| 
									
										
										
										
											2020-03-21 22:44:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |     + * { | 
					
						
							|  |  |  |       clear: left; // 2
 | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-03-21 22:44:08 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Fix height of inputs with a type of datetime-local, date, month, week, or time
 | 
					
						
							|  |  |  |   // See https://github.com/twbs/bootstrap/issues/18842
 | 
					
						
							| 
									
										
										
										
											2020-02-23 04:48:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::-webkit-datetime-edit-fields-wrapper, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-text, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-minute, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-hour-field, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-day-field, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-month-field, | 
					
						
							|  |  |  |   ::-webkit-datetime-edit-year-field { | 
					
						
							|  |  |  |     padding: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::-webkit-inner-spin-button { | 
					
						
							|  |  |  |     height: auto; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. This overrides the extra rounded corners on search inputs in iOS so that our
 | 
					
						
							|  |  |  |   //    `.form-control` class can properly style them. Note that this cannot simply
 | 
					
						
							|  |  |  |   //    be added to `.form-control` as it's not specific enough. For details, see
 | 
					
						
							|  |  |  |   //    https://github.com/twbs/bootstrap/issues/11586.
 | 
					
						
							|  |  |  |   // 2. Correct the outline style in Safari.
 | 
					
						
							| 
									
										
										
										
											2025-08-21 02:13:33 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   [type="search"] { | 
					
						
							|  |  |  |     -webkit-appearance: textfield; // 1
 | 
					
						
							|  |  |  |     outline-offset: -2px; // 2
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // 3. Better affordance and consistent appearance for search cancel button
 | 
					
						
							|  |  |  |     &::-webkit-search-cancel-button { | 
					
						
							|  |  |  |       cursor: pointer; | 
					
						
							|  |  |  |       filter: grayscale(1); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-08-21 02:13:33 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 09:39:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. A few input types should stay LTR
 | 
					
						
							|  |  |  |   // See https://rtlstyling.com/posts/rtl-styling#form-inputs
 | 
					
						
							|  |  |  |   // 2. RTL only output
 | 
					
						
							|  |  |  |   // See https://rtlcss.com/learn/usage-guide/control-directives/#raw
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   /* rtl:raw: | 
					
						
							|  |  |  |   [type="tel"], | 
					
						
							|  |  |  |   [type="url"], | 
					
						
							|  |  |  |   [type="email"], | 
					
						
							|  |  |  |   [type="number"] { | 
					
						
							|  |  |  |     direction: ltr; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   */ | 
					
						
							| 
									
										
										
										
											2020-06-26 22:06:20 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove the inner padding in Chrome and Safari on macOS.
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::-webkit-search-decoration { | 
					
						
							|  |  |  |     -webkit-appearance: none; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove padding around color pickers in webkit browsers
 | 
					
						
							| 
									
										
										
										
											2019-08-17 21:55:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::-webkit-color-swatch-wrapper { | 
					
						
							|  |  |  |     padding: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-08-17 21:55:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-28 22:03:41 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // 1. Inherit font family and line height for file input buttons
 | 
					
						
							|  |  |  |   // 2. Correct the inability to style clickable types in iOS and Safari.
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   ::file-selector-button { | 
					
						
							|  |  |  |     font: inherit; // 1
 | 
					
						
							|  |  |  |     -webkit-appearance: button; // 2
 | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Correct element displays
 | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   output { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Remove border from iframe
 | 
					
						
							| 
									
										
										
										
											2020-04-30 02:32:35 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   iframe { | 
					
						
							|  |  |  |     border: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Summary
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // 1. Add the correct display in all browsers
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   summary { | 
					
						
							|  |  |  |     display: list-item; // 1
 | 
					
						
							|  |  |  |     cursor: pointer; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
											  
											
												Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
											
										 
											2017-01-22 06:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Progress
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Add the correct vertical alignment in Chrome, Firefox, and Opera.
 | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   progress { | 
					
						
							|  |  |  |     vertical-align: baseline; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-03-05 21:51:14 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   // Hidden attribute
 | 
					
						
							|  |  |  |   //
 | 
					
						
							|  |  |  |   // Always hide an element with the `hidden` HTML attribute.
 | 
					
						
							| 
									
										
										
										
											2019-06-18 02:08:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-29 03:47:04 +08:00
										 |  |  |   [hidden] { | 
					
						
							|  |  |  |     display: none !important; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-11-13 11:15:54 +08:00
										 |  |  | } |