You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
253 lines
4.4 KiB
253 lines
4.4 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Breadcrumb region. |
|
*/ |
|
|
|
/* |
|
* Media query breakpoints. |
|
* Processed by postcss/postcss-custom-media. |
|
*/ |
|
|
|
/* Navigation related breakpoints */ |
|
|
|
/* Grid related breakpoints */ |
|
|
|
/* Grid shifts from 6 to 14 columns. */ |
|
|
|
/* Width of the entire grid maxes out. */ |
|
|
|
.breadcrumb { |
|
position: relative; |
|
font-size: 0.875rem; |
|
font-weight: bold; |
|
line-height: var(--sp1) |
|
|
|
/* Shadow on the right side of breadcrumbs for narrow screens. */ |
|
} |
|
|
|
[dir="ltr"] .breadcrumb::after { |
|
right: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb::after { |
|
left: calc(var(--sp1)*-1) |
|
} |
|
|
|
.breadcrumb::after { |
|
position: absolute; |
|
top: 0; |
|
width: var(--sp3); |
|
height: var(--sp2); |
|
content: ""; |
|
background: linear-gradient(to left, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%) /* LTR */ |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.breadcrumb::after { |
|
content: none |
|
} |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.breadcrumb { |
|
position: static |
|
} |
|
} |
|
|
|
[dir="rtl"] .breadcrumb::after { |
|
background: linear-gradient(to right, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%); |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__content { |
|
margin-left: calc(var(--sp0-5)*-1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__content { |
|
margin-right: calc(var(--sp0-5)*-1) |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__content { |
|
margin-right: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__content { |
|
margin-left: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__content { |
|
padding-left: var(--sp0-5) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__content { |
|
padding-right: var(--sp0-5) |
|
} |
|
|
|
.breadcrumb__content { |
|
overflow: auto; |
|
margin-top: calc(var(--sp0-5)*-1); |
|
margin-bottom: calc(var(--sp0-5)*-1); |
|
padding-top: var(--sp0-5); |
|
padding-bottom: var(--sp0-5); |
|
-webkit-overflow-scrolling: touch |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
[dir="ltr"] .breadcrumb__content { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__content { |
|
margin-left: 0 |
|
} |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
margin-left: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
margin-right: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
margin-right: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
margin-left: calc(var(--sp1)*-1) |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
padding-left: var(--sp1) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
padding-right: var(--sp1) |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
padding-right: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
padding-left: 0 |
|
} |
|
|
|
.breadcrumb__list { |
|
overflow-x: auto; |
|
width: -webkit-max-content; |
|
width: max-content; |
|
margin-top: 0; |
|
margin-bottom: 0; |
|
padding-top: 0; |
|
padding-bottom: var(--sp1); |
|
list-style: none; |
|
white-space: nowrap |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
margin-left: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
margin-left: 0 |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__list { |
|
padding-left: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__list { |
|
padding-right: 0 |
|
} |
|
|
|
.breadcrumb__list { |
|
overflow: visible; |
|
padding-bottom: 0; |
|
white-space: normal |
|
} |
|
} |
|
|
|
.breadcrumb__item { |
|
display: inline-block |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__item:nth-child(n+2)::before { |
|
margin-left: 1rem; |
|
margin-right: 1.25rem |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__item:nth-child(n+2)::before { |
|
margin-right: 1rem; |
|
margin-left: 1.25rem |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__item:nth-child(n+2)::before { |
|
border-right: 2px solid var(--color--gray-45) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__item:nth-child(n+2)::before { |
|
border-left: 2px solid var(--color--gray-45) |
|
} |
|
|
|
.breadcrumb__item:nth-child(n+2)::before { |
|
display: inline-block; |
|
width: 0.5rem; |
|
height: 0.5rem; |
|
content: ""; |
|
transform: rotate(45deg); /* LTR */ |
|
border-top: 2px solid var(--color--gray-45); |
|
} |
|
|
|
[dir="ltr"] .breadcrumb__item:last-child { |
|
margin-right: var(--sp3) |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__item:last-child { |
|
margin-left: var(--sp3) |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
[dir="ltr"] .breadcrumb__item:last-child { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__item:last-child { |
|
margin-left: 0 |
|
} |
|
} |
|
|
|
[dir="rtl"] .breadcrumb__item:nth-child(n+2)::before { |
|
transform: rotate(-45deg); |
|
} |
|
|
|
.breadcrumb__link { |
|
text-decoration: none; |
|
color: var(--color-text-primary-medium) |
|
} |
|
|
|
.breadcrumb__link:hover, |
|
.breadcrumb__link:focus { |
|
text-decoration: underline; |
|
}
|
|
|