Last print css to print file.
This commit is contained in:
parent
110d34531e
commit
3eaa936f29
5 changed files with 20 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ rules:
|
||||||
- '*width'
|
- '*width'
|
||||||
no-qualifying-elements: 0
|
no-qualifying-elements: 0
|
||||||
no-trailing-zero: 2
|
no-trailing-zero: 2
|
||||||
no-transition-all: 2
|
no-transition-all: 1
|
||||||
no-url-protocols: 2
|
no-url-protocols: 2
|
||||||
# no-vendor-prefixes: 2
|
# no-vendor-prefixes: 2
|
||||||
no-warn: 2
|
no-warn: 2
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,8 @@ $base-unit: 'rem';
|
||||||
// px fallbacks for rem units are needed for IE 8 and earlier.
|
// px fallbacks for rem units are needed for IE 8 and earlier.
|
||||||
$rem-fallback: false;
|
$rem-fallback: false;
|
||||||
|
|
||||||
|
// We have separate print file.
|
||||||
|
$auto-print-sizing: false;
|
||||||
|
|
||||||
// Breakpoints
|
// Breakpoints
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,18 @@
|
||||||
// @file
|
// @file
|
||||||
// The print stylesheet for this theme.
|
// The print stylesheet for this theme.
|
||||||
|
|
||||||
|
// Colors and Sass
|
||||||
|
//
|
||||||
|
// Documentation for colors and Sass mixins and variables.
|
||||||
|
//
|
||||||
|
// Weight: -1
|
||||||
|
|
||||||
|
@import 'init';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
|
//
|
||||||
|
// Weight: 1
|
||||||
|
|
||||||
@import 'components/print-none/print-none';
|
@import 'components/print-none/print-none';
|
||||||
|
|
||||||
.skip-link,
|
.skip-link,
|
||||||
|
|
@ -17,6 +28,10 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
html {
|
||||||
|
font-size: $print-font-size;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
.page {
|
.page {
|
||||||
background-color: color(white);
|
background-color: color(white);
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
@media print{.breadcrumb,.pager,.print-none,.skip-link,aside,footer,nav{display:none}}@media print{.page,body{background-color:color(white)}[role=main]{width:100%}:link,:visited{text-decoration:underline}}
|
/*! typey | GPLv2 License | https://github.com/jptaranto/typey */@media print{.breadcrumb,.pager,.print-none,.skip-link,aside,footer,nav{display:none}}@media print{html{font-size:12pt}.page,body{background-color:#fff}[role=main]{width:100%}:link,:visited{text-decoration:underline}}
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue