summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorrga <>2013-10-18 11:23:13 +0530
committerbth-openerp <bth@tinyerp.com>2013-10-18 11:23:13 +0530
commitc8cfb3ac5e57ce7b39e3ffa6dfd30b5b9387f914 (patch)
treebdc954ab56bbc9648cf633af72196f87113ea99f /addons/website/static/src/css
parentaddc2d5f9cefc4c7cd1eb7f3abcc496f2c8eeabe (diff)
[IMP]Added css for image repeatation.
bzr revid: bth@tinyerp.com-20131018055313-2wvyov7ixjc9o36q
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css13
-rw-r--r--addons/website/static/src/css/website.sass9
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