-
+
-
-
+
+
+
-
0 " class="uk-margin-small-top"> If your filter
- selection cannot be
- applied to a chart, that chart will appear grayed-out.
Sign in to apply filters
-
+
-
+ 0 " class="uk-margin-medium-top uk-alert uk-alert-primary">
+ If your filter selection cannot be applied to a chart, that chart will appear grayed-out.
+
diff --git a/src/app/monitor/monitor.component.ts b/src/app/monitor/monitor.component.ts
index 0d8bda7..6d67f98 100644
--- a/src/app/monitor/monitor.component.ts
+++ b/src/app/monitor/monitor.component.ts
@@ -33,6 +33,8 @@ import {properties} from "../../environments/environment";
import {IndexInfoService} from "../openaireLibrary/utils/indexInfo.service";
import {ConfigurationService} from "../openaireLibrary/utils/configuration/configuration.service";
+declare var UIkit;
+
@Component({
selector: 'monitor',
templateUrl: 'monitor.component.html',
@@ -77,7 +79,8 @@ export class MonitorComponent implements OnInit, OnDestroy {
public keyword: FormControl;
public statsUpdateDate: Date;
public stickyPageHeader: boolean = false;
-
+ public offcanvasOpen: boolean = false;
+
constructor(
private route: ActivatedRoute,
private _router: Router,
@@ -217,7 +220,14 @@ export class MonitorComponent implements OnInit, OnDestroy {
}
}));
}));
-
+
+ UIkit.util.on('#style_switcher', 'beforeshow', () => {
+ this.offcanvasOpen = true;
+ });
+
+ UIkit.util.on('#style_switcher', 'beforehide', () => {
+ this.offcanvasOpen = false;
+ });
}
private initializeFilters() {
diff --git a/src/assets/monitor-dashboard-custom.css b/src/assets/monitor-dashboard-custom.css
index 22eaf7f..78a5001 100644
--- a/src/assets/monitor-dashboard-custom.css
+++ b/src/assets/monitor-dashboard-custom.css
@@ -83,17 +83,7 @@
/*}*/
#filters_switcher_toggle {
- top: 320px !important;
- position: fixed;
- height: 36px;
- background-color: var(--secondary-color);
- border-radius: 4px 0 0 4px;
- cursor: pointer;
- padding: 0 2px;
- box-shadow: -2px 2px 5px rgba(0, 0, 0, .26);
- box-sizing: border-box;
- /*z-index: 981;*/
- right: 0;
+ top: 400px !important;
}
/*!*Sidebar*!*/