a {
text-align: center;
- width: 100%;
}
}
}
+// expanded buttons anchor width
+@for $i from 1 through $grid-column-count {
+ td.large-#{$i} table.expand table a,
+ th.large-#{$i} table.expand table a,
+ td.large-#{$i} table.expanded table a,
+ th.large-#{$i} table.expanded table a {
+ width: -zf-grid-calc-px($i, $grid-column-count, $global-width) !important;
+ }
+}
+
+
table.button:hover,
table.button:visited,
width: auto !important;
}
- // Buttons
- table.button.expand {
- width: 100% !important;
+// Rules for the Center Tag
+ // @for $i from 1 through ($grid-column-count - 1 ) {
+ // .body .columns td.small-#{$i},
+ // .body .column td.small-#{$i},
+ // td.small-#{$i} center,
+
+ // .body .columns th.small-#{$i},
+ // .body .column th.small-#{$i},
+ // th.small-#{$i} center {
+ // display: inline-block !important;
+ // width: -zf-grid-calc-pct($i, $grid-column-count) !important;
+ // }
+ // }
+
+ // expanded buttons anchor width
+ @for $i from 1 through $grid-column-count {
+ td.small-#{$i} table.expand table a,
+ th.small-#{$i} table.expand table a,
+ td.small-#{$i} table.expanded table a,
+ th.small-#{$i} table.expanded table a {
+ width: -zf-grid-calc-pct($i, $grid-column-count) !important;
+ }
}
}
// 8. Thumbnial
// ------------
-$thumbnail-border: solid 4px $white;
+$thumbnail-border: 4px solid $white;
$thumbnail-margin-bottom: $global-margin;
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
<container>
<row>
- <columns small="12" large="6">
- <button href="zurb.com" class="expand">button 1</button>
- </columns>
- <columns small="12" large="6">
- <button href="zurb.com" class="expanded">example text 2</button>
- </columns>
+ <columns small="12" large="6">
+ <button href="zurb.com" class="expand">button</button>
+ </columns>
+ <columns small="12" large="6">
+ <button href="zurb.com" class="expand">example text 2</button>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="6" large="6">
+ <button href="zurb.com" class="expand">button</button>
+ </columns>
+ <columns small="6" large="6">
+ <button href="zurb.com" class="expand">example text 2</button>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="12" large="3">
+ <button href="zurb.com" class="expand">button</button>
+ </columns>
+ <columns small="12" large="9">
+ <button href="zurb.com" class="expand">example text 2</button>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="12" large="4">
+ <button href="zurb.com" class="expand">button</button>
+ </columns>
+ <columns small="12" large="8">
+ <button href="zurb.com" class="expand">example text 2</button>
+ </columns>
+ </row>
+
+ <row>
+ <columns small="4" large="4">
+ <button href="zurb.com" class="small expand">button</button>
+ </columns>
+ <columns small="6" large="8">
+ <button href="zurb.com" class="small expand">example text 2</button>
+ </columns>
</row>
</container>
\ No newline at end of file