Skip to content

Commit

Permalink
Adds print visibility styles to support something we mention in the t…
Browse files Browse the repository at this point in the history
…ypography section. Derp.
  • Loading branch information
Jonathan Smiley committed May 19, 2014
1 parent 170f158 commit b556528
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scss/foundation/components/_visibility.scss
Expand Up @@ -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; }

}

}

0 comments on commit b556528

Please sign in to comment.