CSSize the My OPAC login / logout buttons
authorDan Scott <dscott@laurentian.ca>
Mon, 12 Sep 2011 19:17:33 +0000 (15:17 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Sep 2011 19:17:33 +0000 (15:17 -0400)
Use the same relative positioning as the surrounding blocks and things
look relatively (hah) clean.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/topnav.tt2
Open-ILS/web/css/skin/default/opac/style.css

index 2a27e1a..92ee814 100644 (file)
                         </td>
                         <td id="dash_corner_mid1c">
 
-                            <a href="[% ctx.opac_root %]/myopac/main" class="pos-rel-top4"><img
-                                alt="[% l('My Account') %]"
-                                src="[% ctx.media_prefix %]/images/acct-btn.png"
-                                onmouseover="this.src='[% ctx.media_prefix %]/images/acct-btn-hover.png';"
-                                onmouseout="this.src='[% ctx.media_prefix %]/images/acct-btn.png';" /></a>
+                            <a href="[% ctx.opac_root %]/myopac/main" 
+                                class="opac-button">[% l('My Account') %]</a>
 
-                            <a href="[% ctx.opac_root %]/logout" class="pos-rel-top4"
-                                id="logout_link"><img
-                                alt="[% l('Logout') %]"
-                                src="[% ctx.media_prefix %]/images/logout-btn.png"
-                                onmouseover="this.src='[% ctx.media_prefix %]/images/logout-btn-hover.png';"
-                                onmouseout="this.src='[% ctx.media_prefix %]/images/logout-btn.png';" /></a>
+                            <a href="[% ctx.opac_root %]/logout" class="opac-button"
+                                id="logout_link">[% l('Logout') %]</a>
                         </td>
                         <td>
                             <img src="[% ctx.media_prefix %]/images/dash-corner-right1.png" />
index cbf2543..12850b0 100644 (file)
@@ -1039,4 +1039,7 @@ a.opac-button {
     padding: 5px 10px 5px 10px;
 }
 
-
+#dash_wrapper .opac-button {
+    position: relative;
+    top: 10px;
+}