}
//If it supports border-box, why not? Am I right?
+//Also, by default padd that to the grid-column-gutter variable
table[class="body"] .columns,
table[class="body"] .column {
height: auto !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
+ padding-left: $grid-column-gutter !important;
+ padding-right: $grid-column-gutter !important;
+}
+
+//If it's collapsed make it so.
+.collapse {
+ table[class="body"] & .columns,
+ table[class="body"] & .column {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ }
}
//Basic grid rules
}
}
-//If it's the last column, give it block and 100% width to knock down the wimpy columns to their own row.
+//If it's the last column in column count (12 by default),
+//give it block and 100% width to knock down the wimpy columns to their own row.
.columns td.small-#{$grid-column-count},
.column td.small-#{$grid-column-count},
.columns th.small-#{$grid-column-count},
}
-
-
}
// table[class="body"] table.inline-list {
</tr>
</table>
- <table class="row collapse">
- <tr>
- <th class="large-2 small-12 columns first" style="background: red;">
- <table>
- <tr>
- <th>
- <p>
- One word
- </p>
- </th>
- <th class="expander"></th>
- </tr>
- </table>
- </th>
- <th class="large-4 small-4 columns" style="background: green;">
- <table>
- <tr>
- <th>
- ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis recusandae non consequatur similique fugiat, modi repellendus, culpa! Ea dolorum quae nobis omnis voluptatem, delectus facilis sapiente. Sit excepturi eligendi dolore!Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur neque eos vitae tenetur illum dolorum, quam officiis ut est molestias explicabo, sed autem quod saepe praesentium rem ad hic deleniti.
- </th>
- <th class="expander"></th>
- </tr>
- </table>
- </th>
- <th class="large-6 small-8 columns last" style="background: blue;">
- <table>
- <tr>
- <th>
- ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis recusandae non consequatur similique fugiat, modi repellendus, culpa! Ea dolorum quae nobis omnis voluptatem, delectus facilis sapiente. Sit excepturi eligendi dolore!Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur neque eos vitae tenetur illum dolorum, quam officiis ut est molestias explicabo, sed autem quod saepe praesentium rem ad hic deleniti.
- </th>
- <th class="expander"></th>
- </tr>
- </table>
- </th>
- </tr>
- </table>
-
<!-- <table class="row">
<tr>