From 75494d4a69260f8e192d250d1f8c7813e4c759e1 Mon Sep 17 00:00:00 2001 From: Ryan Arnell Date: Wed, 16 Jan 2019 15:07:58 -0600 Subject: Fix layout for responsive design: Header Get rid of "BMC host/IP address" & "server info" text, make the buttons tighter and make more buttons visible in header so that the information is more useful to users in tablet view. Change-Id: I6b4166390b1828fca265e7bb56f51106b4e6f21b Signed-off-by: Ryan Arnell --- app/common/directives/app-header.html | 5 +++-- app/common/styles/layout/header.scss | 15 ++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app/common/directives/app-header.html b/app/common/directives/app-header.html index 0b473ed..8d6a2ad 100644 --- a/app/common/directives/app-header.html +++ b/app/common/directives/app-header.html @@ -8,10 +8,10 @@

{{dataService.hostname}}

-

BMC host/IP address {{dataService.server_id}}

+

{{dataService.server_id}}

diff --git a/app/common/styles/layout/header.scss b/app/common/styles/layout/header.scss index a18d8ac..bb326fd 100644 --- a/app/common/styles/layout/header.scss +++ b/app/common/styles/layout/header.scss @@ -97,7 +97,7 @@ header { .header__functions { position: absolute; top: 0; - right: -680px; + right: -480px; bottom: 0; z-index: 100; margin: .3em 0; @@ -119,7 +119,7 @@ header { float: left; text-decoration: none; color: $darkgrey; - padding: 1.250em 1.688em; + padding: 1.250em; height: 100%; font-size: 0.875em; font-weight: 400; @@ -171,9 +171,9 @@ header { .header__functions { .header__info { padding: .3em; - min-width: 60px; + min-width: 40px; text-align: center; - display: inline-block; + float: left; span { padding: .7em 0 .3em; font-size: 1em; @@ -181,10 +181,11 @@ header { color: $darkgrey; } .icon-angle { - margin-bottom: .9em; + margin: 0.2em 0 0 0; } .icon-angle::before { - font-size: 2em; + font-size: 1.625em; + font-weight: 400; margin-left: 0; display: block; transform: rotate(180deg); @@ -210,7 +211,7 @@ header { } } .header__page-refresh { - padding-top: 0; + padding: 0 0.5rem 0.6rem; position: relative; span { font-size: 0.875em; -- cgit v1.2.1