[IMP] empty zone CSS

bzr revid: fp@tinyerp.com-20130919075309-irpuwo776frfwb12
This commit is contained in:
Fabien Pinckaers
2013-09-19 09:53:09 +02:00
parent 33a4396dc9
commit b8c94e2957
6 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -218,18 +218,18 @@ footer {
}
/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
.oe_structure:empty, [data-oe-type=html]:empty, .oe_structure > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
.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: url("/website/static/src/img/drag_here.png");
background-repeat: no-repeat;
background-position: center top;
height: 200px !important;
}
.oe_structure > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
position: static;
}
.oe_structure:empty:before, [data-oe-type=html]:empty:before, .oe_structure > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
.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";
text-align: center;
display: block;
+3 -3
View File
@@ -147,16 +147,16 @@ footer
/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
.oe_structure:empty, [data-oe-type=html]:empty, .oe_structure > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
.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: url('/website/static/src/img/drag_here.png')
background-repeat: no-repeat
background-position: center top
height: 200px !important
.oe_structure > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
position: static
.oe_structure:empty:before, [data-oe-type=html]:empty:before, .oe_structure > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
.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'
text-align: center
display: block
+3 -3
View File
@@ -187,13 +187,13 @@
<template id="homepage" name="Homepage" page="True">
<t t-call="website.layout">
<div id="wrap" class="oe_structure"></div>
<div id="wrap" class="oe_structure oe_empty"></div>
</t>
</template>
<template id="default_page">
<t t-call="website.layout">
<div id="wrap" class="oe_structure"></div>
<div id="wrap" class="oe_structure oe_empty"></div>
</t>
</template>
@@ -210,7 +210,7 @@
<div class="text-center text-muted">Edit the content bellow this line to adapt the default "page not found" page.</div>
</div>
<hr />
<div class="oe_structure">
<div class="oe_structure oe_empty">
<div class="container">
<h1 class="mt32">404: Page not found!</h1>
<p>
@@ -17,7 +17,7 @@
<t t-call="website.layout">
<t t-set="title">Partners</t>
<div id="wrap">
<div class="oe_structure"> </div>
<div class="oe_structure"/>
<div class="container">
<div class="row">
<t t-raw="ref_content" />
@@ -17,13 +17,13 @@
<t t-call="website.layout">
<t t-set="title">Partners</t>
<div id="wrap">
<div class="oe_structure"> </div>
<div class="oe_structure"/>
<div class="container">
<div class="row">
<t t-raw="ref_content" />
</div>
</div>
<div class="oe_structure"> </div>
<div class="oe_structure"/>
</div>
</t>
</template>
+1 -1
View File
@@ -75,7 +75,7 @@
</t>
<t t-set="title">Shop - <t t-raw="title">Categories</t></t>
<div id="wrap">
<div class="oe_structure"> </div>
<div class="oe_structure"/>
<div class="container oe_website_sale">
<div class="row">
<div class="col-md-12" id="shop_content">