32 lines
573 B
SCSS
32 lines
573 B
SCSS
// Do not print
|
|
//
|
|
// Removes an element from the print version of the web site.
|
|
//
|
|
// By importing these CSS rules in a file marked as media "all", we allow these
|
|
// print rules to be aggregated with other stylesheets, for improved front-end
|
|
// performance.
|
|
//
|
|
// Markup: print-none.twig
|
|
//
|
|
// Style guide: components.print-none
|
|
|
|
.print-none,
|
|
%print-none {
|
|
@media print {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
//
|
|
// Drupal selectors.
|
|
//
|
|
|
|
// Hide Drupal nav elements.
|
|
.toolbar,
|
|
.action-links,
|
|
.links,
|
|
.book-navigation,
|
|
.forum-topic-navigation,
|
|
.feed-icons {
|
|
@extend %print-none;
|
|
}
|