Skip to content

Commit

Permalink
fix(footer): styles linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore committed Oct 30, 2023
1 parent 14e5ff0 commit 6726534
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions packages/styles/scss/components/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
padding-top: 0;
padding-bottom: 0;

::slotted(#{$c4d-prefix}-footer-nav),
::slotted(#{$c4d-prefix}-footer-logo) {
display: none;
}

.#{$prefix}--footer__logo-container {
display: none;
}
Expand All @@ -101,6 +106,8 @@
:host(#{$c4d-prefix}-legal-nav-item),
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder) {
@include theme($g90, feature-flag-enabled('enable-css-custom-properties'));
display: list-item;
outline: none;

.#{$prefix}--footer__link.#{$prefix}--link {
@include type-style('body-01');
Expand Down Expand Up @@ -253,13 +260,6 @@
@extend .#{$prefix}--accordion__item--active;
}

:host(#{$c4d-prefix}-footer-nav-item),
:host(#{$c4d-prefix}-legal-nav-item),
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder) {
display: list-item;
outline: none;
}

:host(#{$c4d-prefix}-footer-nav-group[open]) .#{$prefix}--accordion__content {
display: block;
padding-top: 0;
Expand Down Expand Up @@ -303,13 +303,6 @@
}
}

:host(#{$c4d-prefix}-footer[size='micro']) {
::slotted(#{$c4d-prefix}-footer-nav),
::slotted(#{$c4d-prefix}-footer-logo) {
display: none;
}
}

:host(#{$c4d-prefix}-legal-nav[size='micro']) {
::slotted(#{$c4d-prefix}-legal-nav-item),
::slotted(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder) {
Expand Down

0 comments on commit 6726534

Please sign in to comment.