From: Matthew Witek Date: Thu, 2 Mar 2017 00:46:48 +0000 (-0500) Subject: Add stacked table var to components/_table X-Git-Tag: v6.4.0-rc1~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9777%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add stacked table var to components/_table --- diff --git a/scss/components/_table.scss b/scss/components/_table.scss index e7afd9f79..321658195 100644 --- a/scss/components/_table.scss +++ b/scss/components/_table.scss @@ -76,6 +76,10 @@ $table-foot-font-color: $body-font-color !default; /// @type Boolean $show-header-for-stacked: false !default; +/// Breakpoint at which stacked table switches from mobile to desktop view. +/// @type Breakpoint +$table-stack-breakpoint: medium !default; + @mixin -zf-table-stripe($stripe: $table-stripe) { tr { // If stripe is set to even, darken the even rows. diff --git a/scss/settings/_settings.scss b/scss/settings/_settings.scss index 8eeb4c948..af784b6d6 100644 --- a/scss/settings/_settings.scss +++ b/scss/settings/_settings.scss @@ -556,7 +556,6 @@ $table-foot-background: smart-scale($table-background, $table-color-scale); $table-foot-row-hover: darken($table-foot-background, $table-hover-scale); $table-head-font-color: $body-font-color; $table-foot-font-color: $body-font-color; -$table-stack-breakpoint: medium; $show-header-for-stacked: false; // 33. Tabs