123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- .breadcrumb {
- @include unlist();
- @include clearfix();
- overflow: hidden;
- padding-top: 1.4em;
- font-size: 0.85em;
- li {
- display: block;
- float: left;
- padding: 0.5em 1.3em;
- position: relative;
- text-decoration: none;
- color: $color-white;
- white-space: nowrap;
- line-height: 1.5em;
- a,
- span {
- color: $color-white;
- display: block;
- max-width: 12em;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- line-height: 1.6em;
- padding-right: 1em;
- &:after {
- right: 0;
- // z-index: 5;
- position: absolute;
- font-family: wagtail;
- content: map-get($icons, 'arrow-right');
- padding-left: 20px;
- font-size: 2em;
- color: $color-teal-darker;
- line-height: 0.9em;
- }
- }
- &:hover {
- background: $color-teal-dark;
- a {
- color: $color-white;
- }
- }
- &:hover:after {
- border-left-color: $color-teal-dark;
- }
- &.home {
- a {
- // stylelint-disable max-nesting-depth
- padding-right: 0;
- text-align: center;
- width: 3em;
- font-size: 1em;
- text-overflow: clip;
- &:before {
- font-size: 1.15rem;
- line-height: 0.85em;
- padding-top: 0.1em;
- }
- &:after {
- right: -0.3em;
- }
- }
- }
- }
- header & li {
- &:before {
- border-left: 1em solid $color-white;
- position: absolute;
- left: 0;
- top: 0;
- }
- }
- &.single {
- li a {
- white-space: nowrap;
- text-overflow: inherit;
- max-width: 100%;
- }
- }
- @include media-breakpoint-up(sm) {
- padding-top: 0;
- background: $color-teal-darker;
- margin-left: -($desktop-nice-padding);
- margin-right: -($desktop-nice-padding);
- li {
- a,
- span {
- &:after {
- color: $color-teal;
- }
- }
- }
- }
- }
|