diff options
| author | Stephen Blott | 2016-04-18 17:08:52 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-18 17:08:52 +0100 |
| commit | d95f811a8bc32803bfaec69e4853c5d48500905e (patch) | |
| tree | 713ca8b7f396d077c8084741d4224320802dd643 /content_scripts | |
| parent | 86470f13d853b33cda8cb006ae24aeb2dcec0c9c (diff) | |
| download | vimium-d95f811a8bc32803bfaec69e4853c5d48500905e.tar.bz2 | |
Reinstate help dialog shadow.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css index 516859e2..ce421019 100644 --- a/content_scripts/vimium.css +++ b/content_scripts/vimium.css @@ -146,8 +146,8 @@ iframe.vimiumHelpDialogFrame { display: block; position: fixed; - /* The width of div#vimiumHelpDialog, plus twice its padding and twice its border. */ - width: calc(640px + 24px + 4px); + /* The width of div#vimiumHelpDialog, plus twice its padding, twice its border and twice its shadow. */ + width: calc(640px + 24px + 4px + 12px); height: calc(100% - 100px); /* 100% minus 2 * top. */ top: 50px; left: 50%; @@ -167,10 +167,10 @@ div#vimiumHelpDialog { border:2px solid #b3b3b3; border-radius:6px; padding:8px 12px; - top:0px; - left:0px; + top:6px; /* Space for the shadow. */ + left:6px; /* Space for the shadow. */ width:640px; - max-height: calc(100% - 24px); /* 100% - twice the padding. */ + max-height: calc(100% - 24px - 12px); /* 100%, minus twice the padding, minus twice the shadow. */ -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px; overflow: auto; } |
