summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2014-01-14 16:12:43 +0100
committerChristophe Matthieu <chm@openerp.com>2014-01-14 16:12:43 +0100
commitf51b91c345a884deaf2c70d42c8716b4addc09b1 (patch)
treead3693e8090f522ee7353c8b6ededa7e549e8c60 /addons/website/static/src/css
parent9624ec21f8b32cbdc4df06e50922b0400345321a (diff)
[FIX] website: mobile snippets height
bzr revid: chm@openerp.com-20140114151243-u1rjzw0exhskukbx
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css11
-rw-r--r--addons/website/static/src/css/website.sass4
2 files changed, 13 insertions, 2 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index ca59f4c5697..9092b347e1f 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -1,3 +1,4 @@
+@charset "utf-8";
/* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY
*
* css for editor buttons, openerp widget included in the website and other
@@ -334,10 +335,15 @@ ul.nav-stacked > li > a {
}
/* ---- SNIPPETS --- */
-[data-snippet-id],.colmd,.hr,.blockquote {
- overflow: hidden;
+[data-snippet-id], .colmd, .hr, .blockquote {
+ overflow: hidden;
}
+@media (max-width: 400px) {
+ [data-snippet-id] {
+ height: auto !important;
+ }
+}
.carousel-inner {
height: 100%;
}
@@ -345,6 +351,7 @@ ul.nav-stacked > li > a {
height: 100%;
background-size: 100%;
}
+
.carousel .carousel-caption {
left: auto;
right: auto;
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index ab13d795465..ec7984505f8 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -245,6 +245,10 @@ ul.nav-stacked > li > a
[data-snippet-id],.colmd,.hr,.blockquote
overflow: hidden
+@media (max-width: 400px)
+ [data-snippet-id]
+ height: auto !important
+
.carousel-inner
height: 100%
.item