From f48c000aa364302bb692852fca6dee4d8dc2286f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 4 Aug 2015 23:43:57 +0200 Subject: Improve colorbox navigation and document it - Make buttons fixed so you don't have to move the mouse - Support h/l for vimperator users - Document mappings so users actually know about them Signed-off-by: Florian Pritz --- public_html/data/css/colorbox.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public_html/data/css/colorbox.css') diff --git a/public_html/data/css/colorbox.css b/public_html/data/css/colorbox.css index 8d1b5bd76..1e1238dd5 100644 --- a/public_html/data/css/colorbox.css +++ b/public_html/data/css/colorbox.css @@ -29,7 +29,7 @@ .cboxPhoto{float:left !important; background: #fff;} #cboxLoadingGraphic{background:url(/data/img/colorbox/loading.gif) no-repeat center center;} #cboxLoadingOverlay{background:#000;} - #cboxTitle{position:absolute; top:-22px; left:0; color:#000;} + #cboxTitle{position:fixed; top:0; right:66px; color:#fff;} #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px; display: none;} /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ @@ -42,8 +42,8 @@ overflow:visible; width:20px; height:20px; - position:absolute; - top:-20px; + position:fixed; + top:0; background: transparent; color: #fff; } -- cgit v1.2.3-24-g4f1b