/*------------------------------------*\ #TAXONOMY-CONTENT-BLOCK \*------------------------------------*/ $taxonomy-content-block-bg-color: $background-color-component !default; $taxonomy-content-block-link-color: $primary-nav-dropdown-links !default; $taxonomy-content-block-link-hover-color: $link-color !default; $taxonomy-content-block-mobile-link-color: $mobile-nav-links !default; $taxonomy-content-block-footer-link-color: $footer-text !default; $taxonomy-content-block-menu-item-border-mobile: 1px solid $border-color !default; /** * 1. Behind everything else within the component */ .taxonomy-content-block { @include respond-to($medium-breakpoint) { display: table; width: 100%; } .primary-nav &:before { position: absolute; left: 50%; z-index: -1; /* [1] */ width: 101vw; height: 100%; background: $taxonomy-content-block-bg-color; box-shadow: 0 2px 8px $overlay-shadow-color; transform: translate(-50%, 0); content: ''; } .mobile-nav &:before { display: none; } } .taxonomy-content-block--two-column {} .taxonomy-content-block--three-column {} .taxonomy-content-block__container { @include respond-to($medium-breakpoint) { display: table-cell; padding: $spacing-unit * 4 0; width: 50%; vertical-align: top; } .primary-nav__content & { padding-left: $spacing-unit * 2; } .taxonomy-content-block--two-column & { @include respond-to($medium-breakpoint) { width: 33.33%; } } .taxonomy-content-block--three-column & { @include respond-to($medium-breakpoint) { width: 25%; } } .taxonomy-content-block--with-products & { @include respond-to($medium-breakpoint) { padding-top: $spacing-unit * 4; width: 25%; } } .page-footer & { margin-bottom: $spacing-unit * 4; @include respond-to($medium-breakpoint) { padding-top: 0; } } } .taxonomy-content-block__container--without-image { @include respond-to($medium-breakpoint) { width: 100%; } .taxonomy-content-block--two-column & { @include respond-to($medium-breakpoint) { width: 50%; } } .taxonomy-content-block--three-column & { @include respond-to($medium-breakpoint) { width: 33.33%; } } } .taxonomy-content-block__image-link {} .taxonomy-content-block__image {} .taxonomy-content-block__menu-heading { font-weight: bold; .page-footer & { @extend %heading--3; @extend %heading--fancy; } .mobile-nav & { @extend %heading--3; @extend %heading--fancy; display: block; padding: $spacing-unit; text-align: center; } } .taxonomy-content-block__menu { @extend %list-reset; } .taxonomy-content-block__menu-item { padding-top: $spacing-unit; .mobile-nav & { padding-top: 0; } } .taxonomy-content-block__menu-item--start { font-weight: bold; } .taxonomy-content-block__menu-link { .primary-nav__content & { color: $taxonomy-content-block-link-color; &:hover { color: $taxonomy-content-block-link-hover-color; } } .mobile-nav & { display: block; padding: $spacing-unit * 2; color: $taxonomy-content-block-mobile-link-color; border-bottom: $taxonomy-content-block-menu-item-border-mobile; } .page-footer & { color: $taxonomy-content-block-footer-link-color; opacity: 0.6; transition: opacity 0.15s ease-in; &:hover { opacity: 1; } } } .taxonomy-content-block__products { @include respond-to($medium-breakpoint) { display: table-cell; width: 75%; } }