Remove locale picker from home, new inputs css
authorJeff Godin <jgodin@tadl.org>
Mon, 23 Apr 2012 10:31:55 +0000 (06:31 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 23 Apr 2012 10:31:55 +0000 (06:31 -0400)
Remove locale picker from home search page.

Freshen CSS for input elements, based on wjr's work on dev website.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/images/tadl/button-bg-hover.gif [new file with mode: 0644]
Open-ILS/web/opac/images/tadl/button-bg.gif [new file with mode: 0644]
Open-ILS/web/opac/skin/tadlv4/css/tadl_layout.css
Open-ILS/web/opac/skin/tadlv4/xml/home/homesearch.xml

diff --git a/Open-ILS/web/opac/images/tadl/button-bg-hover.gif b/Open-ILS/web/opac/images/tadl/button-bg-hover.gif
new file mode 100644 (file)
index 0000000..c157148
Binary files /dev/null and b/Open-ILS/web/opac/images/tadl/button-bg-hover.gif differ
diff --git a/Open-ILS/web/opac/images/tadl/button-bg.gif b/Open-ILS/web/opac/images/tadl/button-bg.gif
new file mode 100644 (file)
index 0000000..9b989d2
Binary files /dev/null and b/Open-ILS/web/opac/images/tadl/button-bg.gif differ
index 4339087..d2d5dcb 100644 (file)
@@ -23,6 +23,32 @@ a[name="item_title"] { font-size: 1.5em; }
 #frontsearch_table tbody tr { background-color: white; border: none; }
 #frontsearch_table tbody tr td { background-color: white; border: none; }
 
+#frontsearch_table #search_box { height: 25px; width: 460px; font-size: 1em; }
+
+#frontsearch_table #search_submit {
+    background: url("/opac/images/tadl/button-bg.gif") repeat-x scroll left bottom #F6F6F6;
+    border: 1px solid #ABABAB;
+    border-radius: 4px 4px 4px 4px;
+    color: #6C6C6C;
+    font-weight: normal;
+    margin: 2px;
+    padding: 4px 8px;
+    text-shadow: 1px 1px #FFFFFF;
+}
+
+#frontsearch_table #search_submit:hover {
+    background-color: #FAFAFA;
+    background: url("/opac/images/tadl/button-bg-hover.gif") repeat-x scroll left bottom #F6F6F6;
+}
+
+#frontsearch_table select {
+    background: url("/opac/images/tadl/button-bg.gif") repeat-x scroll left bottom #F6F6F6;
+    border: 1px solid #ABABAB;
+    border-radius: 4px 4px 4px 4px;
+    color: #6C6C6C;
+    font-size: 1em;
+}
+
 /* Inspired by GRPL class "hold_button" */
 .css_button {
     background-color: lightgray;
index 13b0c59..ce01125 100644 (file)
                                </td>
                        </tr>
 
-            <!-- locale picker -->
-            <tr><td align='center' valign='bottom' style='padding-top:10px;'>
-                       <span style='vertical-align: top;'>&common.language;</span>
-                       <span dojoType="dijit.form.FilteringSelect" store="openils.I18N.localeStore" 
-                    searchAttr="label" required="false" jsId='opacLocaleSelector'>
-                    <script type="text/javascript">
-                        dojo.addOnLoad(function() {
-                            opacLocaleSelector.setValue(locale);
-                            dojo.connect(opacLocaleSelector, 'onChange', 
-                                function () {
-                                                       location.href = location.href.replace(/opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
-                                }
-                            );
-                        });
-                    </script>
-                       </span>
-            </td></tr>
-
                </tbody>
        </table>