From d4a5bf74903064ec62023af0034c872485f385aa Mon Sep 17 00:00:00 2001 From: Jolyon Bloomfield Date: Fri, 3 Apr 2015 15:06:41 -0400 Subject: [PATCH] Fixing links in print media (combined commit for rebase). --- AUTHORS | 1 + lms/static/sass/base/_reset.scss | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 99e0deb8a6..5894a7e23d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -208,3 +208,4 @@ Sri Harsha Pamu Cris Ewing Carlos de La Guardia Amir Qayyum Khan +Jolyon Bloomfield diff --git a/lms/static/sass/base/_reset.scss b/lms/static/sass/base/_reset.scss index eac3ed9512..7f08d4f290 100644 --- a/lms/static/sass/base/_reset.scss +++ b/lms/static/sass/base/_reset.scss @@ -86,9 +86,8 @@ td { vertical-align: top; } @media print { * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { text-decoration: underline; } - a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } + .ir a:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; }