TPAC: Remove needless divs from results header bar
authorDan Wells <dbw2@calvin.edu>
Fri, 4 Oct 2013 15:34:04 +0000 (11:34 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 11 Oct 2013 18:52:48 +0000 (14:52 -0400)
In the current state of the TPAC, these "div"ider elements were
completely invisible, yet nobody seemed to miss them.  It wasn't
altogether clear what the divisions meant anyway, so rather than fix
them, let's just trim them out for now.

Also, get rid of a useless clearing div while we are at it.  I could
not detect a valuable display difference in current Chrome, Firefox,
or IE9.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/results.tt2

index 60ae498..03c59bf 100644 (file)
@@ -668,14 +668,6 @@ div.format_icon {
 
 .cached_list_div { height: 25px; }
 
 
 .cached_list_div { height: 25px; }
 
-.results_header_div {
-    float: left;
-    width: 0px;
-    border-left: 1px solid [% css_colors.accent_mediumdark %];
-    border-right: 1px solid [% css_colors.accent_medium %];
-    margin: 0px 13px;
-}
-
 .results_header_lbl {
     font-weight: bold;
     float: left;
 .results_header_lbl {
     font-weight: bold;
     float: left;
@@ -1808,7 +1800,7 @@ a.preflib_change {
     #myopac_sum_fines {
         display: none;
     }
     #myopac_sum_fines {
         display: none;
     }
-    .results_header_div, .results_header_lbl {
+    .results_header_lbl {
         display: none;
     }
     .results_header_nav1 span.h1 {
         display: none;
     }
     .results_header_nav1 span.h1 {
index 520d429..5d54deb 100644 (file)
                     [%- END %]
                 </div>
                 [% END %]
                     [%- END %]
                 </div>
                 [% END %]
-                <div class="results_header_div"></div>
                     <label class="results_header_lbl">[% l('Sort by') %]
                     [% INCLUDE "opac/parts/filtersort.tt2" value=CGI.param('sort') submit_on_change=1 %]
                     </label>
                     <label class="results_header_lbl">[% l('Sort by') %]
                     [% INCLUDE "opac/parts/filtersort.tt2" value=CGI.param('sort') submit_on_change=1 %]
                     </label>
-                    <div class="results_header_div"></div>
 
                     <div class='results_header_sel' id='simple-detail-view-links'>
                         [% IF CGI.param('detail_record_view') %]
 
                     <div class='results_header_sel' id='simple-detail-view-links'>
                         [% IF CGI.param('detail_record_view') %]
@@ -50,7 +48,6 @@
                         <a href="[% mkurl('', {detail_record_view => 1}) %]">[% l('Show More Details') %]</a>
                         [% END %]
                     </div>
                         <a href="[% mkurl('', {detail_record_view => 1}) %]">[% l('Show More Details') %]</a>
                         [% END %]
                     </div>
-                    <div class="results_header_div"></div>
 
                     <label class="results_header_lbl">
                         <input type="checkbox" id="limit_to_available" name="modifier" value="available"
 
                     <label class="results_header_lbl">
                         <input type="checkbox" id="limit_to_available" name="modifier" value="available"
@@ -61,7 +58,6 @@
                     [% IF CGI.param('detail_record_view') %]
                         <input type="hidden" name="detail_record_view" value="1" />
                     [% END %]
                     [% IF CGI.param('detail_record_view') %]
                         <input type="hidden" name="detail_record_view" value="1" />
                     [% END %]
-                <div class="clear-both"></div>
             </div>
         </div>
     </div>
             </div>
         </div>
     </div>