From c19aa91ec8beb205c984fc9dc2d53dd3a2dc2fd9 Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Tue, 1 Sep 2020 21:11:23 +0200 Subject: [PATCH] [frontend] Add mobile navbar --- .../app/shared/toolbar/toolbar.component.html | 50 +++++++++++++++++-- .../app/shared/toolbar/toolbar.component.scss | 13 +++++ 2 files changed, 59 insertions(+), 4 deletions(-) diff --git a/kibicara-frontend/src/app/shared/toolbar/toolbar.component.html b/kibicara-frontend/src/app/shared/toolbar/toolbar.component.html index f7437d3..04499f6 100644 --- a/kibicara-frontend/src/app/shared/toolbar/toolbar.component.html +++ b/kibicara-frontend/src/app/shared/toolbar/toolbar.component.html @@ -2,21 +2,63 @@ Kibicara - All hoods + search Become a hood admin! + add_box
- Dashboard - Logout + Dashboard + Logout + exit_to_app
- Login + Login diff --git a/kibicara-frontend/src/app/shared/toolbar/toolbar.component.scss b/kibicara-frontend/src/app/shared/toolbar/toolbar.component.scss index 02193a7..4cfbc21 100644 --- a/kibicara-frontend/src/app/shared/toolbar/toolbar.component.scss +++ b/kibicara-frontend/src/app/shared/toolbar/toolbar.component.scss @@ -1,3 +1,16 @@ .example-spacer { flex: 1 auto; } + +.hide-button { + @media screen and (max-width: 600px) { + display: none; + } +} + +.show-button { + display: none; + @media screen and (max-width: 600px) { + display: initial; + } +}