make print styles an extra module

This commit is contained in:
Stephan 2017-01-09 17:37:44 +01:00
parent d91c029d4d
commit 163ba00508
5 changed files with 11 additions and 5 deletions

View file

@ -65,10 +65,10 @@
@import "modules/card/card_module"; @import "modules/card/card_module";
@import "modules/editor/editor_module"; @import "modules/editor/editor_module";
@import "modules/explanation/explanation_module"; @import "modules/explanation/explanation_module";
@import "modules/print/print_module";
@import "basic/print";
@import "basic/new"; @import "basic/new";
// NOTE // No css rules allowed in here // NOTE // No css rules allowed in here

View file

@ -736,7 +736,7 @@ label {
@page { @page {
.print_body { .print_body {
size: A4; size: A4;
margin: 4cm; } } margin: 1.2cm; } }
@page :first { @page :first {
.print_body { .print_body {
size: A4; size: A4;

View file

View file

View file

@ -1,5 +1,10 @@
// Print elements // Custom extends and mixins
// ----------------------------------------------------------------------------- // ------------------------------------------------------------------------------
@import "mixins";
@import "extends";
// Print module styles
// ------------------------------------------------------------------------------
%paper { %paper {
background-color: $white; background-color: $white;
@ -16,8 +21,9 @@ $din: $a4, $a5, $a6;
@page { @page {
size: A4; size: A4;
margin: 4cm; margin: 1.2cm;
} }
@page:first { @page:first {
size: A4; size: A4;
margin: 0; margin: 0;