From b556528ce59f5d087a4f79f763780cffbb68903e Mon Sep 17 00:00:00 2001 From: Jonathan Smiley Date: Mon, 19 May 2014 14:22:49 -0700 Subject: [PATCH] Adds print visibility styles to support something we mention in the typography section. Derp. --- scss/foundation/components/_visibility.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scss/foundation/components/_visibility.scss b/scss/foundation/components/_visibility.scss index 9185409577..7e7abef726 100644 --- a/scss/foundation/components/_visibility.scss +++ b/scss/foundation/components/_visibility.scss @@ -390,4 +390,19 @@ $visibility-breakpoint-queries: th.hide-for-touch { display: table-cell !important; } .touch th.show-for-touch { display: table-cell !important; } + + /* Print visibility */ + @media print { + .show-for-print { display: block; } + .hide-for-print { display: none; } + + table.show-for-print { display: table; } + thead.show-for-print { display: table-header-group !important; } + tbody.show-for-print { display: table-row-group !important; } + tr.show-for-print { display: table-row !important; } + td.show-for-print { display: table-cell !important; } + th.show-for-print { display: table-cell !important; } + + } + }