From 437e535e5ca465b7182448a0994a150271c6c63b Mon Sep 17 00:00:00 2001 From: luccioman Date: Wed, 14 Dec 2016 12:49:41 +0100 Subject: [PATCH] Fixed admin navbar rendering at various screen sizes. Fix mantis 443 (http://mantis.tokeek.de/view.php?id=443). Tested on : - Debian jessie : Firefox ESR 45.5.1 - MS Windows 10 : Firefox 50.1.0, Chrome 55 and Edge - Emulated devices/adaptative views embedded in the previously mentionned browsers --- htroot/env/base.css | 30 ++++++++++++++++++++++++++- htroot/env/templates/header.template | 31 +++++++++++++++++++--------- 2 files changed, 50 insertions(+), 11 deletions(-) diff --git a/htroot/env/base.css b/htroot/env/base.css index 070f7d0f8..924de111a 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -1106,4 +1106,32 @@ div#tagcloud { width: 33.333% !important; } -/******* yacysearchtrailer.html end ***********/ \ No newline at end of file +/******* yacysearchtrailer.html end ***********/ + +/************* header.template ****************/ +/* Specific styles for the header template */ + +/* Header search form bootstrap styles overrides for extra smal screen sizes*/ +#header-search-form { + max-width: 80%; + padding-top: 0 !important; + padding-bottom: 0 !important; + margin-right: 0 !important; + margin-left: 0 !important; + border: 0 !important; + -webkit-box-shadow: unset !important; + box-shadow: unset !important; +} + +/* Header greeting icon */ +#header-greeting-icon { + height:auto; + width:auto; + max-width:200px; + max-height:32px; + vertical-align:middle; + margin-top: -6px; +} + + +/************* header.template end ************/ \ No newline at end of file diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index 6d8a534ee..6c19068d8 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -1,19 +1,21 @@