summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2014-01-25 14:24:19 +0100
committerFabien Pinckaers <fp@tinyerp.com>2014-01-25 14:24:19 +0100
commit19f3bcf91d92c85a61ff1085a24312c0ccffca33 (patch)
treebb728b4ae339274694c999f51147c75cf8aa1e84 /addons/website/static/src/css
parent16db9443655975b74190b61d1ca87cd16b816455 (diff)
[FIX] CSS empty zones
bzr revid: fp@tinyerp.com-20140125132419-xa1qxqw2hr7uot1m
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css5
-rw-r--r--addons/website/static/src/css/website.sass7
2 files changed, 5 insertions, 7 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index da599752679..15279601ddf 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
@@ -160,7 +159,7 @@ footer {
/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
.oe_structure.oe_editable.oe_empty:empty, .oe_editable[data-oe-type=html]:empty, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
- background-image: url("/website/static/src/img/drag_here.png");
+ background-image: url("/website/static/src/img/drag_here.png") !important;
}
.oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
@@ -185,7 +184,7 @@ footer {
}
.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
- content: "Drag Building Blocks Here";
+ content: "Drag Building Blocks Here" !important;
}
.css_editable_display {
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index fe3bc6fde56..071955c176a 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -120,10 +120,10 @@ footer
/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
.oe_structure.oe_editable.oe_empty:empty, .oe_editable[data-oe-type=html]:empty, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
- background-image: url('/website/static/src/img/drag_here.png')
+ background-image: url('/website/static/src/img/drag_here.png') !important
.oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
- background-image: none /*url('/website/static/src/img/under_construction.png')*/
+ background-image: none
background-repeat: no-repeat
background-position: center
height: 220px !important
@@ -141,8 +141,7 @@ footer
font-size: 24px
.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
- content: 'Drag Building Blocks Here'
-
+ content: 'Drag Building Blocks Here' !important
.css_editable_display
display: none