From 61e421729159d2c37b8730f26b412a94cce0711f Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Thu, 5 Sep 2013 00:30:15 +0200 Subject: [PATCH] Move `z-index` out of `.VimFxReset` The hint markers need to set `z-index` dynamically (to rotate overlapping markers). style.css is inserted as an agent sheet and uses `!important` everywhere (this is needed to override userstyles, see commit 6145382), and can therefore not be overrided by inline styles. Therefore, I've moved `z-index` out of `.VimFxReset`, to each place that actually _needs_ it: A few positioned elements. --- extension/resources/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/resources/style.css b/extension/resources/style.css index d1aae1e..a1f8a0d 100644 --- a/extension/resources/style.css +++ b/extension/resources/style.css @@ -35,7 +35,6 @@ vertical-align: baseline !important; white-space: normal !important; width: auto !important; - z-index: 99999999 !important; float: none !important; } @@ -82,6 +81,7 @@ a.VimFxAddShortcutLink { input#VimFxFindInput { position: fixed !important; + z-index: 99999999 !important; bottom: 2px !important; right: 2px !important; font-size: 13px !important; @@ -129,6 +129,7 @@ div#VimFxHelpDialog { opacity:0.92 !important; background-color: Window !important; position:fixed !important; + z-index:99999998 !important; border-radius:3px !important; padding:15px 30px !important; width:700px !important; @@ -138,7 +139,6 @@ div#VimFxHelpDialog { top:30px !important; box-shadow: rgba(1, 2, 1, 0.4) 0px 0px 6px !important; overflow-y: auto !important; - z-index:99999998 !important; font-size: 15px !important; max-height: 80% !important; } -- 2.39.3