diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2013-09-24 21:38:19 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2013-09-24 21:38:19 +0200 |
| commit | 73cc9fc0e575281303b694bf382aff3df02aff3d (patch) | |
| tree | 9bf4d57eccfbfba4a63a8d277f7c5c0cb8799a70 /addons/website/static/src/css | |
| parent | bd16487da1d00a29725dd147d9634df246a381fb (diff) | |
[IMP] Blogs + Small CSS on empty blocks
bzr revid: fp@tinyerp.com-20130924193819-hhil6lvkhm9krwg8
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/website.css | 6 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.sass | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 5249450386f..ef7fcca1e7a 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -229,7 +229,7 @@ footer { } .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.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: "Click Edit To Change Page"; text-align: center; display: block; padding-top: 100px; @@ -238,6 +238,10 @@ 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"; +} + /* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */ .navbar .nav > li > p { margin-bottom: 0px; diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 94ac792ea65..e53deb93e59 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -155,7 +155,7 @@ footer position: static .oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.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: 'Click Edit To Change Page' text-align: center display: block padding-top: 100px @@ -163,6 +163,9 @@ footer color: grey 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' + /* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */ .navbar .nav > li > p |
