From 42d5b8d8f99734ea2e6de7b20bae99590476f69f Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sun, 5 May 2013 19:15:15 +0100 Subject: [PATCH] reduce the sidebar height when no portal is selected - more useful now that the portal details now have a 'X' close button could perhaps reduce the hight further, but then the expand/colapse arrow gets a bit cramped towards the top (could look into centering this vertically though..?) also, moved the default right position of the sidebartoggle to offscreen. it's set in code anyway, and will look nicer on mobile app initialisation --- style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 5ebfdb69..39264f66 100644 --- a/style.css +++ b/style.css @@ -45,7 +45,7 @@ body { margin-top: -31px; /* -(toggle height / 2) */ line-height: 10px; position: absolute; - top: 325px; /* (sidebar height / 2) */ + top: 108px; z-index: 3001; background-color: rgba(8, 48, 78, 0.9); color: #FFCE00; @@ -53,7 +53,7 @@ body { border-right: none; border-radius: 5px 0 0 5px; text-decoration: none; - right: 301px; /* overwritten later by the script with SIDEBAR_WIDTH */ + right: -50px; /* overwritten later by the script with SIDEBAR_WIDTH */ } .enl { @@ -652,7 +652,7 @@ h3 { * content when first selecting a portal) */ #portaldetails { - min-height: 485px; + min-height: 63px; position: relative; /* so the below '#portaldetails .close' is relative to this */ }