From 811e76d4431908cb460ee700a33a2cce94268718 Mon Sep 17 00:00:00 2001 From: Tobias Theuer Date: Tue, 14 Mar 2017 23:00:01 +0100 Subject: [PATCH 1/8] Jump to any buffer (up to 99) with Alt+J followed by 2 digits. --- css/glowingbear.css | 27 ++++++++++++++++++ index.html | 3 +- js/filters.js | 2 ++ js/inputbar.js | 67 +++++++++++++++++++++++++++++++++++++++------ 4 files changed, 89 insertions(+), 10 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 60a7e0b..2b2503b 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -466,6 +466,33 @@ div.colourbox { align: right; } +#sidebar .showjumpkeys .buffer .buffer-jump-key { + transition: all ease-in-out 0.5s; + -webkit-transition: all ease-in-out 0.5s; + transition-delay: 0.2s; + -webkit-transition-delay: 0.2s; + opacity: 0.7; + margin-left: -1.2em; + margin-right: 0.1em; +} +#sidebar .buffer .buffer-jump-key { + margin-left: -1.2em; + margin-right: -0.2em; + font-size: smaller; + transition: all ease-in-out 0.5s; + -webkit-transition: all ease-in-out 0.5s; + opacity: 0; + text-shadow: -1px 0px 4px rgba(255, 255, 255, 0.4), + 0px -1px 4px rgba(255, 255, 255, 0.4), + 1px 0px 4px rgba(255, 255, 255, 0.4), + 0px 1px 4px rgba(255, 255, 255, 0.4); + vertical-align: baseline; + display: inline-block; + width: 1em; + align: right; +} + + .gb-modal { z-index: 1000; height: 100%; diff --git a/index.html b/index.html index 4e3f262..9124131 100644 --- a/index.html +++ b/index.html @@ -262,7 +262,7 @@ npm run build-electron-{windows, darwin, linux}