summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2013-10-19 22:59:31 +0200
committerFabien Pinckaers <fp@openerp.com>2013-10-19 22:59:31 +0200
commit07b9c76a1ee6042acecc90a9fe07203cd09a9327 (patch)
tree02cf933cf167d5fa4204727ea349f883a2b4ec7b /addons/website/static/src/css
parent6835151fb2e855f13fc9ffcdedb91ea3f24b5bac (diff)
parent8cd32883a39ddf11baf97659c85a8c7b45f3a94d (diff)
[IMP] Parallax widget
bzr revid: fp@openerp.com-20131019205931-t00sxvx71a3wcx3h
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css14
-rw-r--r--addons/website/static/src/css/website.sass12
2 files changed, 20 insertions, 6 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index ce87e592136..21782d0a950 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -360,12 +360,20 @@ footer {
background-color: grey;
}
-.parallax_full {
- background: #eeeeee bottom center repeat fixed;
- min-height: 650px;
+.parallax {
+ background: #eeeeee no-repeat top center fixed;
width: 100%;
background-size: 100%;
}
+.parallax.oe_small {
+ height: 200px;
+}
+.parallax.oe_medium {
+ height: 300px;
+}
+.parallax.oe_big {
+ 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 5197653429c..d39d250b0ff 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -275,11 +275,17 @@ footer
.active
background-color: grey
-.parallax_full
- background: #eee bottom center repeat fixed
- min-height: 650px
+.parallax
+ background: #eee no-repeat top center
+ background-attachment: fixed
width: 100%
background-size: 100%
+ &.oe_small
+ height: 200px
+ &.oe_medium
+ height: 300px
+ &.oe_big
+ height: 450px
/* -- Hack for removing double scrollbar from mobile preview -- */
div#mobile-preview.modal