Bug 11574 - Clean up Printing Lists
Removes extraneous stuff from prints - toolbars, breadcrumbs, etc.
To test:
1. make a list
2. print it to a file (from OPAC), observe wasted paper
3. apply patch
4. print list, compare
5. if you like it, sign off. ;)
Patch cleans up OPAC list printing as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
NOTE: Made functional again. Turns out my issues were a result of
cached CSS pages. Tested in IE and Firefox successfully.
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 9d50a1189d)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
89a530214d
commit
4dc641f130
|
|
@ -1,233 +1 @@
|
|||
.noprint {
|
||||
display : none;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
.noprint{display:none}a:link{color:#006;text-decoration:none}a:visited{color:#006;text-decoration:none}a:hover{color:#930;text-decoration:none}a[href]:after{display:none}body{background-color:#fff;color:#333;font-family:arial,geneva,sans-serif;font-size:14px;margin:0 0 0 0;word-wrap:break-word}caption{color:#006;font-size:18px;font-weight:bold;margin-top:5px;text-align:left}div.table{width:100%}form{margin:0;padding:0}h1{color:#006;font-size:22px;font-weight:bold;margin-bottom:3px;margin-top:3px}h2{color:#006;font-size:20px;font-weight:bold;margin-bottom:3px;margin-top:3px}h3{color:#006;font-size:18px;font-weight:bold;margin-bottom:3px;margin-top:3px}h4{color:#006;font-size:16px;font-weight:bold;margin-bottom:3px;margin-top:3px}h5{color:#006;font-size:15px;font-weight:bold;margin-bottom:1px;margin-top:1px}h6{color:#006;font-size:14px;font-weight:bold;margin-bottom:1px;margin-top:1px}p{margin-top:0}table{background-color:#fff;border-bottom:0 solid #ccc;border-collapse:collapse;border-left:0 solid #ccc;margin:3px 0 5px 0;padding:0;width:99%}td{background-color:#fff;border-bottom:1px solid #ccc;border-right:1px solid #ccc;padding:5px 5px 5px 5px;vertical-align:top}td:last-child{background-color:#fff;border-bottom:1px solid #ccc;border-right:0 solid #ccc;padding:5px 5px 5px 5px;vertical-align:top}th{background-color:#e9e9e9;border-bottom:1px solid #ccc;border-right:1px solid #ccc;font-weight:bold;padding:5px 5px 5px 5px}th:last-child{background-color:#e9e9e9;border-bottom:1px solid #ccc;border-right:0 solid #ccc;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:0;padding:0}#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:0;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}.navbar,#navigation,.pages,.actions,#toolbar,#selections-toolbar,#remove-selected,.breadcrumb,#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}.row-fluid{margin-top:30px}
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
.noprint {
|
||||
display : none;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.navbar, #navigation, .pages, .actions, #toolbar, #selections-toolbar, #remove-selected, .breadcrumb, #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;
|
||||
}
|
||||
.row-fluid {
|
||||
margin-top: 30px;
|
||||
}
|
||||
Loading…
Reference in New Issue