From 6a14a277b27874426656694e1c7eb3f2ce214d49 Mon Sep 17 00:00:00 2001 From: Alex Vernacchia Date: Wed, 5 Nov 2014 14:02:21 +0000 Subject: [PATCH] web-gui/placing login/logout btns. responsive --- lib/GUI/css/responsive.less | 5 ++++ lib/GUI/css/styles.less | 14 +++++++--- lib/GUI/index.hbs | 54 ++++++++++++++++++++++++++----------- lib/GUI/js/main.js | 4 +-- lib/static/main.css | 18 ++++++++++--- lib/static/main.js | 4 +-- 6 files changed, 72 insertions(+), 27 deletions(-) diff --git a/lib/GUI/css/responsive.less b/lib/GUI/css/responsive.less index fa87ce928c62..63f00af777ed 100644 --- a/lib/GUI/css/responsive.less +++ b/lib/GUI/css/responsive.less @@ -1,6 +1,11 @@ @media (max-width: 992px) { .body { .main-header { + .npm-logo { + width: 100px; + float: left; + } + .packages-header { border-bottom: none; } diff --git a/lib/GUI/css/styles.less b/lib/GUI/css/styles.less index 3a94d8505e53..e1f31f271097 100644 --- a/lib/GUI/css/styles.less +++ b/lib/GUI/css/styles.less @@ -162,7 +162,7 @@ } .white { - color: @white; + color: @white !important; } .red-bg { @@ -174,11 +174,11 @@ } .no-bg { - background: none; + background: none !important; } .no-border { - border: none; + border: none !important; } .no-rnd-cnr { .border-radius( 0 ); @@ -192,3 +192,11 @@ margin-left: 10px; margin-top: 5px; } + +.pad-right-10 { + padding-right: 10px; +} + +.inline-block { + display: inline-block; +} diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs index f2f0357a569b..bb08ed4cbaea 100644 --- a/lib/GUI/index.hbs +++ b/lib/GUI/index.hbs @@ -12,27 +12,47 @@