Koha/koha-tmpl/opac-tmpl/bootstrap/css/print.css
Frédéric Demians fe8242fc03 Bug 12073: don't show link URLs when printing Bootstrap OPAC detail page
On OPAC Bootstrap detail page, by clicking Print link on the right the
page is printed. But the printed page contains HTML <a> anchors URL
attribute. It's useless, and unreadable. It isn't the case with prog
theme.

This patch hides all <a> href attributes when printing any OPAC page.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and improves the printed detail page's readability.
Currently there is no less file for the print.css.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-12 18:04:55 +00:00

229 lines
3.5 KiB
CSS

a:link {
color : #000066;
text-decoration: none;
}
a:visited {
color : #000066;
text-decoration: none;
}
a:hover {
color : #993300;
text-decoration: none;
}
a[href]:after { display:none; }
body {
background-color : #FFF;
color : #333333;
font-family : arial, geneva, sans-serif;
font-size : 14px;
margin : 0px 0px 0px 0px;
word-wrap : break-word;
}
caption {
color : #000066;
font-size : 18px;
font-weight : bold;
margin-top : 5px;
text-align : left;
}
div.table {
width : 100%;
}
form {
margin : 0px;
padding : 0px;
}
h1
{
color : #000066;
font-size : 22px;
font-weight : bold;
margin-bottom : 3px;
margin-top : 3px;
}
h2 {
color : #000066;
font-size : 20px;
font-weight : bold;
margin-bottom : 3px;
margin-top : 3px;
}
h3 {
color : #000066;
font-size : 18px;
font-weight : bold;
margin-bottom : 3px;
margin-top : 3px;
}
h4 {
color : #000066;
font-size : 16px;
font-weight : bold;
margin-bottom : 3px;
margin-top : 3px;
}
h5 {
color : #000066;
font-size : 15px;
font-weight : bold;
margin-bottom : 1px;
margin-top : 1px;
}
h6 {
color : #000066;
font-size : 14px;
font-weight : bold;
margin-bottom : 1px;
margin-top : 1px;
}
p {
margin-top : 0px;
}
table {
background-color : #FFFFFF;
border-bottom : 0px solid #CCCCCC;
border-collapse : collapse;
border-left : 0px solid #CCCCCC;
margin : 3px 0px 5px 0px;
padding : 0px;
width : 99%;
}
td {
background-color : #FFF;
border-bottom : 1px solid #CCCCCC;
border-right : 1px solid #CCCCCC;
padding : 5px 5px 5px 5px;
vertical-align : top;
}
td:last-child {
background-color : #FFF;
border-bottom : 1px solid #CCCCCC;
border-right : 0px solid #CCCCCC;
padding : 5px 5px 5px 5px;
vertical-align : top;
}
th {
background-color : #E9E9E9;
border-bottom : 1px solid #CCCCCC;
border-right : 1px solid #CCCCCC;
font-weight : bold;
padding : 5px 5px 5px 5px;
}
th:last-child {
background-color : #E9E9E9;
border-bottom : 1px solid #CCCCCC;
border-right : 0px solid #CCCCCC;
font-weight : bold;
padding : 5px 5px 5px 5px;
}
tr.highlight {
background-color: #e9e9e9;
}
body#basket tr.highlight {
background-color : transparent;
}
body#basket a {
font-weight : bold;
}
body#basket table {
border-top : 1px solid #EEE;
border-left : 1px solid #EEE;
}
body#basket td,
body#basket th {
background-color : transparent;
padding : 2px;
}
body#basket th {
background-color : #EEE;
}
body#basket th,
body#basket th[scope=col] {
text-align : center;
vertical-align : middle;
}
body#basket th[scope=row] {
font-size : 89%;
text-align : right;
vertical-align : top;
width : 10%;
}
body#basket p {
font-size : 85%;
margin : .2em 0;
text-indent : .5em;
}
.error {
font-weight: bold;
}
.ex {
font-family : "Courier New", Courier, monospace;
}
.inline {
display : inline;
}
.screen {
display : none;
}
#bookcover {
float:left;
margin:0pt;
padding:0pt;
}
#members,#opac-main-search,#opac-user-views .ui-tabs-nav,input,h2 span.hint,td.resultscontrol,.pages,.suggestion,.views,#action,#export,#bibliodescriptions .ui-tabs-nav,#addshelf,fieldset.action, .list-actions, .ft, #facetcontainer,.results_summary.actions,.koha_url,.yui-b {
display : none;
}
#userresults {
position : absolute;
right : 0px;
word-wrap : break-word;
display : block;
}
div#userupdate input,div#userupdate textarea {
display : inline;
border : 0;
}
#yui-main,
#yui-main .yui-b,
.yui-t1 #yui-main .yui-b {
display : block !important;
margin : 0 !important;
padding : 0 !important;
width : auto !important;
float : none !important;
}