From c839b554122cb50a2968a28c1644084f7cf39c96 Mon Sep 17 00:00:00 2001 From: lotte Date: Tue, 27 Nov 2018 16:26:58 +0100 Subject: [PATCH] finishing touches to menu --- package.json | 2 +- .../admin-sidebar.component.scss | 4 ++ ...dable-admin-sidebar-section.component.html | 9 ++-- ...dable-admin-sidebar-section.component.scss | 1 - src/app/app.component.scss | 2 +- src/styles/_custom_variables.scss | 3 ++ src/styles/_mixins.scss | 48 +++++++++++++++---- yarn.lock | 35 ++------------ 8 files changed, 57 insertions(+), 47 deletions(-) diff --git a/package.json b/package.json index de6d2f23ef..bf9741c870 100644 --- a/package.json +++ b/package.json @@ -183,7 +183,7 @@ "karma-webdriver-launcher": "1.0.5", "karma-webpack": "3.0.0", "ngrx-store-freeze": "^0.2.4", - "node-sass": "^4.7.2", + "node-sass": "^4.11.0", "nodemon": "^1.15.0", "npm-run-all": "4.1.3", "postcss": "^7.0.2", diff --git a/src/app/+admin/admin-sidebar/admin-sidebar.component.scss b/src/app/+admin/admin-sidebar/admin-sidebar.component.scss index 62daa6336f..06997a91a4 100644 --- a/src/app/+admin/admin-sidebar/admin-sidebar.component.scss +++ b/src/app/+admin/admin-sidebar/admin-sidebar.component.scss @@ -1,4 +1,5 @@ @import '../../../styles/variables.scss'; +@import '../../../styles/mixins.scss'; $icon-z-index: 10; :host { @@ -15,6 +16,7 @@ $icon-z-index: 10; &.sidebar-top-level-items { flex: 1; overflow: auto; + @include dark-scrollbar; } } @@ -51,6 +53,8 @@ $icon-z-index: 10; .shortcut-icon { padding-left: $spacer; padding-right: $spacer; + } + .shortcut-icon, .icon-wrapper { background-color: inherit; z-index: $icon-z-index; } diff --git a/src/app/+admin/admin-sidebar/expandable-admin-sidebar-section/expandable-admin-sidebar-section.component.html b/src/app/+admin/admin-sidebar/expandable-admin-sidebar-section/expandable-admin-sidebar-section.component.html index 0a145948a7..7843cd3436 100644 --- a/src/app/+admin/admin-sidebar/expandable-admin-sidebar-section/expandable-admin-sidebar-section.component.html +++ b/src/app/+admin/admin-sidebar/expandable-admin-sidebar-section/expandable-admin-sidebar-section.component.html @@ -2,10 +2,11 @@ [@bgColor]="{ value: ((collapsed | async) ? 'startBackground' : 'endBackground'), params: {endColor: (sidebarActiveBg | async)}}"> - - - +
+ + + +