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/editor/editor_module";
@import "modules/explanation/explanation_module";
@import "modules/print/print_module";
@import "basic/print";
@import "basic/new";
// NOTE // No css rules allowed in here

View file

@ -736,7 +736,7 @@ label {
@page {
.print_body {
size: A4;
margin: 4cm; } }
margin: 1.2cm; } }
@page :first {
.print_body {
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 {
background-color: $white;
@ -16,8 +21,9 @@ $din: $a4, $a5, $a6;
@page {
size: A4;
margin: 4cm;
margin: 1.2cm;
}
@page:first {
size: A4;
margin: 0;