From ac3e721dfcd8e0287ca00bd1e726d6305d3f2d0c Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 7 Apr 2022 17:50:49 +0300 Subject: [PATCH] [Library & Monitor Dashboard & openaire-theme | new-theme]: Small updates and fixes for sticky buttons & offcanvas on the right | New color #6E6E6E added. 1. monitor.component.html: Filters icon changed | Print button added. 2. monitor.module.ts: Added "filters" in iconsService.registerIcons and removed "print". 3. notification-sidebar.component.css: #notifications-switcher position top changed. 4. notifications-sidebar.component.ts: In read notifications added class "uk-text-light-grey". 5. icons.ts: [NEW] svg icon "filters" added. 6. offcanvas.css: Added variable --offcanvas-button-shadow and use it for offcanvas-switcher. 7. text.css: Added variable --text-light-grey-color: var(--light-grey-color); and class "uk-text-light-grey". 8. variables.css: Added variable --light-grey-color: #6E6E6E; 9. monitor-dashboard-custom.css: Added rules ".stakeholderPage #filters_icon .start" and ".stakeholderPage #filters_icon .end" for filters svg gradient | Added rule for #print_toggle to set top position. --- .../notification-sidebar.component.css | 2 +- .../notifications-sidebar.component.ts | 2 +- utils/icons/icons.ts | 27 +++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/notifications/notifications-sidebar/notification-sidebar.component.css b/notifications/notifications-sidebar/notification-sidebar.component.css index 8b26695e..c2b6f233 100644 --- a/notifications/notifications-sidebar/notification-sidebar.component.css +++ b/notifications/notifications-sidebar/notification-sidebar.component.css @@ -1,5 +1,5 @@ #notifications-switcher { - top: 320px !important; + top: 480px !important; } #notifications .notification-list { diff --git a/notifications/notifications-sidebar/notifications-sidebar.component.ts b/notifications/notifications-sidebar/notifications-sidebar.component.ts index b0dd9365..9e9aaeb2 100644 --- a/notifications/notifications-sidebar/notifications-sidebar.component.ts +++ b/notifications/notifications-sidebar/notifications-sidebar.component.ts @@ -38,7 +38,7 @@ declare var UIkit;
-

+

{{notification.preview}}

diff --git a/utils/icons/icons.ts b/utils/icons/icons.ts index bb26a560..ffddc3d1 100644 --- a/utils/icons/icons.ts +++ b/utils/icons/icons.ts @@ -163,3 +163,30 @@ export const graph = { name: 'graph', data: '' } + +export const filters = { + name: 'filters', + data: '\n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + '' +}