Change "Place Hold" links to css buttons
authorJeff Godin <jgodin@tadl.org>
Tue, 3 Apr 2012 13:29:00 +0000 (09:29 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 3 Apr 2012 13:29:00 +0000 (09:29 -0400)
Make "Place Hold" more visible by using CSS to turn
the link into something that resembles a button.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/skin/tadlv2/css/tadl_layout.css
Open-ILS/web/opac/skin/tadlv2/xml/page_rdetail.xml
Open-ILS/web/opac/skin/tadlv2/xml/result/result_table.xml

index b9d8b20..065a07b 100644 (file)
@@ -21,3 +21,12 @@ a[name="item_title"] { font-size: 1.5em; }
 /* Make a less colorful front / home page */
 #frontsearch_table tbody tr { background-color: white; border: none; }
 #frontsearch_table tbody tr td { background-color: white; border: none; }
+
+/* Inspired by GRPL class "hold_button" */
+.css_button {
+    background-color: lightgray;
+    border: 2px outset;
+    height: 15px;
+    padding: 2px;
+    text-decoration: none;
+}
index f676a72..a986158 100644 (file)
@@ -54,7 +54,7 @@
                                                <a id='rdetail_exp_refworks'>&opac.holds.exportRefWorks;</a>
                                        </span>
                                        <span style='padding-right: 7px;'>
-                                               <a id='rdetail_place_hold' class='classic_link' href='javascript:;'>&opac.holds.placeHold;</a>
+                                               <a id='rdetail_place_hold' class='css_button' href='javascript:;'>&opac.holds.placeHold;</a>
                                        </span>
                                        <span style='padding-right: 7px;' class='hide_me' id='rdetail_more_actions'>
                                                <select id='rdetail_more_actions_selector' style='max-width: 11em;'>
index 27dd3f7..91596a3 100644 (file)
 
                                     <span class='hide_me' name='place_hold_span'>
                                         <a style='padding-left: 8px;' href='javascript:void(0);' 
-                                            class='classic_link' name='place_hold_link'>&opac.holds.placeHold;</a>
+                                            class='css_button' name='place_hold_link'>&opac.holds.placeHold;</a>
                                     </span>
 
                                     <!-- Empty span used for creating unAPI links -->