padding-bottom: 6px;
}
+/* ---- Table Snippet ---- {{{ */
+.table_desc{
+ margin: 0 0 20px 0;
+ width: 100%;
+ word-break: break-all;
+ border: 1px solid #dddddd;
+}
+.table_heading{
+ background-color: #f5f5f5;
+ border: 1px solid #dddddd;
+ color: #666666;
+ font-size: 14px;
+ padding: 4px;
+}
+table.table_desc tr td{
+ text-align: left;
+ padding: 5px;
+ font-size: 13px;
+}
+table.table_desc tr td:first-child{
+ width: 25%;
+ font-weight: bold;
+ border-bottom: 1px solid #c9c9c9;
+ border-right: 1px solid #c9c9c9;
+ border-left: none;
+}
+table.table_desc tr td:last-child{
+ border-bottom: 1px solid #c9c9c9;
+}
+
/* ---- thumbnail ---- {{{ */
.oe_snippet.o_block_banner .oe_snippet_thumbnail_img {
background-image: url("/website/static/src/img/blocks/block_banner.png");
.oe_snippet.o_block_separator .oe_snippet_thumbnail_img {
background-image: url("/website/static/src/img/blocks/block_separator.png");
}
+.oe_snippet.o_block_table .oe_snippet_thumbnail_img {
+ background-image: url("/website/static/src/img/blocks/block_table.png");
+}
.oe_snippet.o_block_button .oe_snippet_thumbnail_img {
background-image: url("/website/static/src/img/blocks/block_button.png");
}
// }}}
+/* ---- Table Snippet ---- {{{ */
+
+.table_desc
+ margin: 0 0 20px 0
+ width: 100%
+ word-break: break-all
+ border: 1px solid #dddddd
+
+.table_heading
+ background-color: #f5f5f5
+ border: 1px solid #dddddd
+ color: #666666
+ font-size: 14px
+ padding: 4px
+
+table.table_desc tr td
+ text-align: left
+ padding: 5px
+ font-size: 13px
+ &:first-child
+ width: 25%
+ font-weight: bold
+ border-bottom: 1px solid #c9c9c9
+ border-right: 1px solid #c9c9c9
+ border-left: none
+ &:last-child
+ border-bottom: 1px solid #c9c9c9
+
+// }}}
+
/* ---- thumbnail ---- {{{ */
.oe_snippet
background-image: url('/website/static/src/img/blocks/block_panel.png')
&.o_block_separator .oe_snippet_thumbnail_img
background-image: url('/website/static/src/img/blocks/block_separator.png')
+ &.o_block_table .oe_snippet_thumbnail_img
+ background-image: url('/website/static/src/img/blocks/block_table.png')
&.o_block_button .oe_snippet_thumbnail_img
background-image: url('/website/static/src/img/blocks/block_button.png')
</div>
</div>
+ <div name="Table" class="o_block_table">
+ <section class="oe_snippet_body mt16 mb16">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-8">
+ <table cellspacing="0" class="table_desc">
+ <tbody>
+ <tr><th class="table_heading" colspan="2">Description</th></tr>
+ <tr>
+ <td></td>
+ <td>(Press Tab to add a new row)</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="col-md-4">
+ <img class="img img-rounded img-responsive" src="/website/static/src/img/library/ipad.png"/>
+ <h4 class="mt16">Description</h4>
+ <p>
+ To add a related product list, reduce
+ the size of these three columns using
+ the right icon of each block.
+ </p>
+ </div>
+ </div>
+ </div>
+ </section>
+ </div>
</div>
<div id="snippet_feature" class="tab-pane">