From 14eae7cb9fdf8bb9d13e8b14460607c76dc48904 Mon Sep 17 00:00:00 2001 From: gigaherz Date: Tue, 7 Feb 2012 09:23:23 +0100 Subject: [PATCH] Move code to the right place and give it a better style. Highlight the background on hover. --- web/viewer.css | 13 +++++++++---- web/viewer.html | 41 +---------------------------------------- web/viewer.js | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 44 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index e8071a5ce..f0f2fca69 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -82,6 +82,7 @@ span#info { width: 350px; top: 62px; bottom: 18px; + z-index: 1; } #sidebar.released { @@ -90,7 +91,6 @@ span#info { -o-transition: left 0.25s ease-in-out 1s; -moz-transition: left 0.25s ease-in-out 1s; -webkit-transition: left 0.25s ease-in-out 1s; - z-index: 1; } #sidebar.pinned, @@ -105,9 +105,14 @@ span#info { #pinIcon { position: absolute; top: 4px; - right: 56px; - width: 11px; - height: 12px; + right: 55px; + width: 15px; + height: 15px; + background: center no-repeat; +} + +#pinIcon:hover { + background-color: rgba(255,255,255,0.35); } #pinIcon.released { diff --git a/web/viewer.html b/web/viewer.html index 4fb7531f2..21b45aa9c 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -34,45 +34,6 @@ - - -