From d50d25b260b5d8714e17b859e273fe8dec6d7017 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 17 Dec 2014 21:10:32 -0300 Subject: [PATCH] Bug 13218: (RM followup) only scroll on actually variable stuff Most of the page contents have fixed size. The only exception is the targets list. If the target list grows, then the whole page needs to be scrolled in order to reach the buttons. We should make the z3950 targets area scrollable, and remove scrolbars from all over the place. Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 9 ++++++++- .../intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 11 ++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 5eb6aab2..9dff6e1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -849,11 +849,18 @@ fieldset.rows .inputnote { background-position : center left; background-repeat : no-repeat; } + #z3950searcht table { /* doesn't have desired effect in catalogue/results.tmpl - I'll leave this here for now but there do seem to be casscading CSS errors in this and other CSS fiels - RICKW 20081118 */ padding: 20px; border: none; } + +#z3950_search_targets { + height: 338px; + overflow-y: auto; +} + #printbiblio button, #printbiblio a, #printmenuc .first-child { padding-left : 34px; background-image: url("../../img/toolbar-print.gif"); @@ -2740,4 +2747,4 @@ span.onsite_checkout { background-color : rgba(255, 242, 206, 0.5); border-radius: 4px; border : 1px solid #FFF2CE; -} \ No newline at end of file +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 65713b9..ab3ef2e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -121,10 +121,10 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : - -
-

Search targets Select allClear all

- +
+
+

Search targets Select allClear all

+
[% FOREACH serverloo IN serverloop %]

[% IF ( serverloo.checked ) %] @@ -136,7 +136,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :

[% END %] -
+
+
Cancel
-- 1.9.1