From f3be2d24aa702e02fc171690451febf1e97eeaa7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 7 Mar 2008 08:42:23 +1300 Subject: [PATCH] Enabling and improving OPAC print stylesheet. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/print.css | 64 ++++--------------- .../prog/en/includes/doc-head-close.inc | 5 +- .../prog/en/modules/opac-shelves.tmpl | 21 +++--- .../opac-tmpl/prog/en/modules/opac-user.tmpl | 2 +- .../prog/en/modules/opac-userupdate.tmpl | 4 +- 5 files changed, 29 insertions(+), 67 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/print.css b/koha-tmpl/opac-tmpl/prog/en/css/print.css index cae7ac833f..87c83b758a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/print.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/print.css @@ -137,46 +137,10 @@ th:last-child { padding : 5px 5px 5px 5px; } -td.input, div.form td, div.details td { - border-bottom : 1px solid #CCCCCC; - border-left : 0px; - border-right : 0px; - color : #000000; - line-height : 1.5em; - padding : 4px; - text-align : left; -} - -td.label, div.form th, div.details th { - background-color : #FFF; - border-bottom : 1px solid #CCCCCC; - border-left : 1px solid #CCCCCC; - border-right : 0px; - border-top : 0px; - color : #000088; - font-weight : bold; - line-height : 1.5em; - padding : 4px; - text-align : right; - vertical-align : top; -} - tr.highlight { background-color: #CCCCCC; } -.class { - font-weight : bold; -} - -.cancel { - background-color : #993300; - color : #FFFFCC; - font-size : 12px; - font-weight : bold; - padding : 2px; -} - .error { font-weight: bold; } @@ -192,20 +156,20 @@ tr.highlight { display : none; } -.submit { - background-color : #669999; - color : #FFFFCC; - font-size : 12px; - font-weight : bold; - padding : 2px; +#bookcover { + float:left; + margin:0pt; + padding:0pt; } -#main { - background-color : #FFF; - border-left : 0px solid #CCCC99; - margin-left : 2%; - margin-right : 2%; - margin-top : 1%; - padding : 5px; - position : relative; +#members,#opac-main-search,#opac-user-views .ui-tabs-nav,input,div.yui-b,h2 span.hint,td.resultscontrol,.pages,.suggestion,.views,#action,#export,#bibliodescriptions .ui-tabs-nav,#addshelf,fieldset.action { + display : none; +} +div#yui-main div.yui-b { + display : block; +} + +div#userupdate input,div#userupdate textarea { + display : inline; + border : 0; } \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc index f45c2d94ad..6c2f9a616e 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -16,6 +16,7 @@ " /> /css/" /> /css/" />/css/opac.css" /> +/css/print.css" /> /lib/jquery/plugins/ui.tabs.css" /> @@ -32,8 +33,8 @@ var MSG_NRECORDS_IN_BASKET = _("already in your cart"); var MSG_NO_RECORD_SELECTED = _("No item was selected"); var MSG_NO_RECORD_ADDED = _("No item was added to your cart"); - var MSG_CONFIRM_DEL_BASKET = "Are you sure you want to empty your cart?" - var MSG_CONFIRM_DEL_RECORDS = "Are you sure you want to remove the selected items?"; + var MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your cart?"); + var MSG_CONFIRM_DEL_RECORDS = _("Are you sure you want to remove the selected items?"); $(window).load(function() { verify_images(); }); diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index 2b8f04f5a7..4f961368eb 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -218,24 +218,21 @@ -

-
+
+
+ Create a New List -
- - - -
Create a New List
+
  1. " size="60" /> - " /> -
-
-

- + " /> + +
+
+
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl index afa1a0d6b0..4bf9c5e8c9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl @@ -127,7 +127,7 @@
- + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl index a59c8c11f9..5983543a32 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl @@ -6,7 +6,7 @@
-
+
@@ -70,8 +70,8 @@
  • " />
  • -

    Please make any necessary changes to your record. Submitting the form will notify a library staff member, who will make the changes permanent.

    +

    Please make any necessary changes to your record. Submitting the form will notify a library staff member, who will make the changes permanent.

    Cancel
    -- 2.39.5
    Items Items Checked Out
      Title