From b43262245978f688d22204bdbf83cddd474ea084 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 20 Jul 2015 13:48:59 +0200 Subject: [PATCH] [FIX] actually add logo in title to all pages Fixes 93afab1e which was supposed to do that but I apparently backed it out before committing. All pages now behave like the index, with the Odoo logo removed from the sidebar and set next to the current page's title. --- _extensions/odoo/static/style.css | 10 +++++----- _extensions/odoo/static/style.less | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/_extensions/odoo/static/style.css b/_extensions/odoo/static/style.css index 737a95f57..f5b7686fe 100644 --- a/_extensions/odoo/static/style.css +++ b/_extensions/odoo/static/style.css @@ -8771,10 +8771,7 @@ header.stacked { -ms-transform-origin: 0% 100% 0px; transform-origin: 0% 100% 0px; } -.index #main_title { - font-weight: 300; -} -.index #main_title:before { +#main_title:before { content: ""; display: inline-block; width: 75px; @@ -8791,7 +8788,7 @@ header.stacked { transform: translate(0, 3px); } @media screen and (min-width: 768px) { - .index #main_title:before { + #main_title:before { width: 140px; height: 48px; -webkit-transform: translate(0, 5px); @@ -8800,6 +8797,9 @@ header.stacked { transform: translate(0, 5px); } } +.index #main_title { + font-weight: 300; +} #main_navbar { z-index: 100; background-color: transparent; diff --git a/_extensions/odoo/static/style.less b/_extensions/odoo/static/style.less index be30ef37f..d3a9e1c02 100644 --- a/_extensions/odoo/static/style.less +++ b/_extensions/odoo/static/style.less @@ -59,10 +59,7 @@ header { margin:0; will-change: transform; .transform-origin(0% 100% 0px); -} -.index #main_title { - font-weight: 300; &:before { content:""; display: inline-block; @@ -84,6 +81,10 @@ header { } } +.index #main_title { + font-weight: 300; +} + #main_navbar { z-index: @zIndex--header; background-color: transparent;