summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt-rss.css5
-rw-r--r--tt-rss.js4
-rw-r--r--tt-rss.php3
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 {
diff --git a/tt-rss.js b/tt-rss.js
index 0e4c153c0..a8a54fb4c 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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 __('&nbsp;&nbsp;Create filter') ?></option>
+ <option value="qmcHKhelp"><?php echo __('&nbsp;&nbsp;Keyboard shortcuts') ?></option>
</select>
</div>