Searchbar spacing: move inline CSS into a style
authorDan Scott <dscott@laurentian.ca>
Mon, 16 Jul 2012 21:22:16 +0000 (17:22 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 17 Jul 2012 14:27:07 +0000 (10:27 -0400)
In keeping with our attempt to control styles via the CSS file rather
than inline overrides, define a class for the searchbar and style that.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Melissa Lefebvre <mlefebvre@biblio.org>

Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/web/css/skin/default/opac/style.css

index 1ac462f..f4ee110 100644 (file)
@@ -9,7 +9,7 @@
             id="home_adv_search_link"><span
             class="adv_search_font">[% l('Advanced Search') %]</span></a>
     </div>
-    <div style="font-weight: bold; padding-top: 10px;">[%- l('Search ');
+    <div class="searchbar">[%- l('Search ');
         INCLUDE "opac/parts/coded_value_selector.tt2"
             attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats');
             l(' for ');
index 42211a7..b9faf63 100644 (file)
@@ -33,6 +33,11 @@ a {
        width: 12em;
 }
 
+.searchbar {
+    font-weight: bold;
+    padding-top: 10px;
+}
+
 /*
 #search-wrapper select {
        border:0px solid black;