[FIX] website snippet: column
authorChristophe Matthieu <chm@openerp.com>
Tue, 3 Dec 2013 11:11:13 +0000 (12:11 +0100)
committerChristophe Matthieu <chm@openerp.com>
Tue, 3 Dec 2013 11:11:13 +0000 (12:11 +0100)
bzr revid: chm@openerp.com-20131203111113-r9yxhjjhvv5isi9t

addons/website/static/src/css/website.css
addons/website/static/src/css/website.sass
addons/website/views/snippets.xml

index 71f030a..14ff1d7 100644 (file)
@@ -254,13 +254,6 @@ footer {
   content: "Drag Building Blocks Here";
 }
 
-.oe_structure.oe_editable [data-snippet-id]:empty {
-  background: rgba(255, 0, 0, 0.1);
-}
-.oe_structure.oe_editable [data-snippet-id]:empty:before {
-  content: "Please Edit This Empty Block";
-}
-
 /* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
 .navbar .nav > li > p {
   margin-bottom: 0px;
index 157fd19..70d5230 100644 (file)
@@ -171,11 +171,6 @@ 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'
 
-.oe_structure.oe_editable [data-snippet-id]:empty
-    background: rgba(255,0,0,0.1)
-    &:before
-        content: 'Please Edit This Empty Block'
-
 /* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
 
 .navbar .nav > li > p
index 2a8eb03..085d268 100644 (file)
 
 </div>
 
+<!-- use to declare snippet for snippet editor -->
+<div id="snippet_hidden" class="hidden">
+
+    <div t-name="website.snippets.colmd" data-snippet-id='colmd' data-selector-vertical-children='.row'></div>
+
+</div>
+
 <div id="snippet_styles" class="hidden">
 
     <div data-snippet-style-id='carousel-style' data-selector='div[data-snippet-id="carousel"]'>