From c8cfb3ac5e57ce7b39e3ffa6dfd30b5b9387f914 Mon Sep 17 00:00:00 2001 From: rga <> Date: Fri, 18 Oct 2013 11:23:13 +0530 Subject: [PATCH] [IMP]Added css for image repeatation. bzr revid: bth@tinyerp.com-20131018055313-2wvyov7ixjc9o36q --- addons/website/static/src/css/website.css | 13 ++++++++++--- addons/website/static/src/css/website.sass | 9 +++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index c5b58815c67..fa7c9b89c74 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -1,4 +1,3 @@ -@charset "utf-8"; /* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY * * css for editor buttons, openerp widget included in the website and other @@ -364,11 +363,19 @@ footer { } .parallax_full { - background: #eeeeee bottom center repeat fixed; - min-height: 650px; + background: #eeeeee top center; width: 100%; background-size: 100%; } +.parallax_full.oe_small .container { + height: 200px; +} +.parallax_full.oe_medium .container { + height: 300px; +} +.parallax_full.oe_big .container { + height: 450px; +} /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal { diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 2735dfe9fc8..2dacf35fea6 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -278,10 +278,15 @@ footer background-color: grey .parallax_full - background: #eee bottom center repeat fixed - min-height: 650px + background: #eee top center width: 100% background-size: 100% + &.oe_small .container + height: 200px + &.oe_medium .container + height: 300px + &.oe_big .container + height: 450px /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal