From 74355312a6df553cc1b83ad3095821cf39b28910 Mon Sep 17 00:00:00 2001 From: berick Date: Fri, 18 Feb 2011 13:12:50 -0500 Subject: [PATCH] round of CSS cleanup; removing unused rules and replacing inline style with css classes --- Open-ILS/web/css/skin/default/opac/semiauto.css | 15 ++++------ Open-ILS/web/css/skin/default/opac/style.css | 2 +- .../web/templates/default/opac/myopac/circs.tt2 | 32 ++++++++-------------- .../web/templates/default/opac/myopac/main.tt2 | 6 ++-- .../web/templates/default/opac/myopac/prefs.tt2 | 5 ++-- .../default/opac/parts/advanced/search.tt2 | 10 +++---- .../templates/default/opac/parts/place_hold.tt2 | 3 +- .../default/opac/parts/record/cn_details.tt2 | 4 +-- .../default/opac/parts/record/copyinfo.tt2 | 2 +- .../templates/default/opac/parts/record/extras.tt2 | 2 +- .../default/opac/parts/record/summary.tt2 | 7 ++--- .../templates/default/opac/parts/result/table.tt2 | 13 ++++----- 12 files changed, 41 insertions(+), 60 deletions(-) diff --git a/Open-ILS/web/css/skin/default/opac/semiauto.css b/Open-ILS/web/css/skin/default/opac/semiauto.css index 6902837cfa..550669f04c 100644 --- a/Open-ILS/web/css/skin/default/opac/semiauto.css +++ b/Open-ILS/web/css/skin/default/opac/semiauto.css @@ -1,23 +1,15 @@ /* once done renaming and everything, combine with style.css */ -.opac-auto-001 { background: #2bb0fd; } -.opac-auto-002 { background: #54987f; } -.opac-auto-003 { background: #decc92; } + +/* Verfied in-use classes --------------------------- */ .opac-auto-004 { background: #E0F0E0; } -.opac-auto-005 { background: #ffc331; } -.gray-back { background: gray; } -.pink-back { background: pink; } -.white-back { background: white; } .opac-auto-009 { border: 3px solid #E0E0E0; } .opac-auto-010 { border-bottom: 1px dotted #ccc; padding-top: 10px; } .opac-auto-011 { border-bottom: 1px dotted #ccc; padding-top: 6px; } .opac-auto-012 { border-bottom: none; } .opac-auto-013 { border-bottom: none; *height: 0px; } -.opac-auto-014 { border-collapse: collapse; } .opac-auto-015 { border-left: 1px solid #e9ebf3; padding-right: 27px; } -.opac-auto-016 { border: none; } .opac-auto-017 { border: none; width: 100%; } .opac-auto-018 { border-top: 1px dotted #ccc; padding-top: 17px; } -.opac-auto-019 { border-top: none; } .clear-both { clear: both; } .common-no-pad { clear: both; height: 0px; margin: 0px; padding: 0px; } .common-full-pad { clear: both; height: 15px; } @@ -27,6 +19,9 @@ .red { color: red; } .bold-red { color: red; font-weight: bold } .pointer { cursor: pointer; } +/* ------------------------------------------- */ + + #lib_selector_span { display: none } .float-left { float: left; } .opac-auto-039 { float: left; font-weight: bold; padding-top: 5px; } diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 3a8a94aee7..e47edcc671 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -58,7 +58,7 @@ h2 { font-weight:bold; } -.hide_me { +.hide_me, .hidden { display: none; visibility: hidden; } diff --git a/Open-ILS/web/templates/default/opac/myopac/circs.tt2 b/Open-ILS/web/templates/default/opac/myopac/circs.tt2 index 2e1d3a4442..ea7842661d 100644 --- a/Open-ILS/web/templates/default/opac/myopac/circs.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/circs.tt2 @@ -70,27 +70,25 @@ /> - + Title / - + Author - - Renews
Left + Renews
Left
- Due Date - + Due Date - barcode + barcode - call number + call number @@ -151,27 +149,21 @@ border='0' width='100%'> - Title / - Author + Title / + Author - Call Number + Call Number - Checkout + Checkout - Due Date + Due Date - Returned + Returned diff --git a/Open-ILS/web/templates/default/opac/myopac/main.tt2 b/Open-ILS/web/templates/default/opac/myopac/main.tt2 index 2d7b375092..694185a290 100644 --- a/Open-ILS/web/templates/default/opac/myopac/main.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/main.tt2 @@ -121,14 +121,14 @@ [% money(ctx.fines.total_owed) %] [% money(ctx.fines.total_paid) %] - [% money(ctx.fines.balance_owed) %] + [% money(ctx.fines.balance_owed) %] @@ -220,7 +220,7 @@

-
+

diff --git a/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 index 0545872482..9f6177a344 100644 --- a/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 @@ -249,8 +249,7 @@ width='100%'> - @@ -585,7 +584,7 @@
+ [% l("Your account expired on") %] ! [% l("Please see a librarian to renew your account.") %]

-
+

diff --git a/Open-ILS/web/templates/default/opac/parts/advanced/search.tt2 b/Open-ILS/web/templates/default/opac/parts/advanced/search.tt2 index 833d7f3359..c4fde3ada6 100644 --- a/Open-ILS/web/templates/default/opac/parts/advanced/search.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/advanced/search.tt2 @@ -1,7 +1,7 @@
-