Fix for Bug 4097, Problems with print stylesheet and add item screen

- consolidating some details in print.css
- moving overflow:scroll from additem.tmpl to staff-global.css
- overriding overflow:scroll in print.css

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Owen Leonard 2010-02-02 15:07:12 -05:00 committed by Galen Charlton
parent f72c9a7fb1
commit 8ea1322447
3 changed files with 35 additions and 31 deletions

View file

@ -198,15 +198,6 @@ tr.highlight {
display : inline;
}
.print {
display : none;
}
input, fieldset.action, .list-actions {
display: none;
}
tr.overdue {
font-weight : bold;
}
@ -304,8 +295,12 @@ div#changelanguage,
div#menu,
div.yui-b,
.noprint,
form#sortbyform {
display:none;
form#sortbyform,
#cartDetails,
fieldset.action,
.list-actions,
.print {
display: none;
}
div#yui-main div.yui-b {
@ -317,3 +312,9 @@ div#yui-main div.yui-b {
.yui-t7 #yui-main div.yui-b {
margin-left : 0;
}
fieldset {
border : 0;
}
#cataloguing_additem_itemlist {
overflow : visible !important;
}

View file

@ -1858,3 +1858,6 @@ img.spinner {
vertical-align: middle;
padding-right: 0.3em;
}
#cataloguing_additem_itemlist div {
overflow : scroll;
}

View file

@ -194,7 +194,7 @@ function set_to_today(id, force) {
<div id="cataloguing_additem_itemlist">
<!-- TMPL_IF name="item_loop" -->
<div style="overflow:auto">
<div>
<table>
<tr>
<th colspan="2">&nbsp;</th>