From 94a1ce0c0d8fff6cb292097ae11ca450f3f990fc Mon Sep 17 00:00:00 2001 From: Davide Negretti Date: Thu, 23 Nov 2023 19:03:03 +0100 Subject: [PATCH] [DURACOM-195] Header, navbar, and sidebar refactoring --- .../admin-sidebar-section.component.html | 43 ++-- .../admin-sidebar-section.component.ts | 8 + .../admin-sidebar.component.html | 99 ++++---- .../admin-sidebar.component.scss | 231 ++++++++++-------- .../admin-sidebar/admin-sidebar.component.ts | 20 +- ...dable-admin-sidebar-section.component.html | 54 ++-- ...dable-admin-sidebar-section.component.scss | 36 ++- ...andable-admin-sidebar-section.component.ts | 25 +- .../expandable-navbar-section.component.html | 26 +- .../expandable-navbar-section.component.scss | 40 +-- .../navbar-section.component.html | 6 +- .../navbar-section.component.scss | 8 +- src/app/navbar/navbar.component.html | 4 +- src/app/navbar/navbar.component.scss | 13 +- src/app/root/root.component.html | 4 +- src/app/root/root.component.ts | 13 +- src/app/shared/animations/slide.ts | 53 ++-- .../external-link-menu-item.component.html | 3 +- .../external-link-menu-item.component.ts | 3 +- .../menu-item/link-menu-item.component.html | 3 +- .../menu-item/link-menu-item.component.ts | 3 +- .../menu/menu-item/menu-item.component.scss | 5 + .../onclick-menu-item.component.html | 6 +- .../menu-item/onclick-menu-item.component.ts | 2 +- .../menu-item/text-menu-item.component.html | 2 +- .../menu-item/text-menu-item.component.ts | 1 + .../system-wide-alert-banner.component.html | 2 +- src/assets/i18n/en.json5 | 2 + src/styles/_bootstrap_variables.scss | 3 - src/styles/_custom_variables.scss | 20 +- src/styles/_global-styles.scss | 5 - src/styles/_mixins.scss | 2 +- .../header-navbar-wrapper.component.html | 8 +- .../header-navbar-wrapper.component.scss | 81 +++++- .../header-navbar-wrapper.component.ts | 2 + .../dspace/app/header/header.component.html | 34 +-- .../dspace/app/header/header.component.scss | 29 +-- .../dspace/app/header/header.component.ts | 11 +- .../dspace/app/navbar/navbar.component.html | 34 +-- .../dspace/app/navbar/navbar.component.scss | 64 +---- .../styles/_theme_css_variable_overrides.scss | 20 +- 41 files changed, 558 insertions(+), 470 deletions(-) create mode 100644 src/app/shared/menu/menu-item/menu-item.component.scss diff --git a/src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.html b/src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.html index 7f1e8716ba5..a158dcbbdee 100644 --- a/src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.html +++ b/src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.html @@ -1,23 +1,22 @@ -