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 diff --git a/addons/website/static/src/img/under_construction.png b/addons/website/static/src/img/under_construction.png deleted file mode 100644 index 2d5ee85de9b..00000000000 Binary files a/addons/website/static/src/img/under_construction.png and /dev/null differ