-// Foundation by ZURB
-// foundation.zurb.com
-// Licensed under MIT Open Source
-
@import "global";
//
$table-head-font-weight: bold !default;
$table-head-padding: rem-calc(8 10 10) !default;
+// These control the table foot styles
+$table-foot-bg: $table-head-bg !default;
+$table-foot-font-size: $table-head-font-size !default;
+$table-foot-font-color: $table-head-font-color !default;
+$table-foot-font-weight: $table-head-font-weight !default;
+$table-foot-padding: $table-head-padding !default;
+
// These control the row padding and font styles
$table-row-padding: rem-calc(9 10) !default;
$table-row-font-size: rem-calc(14) !default;
margin-bottom: $table-margin-bottom;
border: $table-border-style $table-border-size $table-border-color;
- thead,
- tfoot {
- background: $table-head-bg;
+ thead {
+ background: $table-head-bg;
tr {
th,
font-size: $table-head-font-size;
font-weight: $table-head-font-weight;
color: $table-head-font-color;
- text-align: $default-float;
+ }
+ }
+ }
+
+ tfoot {
+ background: $table-foot-bg;
+
+ tr {
+ th,
+ td {
+ padding: $table-foot-padding;
+ font-size: $table-foot-font-size;
+ font-weight: $table-foot-font-weight;
+ color: $table-foot-font-color;
}
}
}
padding: $table-row-padding;
font-size: $table-row-font-size;
color: $table-row-font-color;
+ text-align: $default-float;
}
&.even,
thead tr th,
tfoot tr th,
+ tfoot tr td,
+ tbody tr th,
tbody tr td,
- tr td,
- tfoot tr td { display: $table-display; line-height: $table-line-height; }
+ tr td { display: $table-display; line-height: $table-line-height; }
}
@include table;
}
}
-}
\ No newline at end of file
+}