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