diff options
-rw-r--r-- | tt-rss.css | 5 | ||||
-rw-r--r-- | tt-rss.js | 4 | ||||
-rw-r--r-- | tt-rss.php | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/tt-rss.css b/tt-rss.css index a5ab15135..73db3b4a0 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1796,14 +1796,11 @@ div#hotkey_help_overlay { right : 15%; top : 15%; z-index : 999; -/* background-color : #f8fcf5; - border-width : 1px 1px 1px 1px; - border-style : solid; - border-color : #99d67a; */ padding : 1em; background : url("images/shadow_dark.png"); color : white; border : 1px solid black; + font-size : 12pt; } div#hotkey_help_overlay h1 { @@ -529,6 +529,10 @@ function quickMenuGo(opid) { rescoreCurrentFeed(); } + if (opid == "qmcHKhelp") { + Element.show("hotkey_help_overlay"); + } + } catch (e) { exception_error("quickMenuGo", e); } diff --git a/tt-rss.php b/tt-rss.php index b5fac9f54..1f0e6d4ab 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -82,7 +82,7 @@ </div> </div> -<div id="hotkey_help_overlay" style="display : none"> +<div id="hotkey_help_overlay" style="display : none" onclick="Element.hide(this)"> <?php include "help/3.php" ?> </div> @@ -158,6 +158,7 @@ window.onload = init; <option disabled>--------</option> <option style="color : #5050aa" disabled><?php echo __('Other actions:') ?></option> <option value="qmcAddFilter"><?php echo __(' Create filter') ?></option> + <option value="qmcHKhelp"><?php echo __(' Keyboard shortcuts') ?></option> </select> </div> |