From 84c155bb2e095cadb6e35022d941f343019c6224 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 5 Apr 2022 19:55:01 +0300 Subject: [PATCH] [Library & Monitor Dashboard | new-theme]: Small update on notifications & filters offcanvas. 1. shadow.css: Added variable --shadow-main-dark. 2. offcanvas.css: a. Set --offcanvas-shadow: var(--shadow-main-dark); b. In class .offcanvas-switcher remove transition (will not be visible when offcanvas is open) c. [Bug fix] In class .offcanvas-count increased font size and make background always round, added line-height: 20px. d. In rule ".offcanvas .uk-offcanvas-bar" set border-radius to 4px. 3. notification-utils.ts: Full stop added in messages. 4. notification-sidebar.component.css: In rule "#notifications .notification-list ul" set height: calc(100% - 77px). 5. notifications-sidebar.component.ts: a. Removed anything related to offcavnas events b. Removed commented code c. Added in icons visuallyHidden. 6. monitor.component.html: a. Removed "open" class when offcanvas is open. b. Added in icons visuallyHidden c. Added sign in link in filters when user is not logged in d. Added uk-text-small class in "Clear". 7. monitor.component.ts: a. Removed anything related to offcavnas events b. Added method "logIn()". --- src/app/monitor/monitor.component.html | 12 +++++------- src/app/monitor/monitor.component.ts | 14 ++++---------- src/app/openaireLibrary | 2 +- src/assets/openaire-theme | 2 +- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/app/monitor/monitor.component.html b/src/app/monitor/monitor.component.html index 33b6b6a..7015bd1 100644 --- a/src/app/monitor/monitor.component.html +++ b/src/app/monitor/monitor.component.html @@ -93,7 +93,7 @@

- + Private data

@@ -235,7 +235,7 @@
+ class="offcanvas-switcher uk-flex uk-flex-center uk-flex-middle">

Filters

Clear All + class="uk-text-small uk-width-1-2" (click)="clearAll()"> Clear All
-
Sign in to apply filters -
+
Sign in to apply filters.
  • { - this.offcanvasOpen = true; - }); - - UIkit.util.on('#style_switcher', 'beforehide', () => { - this.offcanvasOpen = false; - }); } private initializeFilters() { @@ -563,4 +553,8 @@ export class MonitorComponent implements OnInit, OnDestroy { public printReport() { window.print(); } + + logIn() { + this.userManagementService.login(); + } } diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index dfd5876..3af4eab 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit dfd58762170aaf144599b815e7367d13312a73f8 +Subproject commit 3af4eabea7b909829eb59bac7de506fe9eefde86 diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index e95be93..ff4d2d2 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit e95be93cca857b74dc256fce2d22d157e51e0af1 +Subproject commit ff4d2d2f957196d97d2bba86decd21153899e59b