diff --git a/source/_patterns/04-components/00-cms-styles/layout-builder/_layout-builder.scss b/source/_patterns/04-components/00-cms-styles/layout-builder/_layout-builder.scss index 9498f64a6f0b38b6b0521bc9c487b00689b74071..43542c9243701e9039c79edd63872053d80478cd 100644 --- a/source/_patterns/04-components/00-cms-styles/layout-builder/_layout-builder.scss +++ b/source/_patterns/04-components/00-cms-styles/layout-builder/_layout-builder.scss @@ -307,3 +307,32 @@ } } + +// Edit tabs for the main pages in drupal +.tabs{ + &__trigger{ + padding-bottom:0; + &:hover, + &:focus{ + background:gesso-grayscale(gray-2); + border:1px solid gesso-grayscale(gray-4); + } + } + .is-collapse-enabled &{ + &::before{ + display:none; + } + li{ + &:not(.is-active){ + display:none; + } + } + } + &.is-open{ + li{ + &:not(:first-child){ + display:inherit; + } + } + } +}