diff --git a/packages/block-library/src/home-link/style.scss b/packages/block-library/src/home-link/style.scss deleted file mode 100644 index 88670dfe9ab7e..0000000000000 --- a/packages/block-library/src/home-link/style.scss +++ /dev/null @@ -1,51 +0,0 @@ -.wp-block-navigation { - - .wp-block-home-link__content { - // Inherit colors set by the block color definition. - color: inherit; - display: block; - } - - // Force links to inherit text decoration applied to navigation block. - // The extra selector adds specificity to ensure it works when user-set. - &[style*="text-decoration"] { - .wp-block-home-link { - text-decoration: inherit; - } - - .wp-block-home-link__content { - text-decoration: inherit; - - &:focus, - &:active { - text-decoration: inherit; - } - } - } - - &:not([style*="text-decoration"]) { - .wp-block-home-link__content { - text-decoration: none; - - &:focus, - &:active { - text-decoration: none; - } - } - } -} - -// Default background and font color. -.wp-block-navigation:not(.has-background) { - .wp-block-navigation__container .wp-block-home-link__container { - // Set a background color for submenus so that they're not transparent. - background-color: #fff; - color: #000; - border: 1px solid rgba(0, 0, 0, 0.15); - - .wp-block-home-link__container { - top: -1px; - } - } -} - diff --git a/packages/block-library/src/style.scss b/packages/block-library/src/style.scss index 2f64d28818e5a..85aa7ec6069c3 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -20,7 +20,6 @@ @import "./navigation/style.scss"; @import "./navigation-link/style.scss"; @import "./navigation-submenu/style.scss"; -@import "./home-link/style.scss"; @import "./page-list/style.scss"; @import "./paragraph/style.scss"; @import "./post-author/style.scss";