First commit.
This commit is contained in:
commit
b7977e1c28
2 changed files with 28081 additions and 0 deletions
32
sass/components/print-none/_print-none.scss
Normal file
32
sass/components/print-none/_print-none.scss
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
// 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;
|
||||
}
|
||||
3
sass/components/print-none/print-none.twig
Normal file
3
sass/components/print-none/print-none.twig
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<p class="print-none">
|
||||
This item will not be printed.
|
||||
</p>
|
||||
Loading…
Reference in a new issue