From 9fec35ae879c2b88dab87be21f915c41808ed9b6 Mon Sep 17 00:00:00 2001 From: bth-openerp Date: Tue, 27 Aug 2013 18:13:11 +0530 Subject: [PATCH] [IMP]Improved css for header. bzr revid: bth@tinyerp.com-20130827124311-h5w7qvv6s8naxgcc --- addons/website/static/src/css/website.css | 33 +++++++++++++++++----- addons/website/static/src/css/website.sass | 14 +++++---- addons/website/views/views.xml | 10 ++++--- 3 files changed, 41 insertions(+), 16 deletions(-) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 424ad9ec5ec..57acf28413a 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -162,7 +162,7 @@ header.navbar-fixed-top { .dark { background: #eff8f8; } - +/* ----- BOOTSTRAP HACK FOR STICKY carousel-control ----- */ .carousel-control { top: 40%; left: 15px; @@ -177,10 +177,29 @@ header.navbar-fixed-top { -moz-border-radius: 23px; border-radius: 23px; } - -.divider-vertical { - height: 50px; - margin: 0 9px; - border-right: 1px solid #222222; - border-left: 1px solid #111111; +/* ----- BOOTSTRAP HACK FOR STICKY header tags ----- */ +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { + font-weight: 900; } + +.container>.navbar-header, .container>.navbar-collapse { + margin-left: -15px; +} +.navbar-form { + padding: 0; + margin-top: 0; +} +.navbar-form .btn { + margin-top: 3px; + margin-bottom: -5px; +} +header { + margin-bottom: 0px; + min-height: 40px; +} +header .collapse ul { + margin-top: 5px; +} +.navbar-nav>li>a { + padding:10px 15px 10px; +} \ No newline at end of file diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 1eb60a70067..ef6dc5d9ba6 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -136,8 +136,12 @@ header.navbar-fixed-top -moz-border-radius: 23px border-radius: 23px -.divider-vertical - height: 50px - margin: 0 9px - border-right: 1px solid #222222 - border-left: 1px solid #111111 \ No newline at end of file +header + margin-bottom: 0px + min-height: 40px + .collapse ul + margin-top: 5px + +.navbar-nav >li >a + padding:10px 15px 10px + \ No newline at end of file diff --git a/addons/website/views/views.xml b/addons/website/views/views.xml index 50d701f2e96..1962d369b65 100644 --- a/addons/website/views/views.xml +++ b/addons/website/views/views.xml @@ -53,6 +53,7 @@
@@ -115,7 +117,7 @@ Create a free website with OpenERP
-
+
Copyright © Company name - Sitemap
@@ -188,7 +190,7 @@ dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

-
Call To Action
+
Call To Action
@@ -256,9 +258,9 @@

This page does not exists, but you can create it as you are administrator of this site.

Create Page - or Search a Page + or Search a Page
-
Edit the content bellow this line to adapt the default "page not found" page.
+
Edit the content bellow this line to adapt the default "page not found" page.