From acb0c7010d345a3e4918c4aa33eb1d2bf72cf8da Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Wed, 3 Feb 2016 15:23:02 +0000 Subject: Move help dialog into an iframe --- content_scripts/vimium.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'content_scripts/vimium.css') diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css index c08971f2..6e02933e 100644 --- a/content_scripts/vimium.css +++ b/content_scripts/vimium.css @@ -137,6 +137,24 @@ div.vimiumHighlightedFrame { /* Help Dialog CSS */ +iframe.vimiumHelpDialogFrame { + background-color: transparent; + padding: 0px; + overflow: hidden; + + display: block; + position: fixed; + width: 100%; + min-width: 400px; + height: 100%; + top: 0px; + left: 0px; + border: none; + + /* One less than vimiumReset */ + z-index: 2147483647; +} + div#vimiumHelpDialog { border:3px solid red; opacity:0.92; -- cgit v1.2.3 From 9a7456334fca81dff41fea6a2701365806f6c3b3 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Thu, 11 Feb 2016 04:54:55 +0000 Subject: Show vomnibar above the help dialog, remove an unnecessary CSS rule --- content_scripts/vimium.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'content_scripts/vimium.css') diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css index 6e02933e..a763b159 100644 --- a/content_scripts/vimium.css +++ b/content_scripts/vimium.css @@ -151,8 +151,8 @@ iframe.vimiumHelpDialogFrame { left: 0px; border: none; - /* One less than vimiumReset */ - z-index: 2147483647; + /* One less than hint markers and the vomnibar. */ + z-index: 2147483645; } div#vimiumHelpDialog { @@ -171,8 +171,6 @@ div#vimiumHelpDialog { top:50px; -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px; overflow-y: auto; - /* One less than vimiumReset */ - z-index: 2147483647; } div#vimiumHelpDialog a { color:blue; } @@ -349,8 +347,8 @@ iframe.vomnibarFrame { border: none; font-family: sans-serif; - /* One less than hint markers and the help dialog. */ - z-index: 2147483645; + /* One less than hint markers. */ + z-index: 2147483646; } div#vimiumFlash { -- cgit v1.2.3