TPAC: Define result header padding by contents
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 05:07:00 +0000 (01:07 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:45:13 +0000 (18:45 -0400)
Rather than defining padding for the result header bar and then defining
margins for the contained labels and buttons, rely strictly on the
buttons and labels to position themselves.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2

index 763642c..49d83c6 100644 (file)
@@ -656,11 +656,6 @@ div.format_icon {
     border-top:1px solid [% css_colors.accent_mediumdark %];
 }
 
-#results_header_inner {
-    padding-top: 0.5em;
-    padding-bottom: 0.5em;
-}
-
 .cached_list_div { height: 25px; }
 
 .results_header_div {
@@ -676,8 +671,7 @@ div.format_icon {
     float: left;
     color: [% css_colors.text %];
     background: [% css_colors.accent_medium %];
-    margin-right: 0.5em;
-    margin-top: 0.5em;
+    margin: 0.5em 0.5em 0.5em 0em;
 }
 
 .results_header_sel {
@@ -1207,8 +1201,7 @@ a.dash-link:hover { text-decoration: underline !important; }
 
 .results_header_btns, .results_header_sel {
     float:left;
-    margin-right: 0.5em;
-    margin-top: 0.5em;
+    margin: 0.5em 0.5em 0.5em 0em;
 }
 
 .opac-button:disabled {