From 12d6f6a4107c55a862c60075b92c2e9c20822692 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Thu, 6 Aug 2015 15:49:25 +0200 Subject: [PATCH] corrections styles print MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modifications rendues plus faciles pour l’utilisateur --- less/_08-print.less | 16 +++++++--------- sass/_08-print.scss | 16 +++++++--------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/less/_08-print.less b/less/_08-print.less index 850a68c..3016686 100644 --- a/less/_08-print.less +++ b/less/_08-print.less @@ -8,12 +8,10 @@ } body { - width: auto !important; - margin: auto !important; + width: auto; + margin: auto; font-family: serif; font-size: 12pt; - background-color: #fff !important; - color: #333 !important; } p, @@ -33,8 +31,8 @@ blockquote, ul, ol { - color: #000 !important; - margin: auto !important; + color: #000; + margin: auto; } .@{kna-namespace}print { @@ -79,14 +77,14 @@ } a { - color: #000 !important; - text-decoration: underline !important; + color: #000; } - /* displaying URLs */ + /* displaying URLs a[href]::after { content: " (" attr(href) ")"; } + */ a[href^="javascript:"]::after, a[href^="#"]::after { diff --git a/sass/_08-print.scss b/sass/_08-print.scss index 8094b1f..21bec89 100644 --- a/sass/_08-print.scss +++ b/sass/_08-print.scss @@ -7,12 +7,10 @@ } body { - width: auto !important; - margin: auto !important; + width: auto; + margin: auto; font-family: serif; font-size: 12pt; - background-color: #fff !important; - color: #333 !important; } p, @@ -32,8 +30,8 @@ blockquote, ul, ol { - color: #000 !important; - margin: auto !important; + color: #000; + margin: auto; } .#{$kna-namespace}print { @@ -78,14 +76,14 @@ } a { - color: #000 !important; - text-decoration: underline !important; + color: #000; } - /* displaying URLs */ + /* displaying URLs a[href]::after { content: " (" attr(href) ")"; } + */ a[href^="javascript:"]::after, a[href^="#"]::after {