[Rt-commit] rt branch, 4.0/page-menu-pixel-positioning, created. rt-4.0.11-37-g5cee2fe

Thomas Sibley trs at bestpractical.com
Thu Apr 11 20:17:34 EDT 2013


The branch, 4.0/page-menu-pixel-positioning has been created
        at  5cee2fe87cd00c09fd92bc8f803334933b161225 (commit)

- Log -----------------------------------------------------------------
commit 5cee2fe87cd00c09fd92bc8f803334933b161225
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Apr 11 17:12:33 2013 -0700

    Position the page menu in aileron to avoid overlapping the inner shadow
    
    The extra 0.05em accounts for the border pixels in the elements visually
    above the page menu.
    
    Unfortunately, the #page-navigation div is outside of the #body, which
    means we can't take the easy route and position relatively up into the
    corner.  We're left with approximating the distance from the top of the
    viewport to the top of #body in CSS.  This distance is a combination of
    element heights, paddings, and margins specified in ems (or 0.9ems for
    every 1em when font-size: 0.9em) plus borders specified in pixels.
    
    Resolves [rt3 #16806].

diff --git a/share/html/NoAuth/css/aileron/nav.css b/share/html/NoAuth/css/aileron/nav.css
index 5144e5c..9f6eb5e 100644
--- a/share/html/NoAuth/css/aileron/nav.css
+++ b/share/html/NoAuth/css/aileron/nav.css
@@ -111,7 +111,7 @@
 
 #page-navigation {
     position: absolute;
-    top: 6em;
+    top: 6.05em;
     right: 0em;
     left: auto;
     z-index: 9995;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list