From a83f1282fa3a80982faf5623186b6677deb0d088 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sun, 19 Jan 2014 20:35:27 +0100 Subject: [PATCH] [IMP] CSS for logo, one pixel better bzr revid: fp@tinyerp.com-20140119193527-8e7oc1umebqkqxgx --- addons/website/static/src/css/website.css | 7 ++++--- addons/website/static/src/css/website.sass | 6 +++--- addons/website/views/website_templates.xml | 2 +- addons/website_sale/views/website_sale.xml | 8 ++++---- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index efffd3b7318..b5e3654424d 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -95,10 +95,11 @@ h1.text-muted, h2.text-muted, h3.text-muted { margin-top: 10px; } +header a.navbar-brand.logo { + padding: 0; +} header a.navbar-brand img { max-height: 50px; - margin-top: -15px; - margin-bottom: -15px; } /* ----- BOOTSTRAP FIX ----- */ @@ -173,7 +174,7 @@ footer { } .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before { - content: "This page is under construction"; + content: "Page under construction"; text-align: center; display: block; padding-top: 160px; diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 976d356512f..f7a0ddb8b36 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -62,11 +62,11 @@ h1.text-muted, h2.text-muted, h3.text-muted margin-top: 10px header + a.navbar-brand.logo + padding: 0 a.navbar-brand img max-height: 50px - margin-top: -15px - margin-bottom: -15px /* ----- BOOTSTRAP FIX ----- */ @@ -132,7 +132,7 @@ footer position: static .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before - content: 'This page is under construction' + content: 'Page under construction' text-align: center display: block padding-top: 160px diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 7411a6bd5e5..3fa40e1a5c0 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -197,7 +197,7 @@