2021-11-19 23:44:46 -05:00
|
|
|
// stylelint-disable custom-property-empty-line-before
|
|
|
|
|
2014-12-02 17:02:35 -05:00
|
|
|
.breadcrumb {
|
2021-11-19 23:44:46 -05:00
|
|
|
// scss-docs-start breadcrumb-css-vars
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
--#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
|
|
|
|
--#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
|
|
|
|
--#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
|
|
|
|
@include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
|
|
|
|
--#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
|
|
|
|
--#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
|
|
|
|
--#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
|
|
|
|
--#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
|
|
|
|
--#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
|
2021-11-19 23:44:46 -05:00
|
|
|
// scss-docs-end breadcrumb-css-vars
|
|
|
|
|
2017-09-04 18:36:12 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
|
|
|
|
margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
|
2022-03-31 12:12:52 -04:00
|
|
|
@include font-size(var(--#{$prefix}breadcrumb-font-size));
|
2014-12-02 17:02:35 -05:00
|
|
|
list-style: none;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
background-color: var(--#{$prefix}breadcrumb-bg);
|
|
|
|
@include border-radius(var(--#{$prefix}breadcrumb-border-radius));
|
2015-12-08 05:20:25 -05:00
|
|
|
}
|
2014-12-02 17:02:35 -05:00
|
|
|
|
2015-12-08 05:20:25 -05:00
|
|
|
.breadcrumb-item {
|
2016-01-06 21:34:28 -05:00
|
|
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
2018-04-01 21:15:57 -04:00
|
|
|
+ .breadcrumb-item {
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
|
2018-04-01 21:15:57 -04:00
|
|
|
|
|
|
|
&::before {
|
2020-09-29 14:32:27 -04:00
|
|
|
float: left; // Suppress inline spacings and underlining of the separator
|
2022-03-29 09:49:02 -04:00
|
|
|
padding-right: var(--#{$prefix}breadcrumb-item-padding-x);
|
|
|
|
color: var(--#{$prefix}breadcrumb-divider-color);
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
2018-04-01 21:15:57 -04:00
|
|
|
}
|
2014-12-02 17:02:35 -05:00
|
|
|
}
|
|
|
|
|
2015-12-08 05:20:25 -05:00
|
|
|
&.active {
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 13:13:09 -04:00
|
|
|
color: var(--#{$prefix}breadcrumb-item-active-color);
|
2014-12-02 17:02:35 -05:00
|
|
|
}
|
|
|
|
}
|