hackertours-theme/sass/components/print-none/_print-none.scss
Fredrik Jonsson b7977e1c28 First commit.
2017-03-09 14:29:29 +01:00

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;
}