From c8b30f4fd971518593790a3fca419be7f279fe57 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Feb 2021 12:48:55 +0200 Subject: [PATCH] refactor(docs-infra): remove unused styles from `_sidenav.scss` (#40704) This commit removes some styles from `_sidenav.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 --- aio/src/styles/1-layouts/_sidenav.scss | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/aio/src/styles/1-layouts/_sidenav.scss b/aio/src/styles/1-layouts/_sidenav.scss index a50536dceb..915d253470 100644 --- a/aio/src/styles/1-layouts/_sidenav.scss +++ b/aio/src/styles/1-layouts/_sidenav.scss @@ -19,10 +19,6 @@ aio-nav-menu { ul, a { margin: 0; } - - aio-nav-item div a { - padding-left: 6px; - } } mat-sidenav.mat-sidenav.sidenav { @@ -51,8 +47,7 @@ mat-sidenav-container.sidenav-container { } } -mat-sidenav-container.sidenav-container.mat-drawer-container.mat-sidenav-container, -mat-sidenav-container .sidenav-content { +mat-sidenav-container.sidenav-container.mat-drawer-container.mat-sidenav-container { background-color: $white; } @@ -179,18 +174,6 @@ button.vertical-menu-item { } } -aio-nav-menu.top-menu { - padding: 24px 0 0; - - aio-nav-item:last-child div { - border-bottom: 1px solid rgba($mediumgray, 0.5); - } - - aio-nav-item:first-child div { - border-top: 1px solid rgba($mediumgray, 0.5); - } -} - // Angular Version Selector mat-sidenav .doc-version { padding: 8px;