2021-11-20 05:44:46 +01:00
|
|
|
// stylelint-disable custom-property-empty-line-before
|
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
.breadcrumb {
|
2021-11-20 05:44:46 +01: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 18:13:09 +01: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-20 05:44:46 +01:00
|
|
|
// scss-docs-end breadcrumb-css-vars
|
|
|
|
|
2017-09-05 00:36:12 +02: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 18:13:09 +01:00
|
|
|
padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
|
|
|
|
margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
|
2019-10-03 17:54:34 +02:00
|
|
|
@include font-size($breadcrumb-font-size);
|
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 18:13:09 +01:00
|
|
|
font-size: var(--#{$prefix}breadcrumb-font-size);
|
2014-12-02 23:02:35 +01: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 18:13:09 +01:00
|
|
|
background-color: var(--#{$prefix}breadcrumb-bg);
|
|
|
|
@include border-radius(var(--#{$prefix}breadcrumb-border-radius));
|
2015-12-08 11:20:25 +01:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2015-12-08 11:20:25 +01:00
|
|
|
.breadcrumb-item {
|
2016-01-07 03:34:28 +01:00
|
|
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
2018-04-02 03:15:57 +02: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 18:13:09 +01:00
|
|
|
padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
|
2018-04-02 03:15:57 +02:00
|
|
|
|
|
|
|
&::before {
|
2020-09-29 20:32:27 +02:00
|
|
|
float: left; // Suppress inline spacings and underlining of the separator
|
2022-03-29 15:49:02 +02: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 18:13:09 +01:00
|
|
|
content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
2018-04-02 03:15:57 +02:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2015-12-08 11:20:25 +01: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 18:13:09 +01:00
|
|
|
color: var(--#{$prefix}breadcrumb-item-active-color);
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|