Search box tweaks masslnc/boolean-search-branch-revisited
authorKathy Lussier <klussier@masslnc.org>
Fri, 2 Dec 2016 14:48:17 +0000 (09:48 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 2 Dec 2016 14:50:42 +0000 (09:50 -0500)
A tweak to make the search box more mobile friendly.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/advanced/boolean.tt2

index 59a92b5..2db3d2a 100644 (file)
@@ -333,6 +333,10 @@ for now until a better color is picked - if needed.
 
 }
 
+.boolean input[type=text] { 
+    width: 50%;
+ }
+
 .checkbox_col {
     width: 1%;
     padding-left: 10px !important;
@@ -1955,6 +1959,9 @@ a.preflib_change {
         position: relative;                                                                                                                           
         width: 300px;
     }
+   .boolean input[type=text] { 
+    width: 75%;
+    }
     #format_actions {
         float: left;
     }
index c96f5c1..8ff5c79 100644 (file)
                             </td>
                         </tr>
                     </thead>
-                    <tbody id='adv_global_tbody'>
+                    <tbody id='adv_global_tbody' class='boolean'>
                         <tr>
                             <td>
                                 <input class="hidden" name="boolean" class="hidden" value="true" />
-                                <input type="text" name="boolean_query" size="50" value="[% query | html %]" autofocus />
+                                <input type="text" title="Boolean search phrase" name="boolean_query" value="[% query | html %]" autofocus />
                             </td>
                         </tr>
                     </tbody>