From 70a4ca804f1e10ee9bc22ebd835607ed6bc2eec0 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 13 May 2013 05:03:55 +0100 Subject: [PATCH] some z-index fixes - makes tooltips (e.g. guess player level) actually appear on top of the chat panel rather than underneath --- style.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 25752ca6..3d065b86 100644 --- a/style.css +++ b/style.css @@ -88,6 +88,14 @@ a:hover { z-index: 1000; } +/* leaflet layer chooser, when opened, is above other panels */ +/* doesn't actually work :( - left commented out for reference +.leaflet-control-layers-expanded { + z-index: 9999 !important; +} +*/ + + .leaflet-control-layers-overlays label.disabled { text-decoration: line-through; cursor: help; @@ -121,7 +129,7 @@ a:hover { background: rgba(8, 48, 78, 0.9); position: absolute; left: 0; - z-index: 99999; + z-index: 3000; height: 26px; padding-left:1px; } @@ -178,7 +186,7 @@ a:hover { width: 708px; bottom: 23px; left: 0; - z-index: 99999; + z-index: 3000; background: rgba(8, 48, 78, 0.9); font-size: 12.6px; color: #eee; @@ -678,7 +686,7 @@ h3 { padding: 4px; position: fixed; right: 0; - z-index:3002; + z-index: 3002; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -897,7 +905,7 @@ td + td { position: absolute; top:5px; left:10px; - z-index: 9999; + z-index: 2500; font-size:11px; font-family: "coda",arial,helvetica,sans-serif; background-color:#0E3C46;