From abd4be7e1c4cd20e193f1cb32c464b94482dae2c Mon Sep 17 00:00:00 2001 From: ayodio Date: Tue, 2 Jul 2013 12:29:30 +0200 Subject: [PATCH 1/3] vim like navigation --- assets/js/app.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/js/app.js b/assets/js/app.js index 95bd391..ae769a9 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -394,6 +394,14 @@ case 102: bookmark_item(); break; + + //vim like navigation + case 107: + open_previous_item(); + break; + case 106: + open_next_item(); + break; } }; From 33f6d152344d86e5e00c6faae055dbcb40e1957e Mon Sep 17 00:00:00 2001 From: ayodio Date: Tue, 2 Jul 2013 13:23:36 +0200 Subject: [PATCH 2/3] improved key navigation display this smooths the navigation via key. --- assets/css/app.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 8ae6cd6..33e4719 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -365,7 +365,10 @@ nav .active a { /* items listing */ .items article { + border: 1px dotted #ddd; margin-bottom: 20px; + padding: 5px; + background-color: #fff; } .items h2 { @@ -395,15 +398,14 @@ nav .active a { } .items .preview { - color: #555; line-height: 1.5em; font-size: 100%; font-family: Georgia, serif; } .items #current-item { - border: 2px dashed #d14; - padding: 5px; + border: 3px solid #bce; + padding: 3px; } From 1db5e124699e3432262a5bf1627410fcfaad76b3 Mon Sep 17 00:00:00 2001 From: ayodio Date: Tue, 2 Jul 2013 13:27:51 +0200 Subject: [PATCH 3/3] Revert "improved key navigation display" This reverts commit 33f6d152344d86e5e00c6faae055dbcb40e1957e. --- assets/css/app.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 33e4719..8ae6cd6 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -365,10 +365,7 @@ nav .active a { /* items listing */ .items article { - border: 1px dotted #ddd; margin-bottom: 20px; - padding: 5px; - background-color: #fff; } .items h2 { @@ -398,14 +395,15 @@ nav .active a { } .items .preview { + color: #555; line-height: 1.5em; font-size: 100%; font-family: Georgia, serif; } .items #current-item { - border: 3px solid #bce; - padding: 3px; + border: 2px dashed #d14; + padding: 5px; }