From 4d2ea25fe99bcc43334fe27572780a6416344537 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 24 Feb 2019 12:59:59 +0100 Subject: [PATCH] Finish sidebar navigation --- static/src/app/app.component.scss | 1 + static/src/app/app.config.ts | 4 ++ .../navigation-header.component.html | 6 +-- .../navigation-header.component.scss | 28 +++++------ .../navigation/navigation-header.component.ts | 6 +-- .../navigation/sidenav-list.component.html | 34 ++++++++++---- .../navigation/sidenav-list.component.scss | 47 +++++++++++++++++-- .../navigation/sidenav-list.component.ts | 33 ++++++++++++- .../decoration-overview.component.scss | 5 ++ static/src/app/statistic/stats.component.html | 2 +- static/src/app/statistic/stats.component.ts | 13 +++++ .../war/war-list/war-item.component.html | 2 +- .../war/war-list/war-list.component.scss | 1 - 13 files changed, 143 insertions(+), 39 deletions(-) diff --git a/static/src/app/app.component.scss b/static/src/app/app.component.scss index 3ac6808..0a1a3e7 100644 --- a/static/src/app/app.component.scss +++ b/static/src/app/app.component.scss @@ -7,6 +7,7 @@ mat-sidenav-container, mat-sidenav-content, mat-sidenav { } mat-sidenav { + background: #222222; top: 50px; width: 250px; } diff --git a/static/src/app/app.config.ts b/static/src/app/app.config.ts index 9f2cf84..548c0dd 100644 --- a/static/src/app/app.config.ts +++ b/static/src/app/app.config.ts @@ -43,3 +43,7 @@ export const RouteConfig = { rankOverviewPath: 'public/ranks', decorationOverviewPath: 'public/decorations', }; + +export const ResponsiveConfig = { + breakpointPx: 959, +}; diff --git a/static/src/app/common/navigation/navigation-header.component.html b/static/src/app/common/navigation/navigation-header.component.html index 143f2f8..34f3515 100644 --- a/static/src/app/common/navigation/navigation-header.component.html +++ b/static/src/app/common/navigation/navigation-header.component.html @@ -1,5 +1,5 @@ -
+
@@ -10,7 +10,7 @@ v{{version}}
-
+
-
+