]> git.wh0rd.org - tt-rss.git/commitdiff
layout tweaks, enable hotkeys
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 28 Sep 2006 12:53:11 +0000 (13:53 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 28 Sep 2006 12:53:11 +0000 (13:53 +0100)
functions.js
tt-rss.css
tt-rss.php

index d5294e0b87cb0aea89be4f995a6e72c92d5115dc..1949086f6c5c28f2b711cb16cda9a557d14c64f3 100644 (file)
@@ -162,8 +162,6 @@ function hotkey_handler(e) {
                var keycode;
        
                if (!hotkeys_enabled) return;
-
-               return; //fixme disables for now
        
                if (window.event) {
                        keycode = window.event.keyCode;
@@ -193,7 +191,7 @@ function hotkey_handler(e) {
                        return m_ctx.toggleDispRead();
                }
        
-               var f_doc = m_ctx.frames["feeds-frame"].document;
+               var f_doc = document;
                var feedlist = f_doc.getElementById('feedList');
        
                if (keycode == 74) { // j
index 6d225723515bb9c272bb6c05b4e8fe681bd1e3c6..0a2ba0a5d7a52876bf398d853358a3f1ebd37f4a 100644 (file)
@@ -1231,6 +1231,11 @@ div.loadingPrompt {
        font-weight : bold;
 }
 
+div.whiteBox {
+       background-color : white;
+       margin-left : 1px;
+}
+
 /* layout */
 
 #header {
@@ -1259,7 +1264,7 @@ div.loadingPrompt {
 #toolbar {
        position : absolute;
        left : 261px;
-       padding : 5px 10px 5px 5px;
+       padding : 5px 10px 5px 10px;
        top : 50px;
        right : 0px;
        white-space: nowrap;
index 8a893b77d9955acf27766ef91240da762f822875..94274bb5183d50b70b1c2996356dfc71f77e50ee 100644 (file)
@@ -203,10 +203,10 @@ window.onload = init;
        </div>
 
 <?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
-       <div id="headlines-frame" class="headlines_normal">&nbsp;</div>
+       <div id="headlines-frame" class="headlines_normal"><div class="whiteBox">&nbsp;</div></div>
        <div id="content-frame">&nbsp;</div>
 <?php } else { ?>
-       <div id="headlines-frame" class="headlines_cdm">&nbsp;</div>
+       <div id="headlines-frame" class="headlines_cdm"><div class="whiteBox">&nbsp;</div></div>
 <?php } ?>
 
 <?php if (get_pref($link, 'DISPLAY_FOOTER')) { ?>