/// @group visibility
////
-table.body table.container .hide-for-large {
- display: none;
+.hide-for-large {
+ display: none !important;
width:0;
mso-hide:all; // hide selected elements in Outlook 2007-2013
overflow:hidden;
mso-hide:all; // hide selected elements in Outlook 2007-2013
}
-table.body table.container .row.hide-for-large,
+table.body table.container .hide-for-large,
table.body table.container .row.hide-for-large {
@media only screen and (max-width: #{$global-breakpoint}) {
display: table !important;
}
}
+table.body table.container .callout-inner.hide-for-large {
+ @media only screen and (max-width: #{$global-breakpoint}) {
+ display: table-cell !important;
+ width: 100% !important;
+ }
+}
+
table.body table.container .show-for-large {
@media only screen and (max-width: #{$global-breakpoint}) {
display: none !important;
$global-gutter: 16px;
$body-background: $light-gray;
$container-background: $white;
-$global-font-color: $black;
-$body-font-family: Helvetica, Arial, sans-serif;
$global-padding: 16px;
$global-margin: 16px;
$global-radius: 3px;
// 4. Typography
// -------------
+$global-font-color: $black;
+$body-font-family: Helvetica, Arial, sans-serif;
$global-font-weight: normal;
$header-color: inherit;
$global-line-height: 1.3;
</columns>
</row>
+ <row>
+ <columns small="12" large="12">
+ <callout class="primary">
+ <h1>Show on all</h1>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ </callout>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="12" large="12">
+ <callout class="primary hide-for-large">
+ <h1>Hide for Large</h1>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ </callout>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="12" large="12">
+ <callout class="primary show-for-large">
+ <h1>Show for Large</h1>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ <p>Calling all cars</p>
+ </callout>
+ </columns>
+ </row>
+
+
<row class="callout">
<columns small="6" large="4">
<p class="hide-for-large">Show for small</p>