From df0208759a8de45c1fd39cad036e74d36632abd1 Mon Sep 17 00:00:00 2001 From: Sebastian Krah Date: Tue, 29 Jan 2019 16:30:03 +0100 Subject: [PATCH] mgr/dashboard: Add description to menu items on mobile navigation Adds the title of the icons as description right next to it if the resolution of the browser is below 768px. Adds a couple of scss variable which define the different breakpoints of bootstrap. Those variables should be used in media query expressions. Fixes: https://tracker.ceph.com/issues/37789 Signed-off-by: Sebastian Krah --- .../administration.component.html | 4 ++- .../dashboard-help.component.html | 4 ++- .../identity/identity.component.html | 4 ++- .../navigation/navigation.component.scss | 12 +++++-- .../notifications.component.html | 4 ++- .../task-manager/task-manager.component.html | 2 ++ .../mgr/dashboard/frontend/src/defaults.scss | 8 +++++ .../frontend/src/locale/messages.xlf | 32 +++++++++++++++---- 8 files changed, 58 insertions(+), 12 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html index 1eacdae1f7c3c..1dd555563f38c 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html @@ -5,7 +5,9 @@ data-toggle="dropdown" i18n-title title="Dashboard Settings"> - + + Dashboard Settings