summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorchm@openerp.com <>2014-03-17 15:25:50 +0100
committerchm@openerp.com <>2014-03-17 15:25:50 +0100
commitb8071f8bc76889d7a0520eaa91add1360389b5d1 (patch)
treee0c6503a09757dbb089231ab684c60cb3b8afe83 /addons/website/static/src/css
parent51a0bb001bc496718c30e34701c82964ccb0cdc8 (diff)
parent363bbd00dbf40670303947dc290723c7beb74199 (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20140317142550-53fky76kjdc04s4h
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css10
-rw-r--r--addons/website/static/src/css/website.sass12
2 files changed, 16 insertions, 6 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index 310f6b8156e..dc0628ca3c5 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -102,6 +102,10 @@ header a.navbar-brand img {
max-height: 50px;
}
+#wrapwrap p:empty:after {
+ content: "\2060";
+}
+
/* ----- Snippets Styles ----- */
.readable {
font-size: 120%;
@@ -116,7 +120,7 @@ header a.navbar-brand img {
}
/* ----- BOOTSTRAP FIX ----- */
-.container .container {
+.container .container, .readable .container {
padding-left: 0;
padding-right: 0;
width: auto;
@@ -217,7 +221,6 @@ footer {
/* -- Hack for removing double scrollbar from mobile preview -- */
div#mobile-preview.modal {
overflow: hidden;
- overflow-y: hidden;
}
ul.nav-stacked > li > a {
@@ -283,6 +286,9 @@ ul.nav-stacked > li > a {
section, .carousel, .parallax, .row, .hr, .blockquote {
min-height: 30px;
+}
+
+.carousel, .parallax, .blockquote {
overflow: hidden;
}
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index 563dcae95ec..a15953e0f2b 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -68,6 +68,12 @@ header
img
max-height: 50px
+// add {WORD JOINER} (equivalent to deprecated ZERO WIDTH NO-BREAK SPACE) at
+// the beginning of paragraphs so they don't "disappear" after saving when
+// used solely for spacing.
+#wrapwrap p:empty:after
+ content: '\2060'
+
/* ----- Snippets Styles ----- */
.readable
@@ -78,14 +84,12 @@ header
/* ----- EDITOR ----- */
-
.css_non_editable_mode_hidden
display: none
-
/* ----- BOOTSTRAP FIX ----- */
-.container
+.container, .readable
.container
padding-left: 0
padding-right: 0
@@ -180,7 +184,6 @@ footer
/* -- Hack for removing double scrollbar from mobile preview -- */
div#mobile-preview.modal
overflow: hidden
- overflow-y: hidden
ul.nav-stacked > li > a
padding: 2px 15px
@@ -233,6 +236,7 @@ ul.nav-stacked > li > a
section, .carousel, .parallax, .row, .hr, .blockquote
min-height: 30px
+.carousel, .parallax, .blockquote
overflow: hidden
@media (max-width: 400px)