From 3246541bdc405f269179ec737b83772b926c43a6 Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sat, 23 Apr 2016 22:26:02 +0600 Subject: [WIP] Add vim-hotkeys plugin --- searx/static/plugins/css/vim_hotkeys.css | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 searx/static/plugins/css/vim_hotkeys.css (limited to 'searx/static/plugins/css/vim_hotkeys.css') diff --git a/searx/static/plugins/css/vim_hotkeys.css b/searx/static/plugins/css/vim_hotkeys.css new file mode 100644 index 000000000..19745d942 --- /dev/null +++ b/searx/static/plugins/css/vim_hotkeys.css @@ -0,0 +1,9 @@ +.vim-hotkeys-help { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + z-index: 9999999; + overflow-y: auto; + max-height: 80%; +} -- cgit v1.2.3 From 1faf1b645b25745ac887529605727850e0d86d84 Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sun, 24 Apr 2016 03:02:33 +0600 Subject: Set vim-hotkeys help panels to same height --- searx/static/plugins/css/vim_hotkeys.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'searx/static/plugins/css/vim_hotkeys.css') diff --git a/searx/static/plugins/css/vim_hotkeys.css b/searx/static/plugins/css/vim_hotkeys.css index 19745d942..3e9eaddf0 100644 --- a/searx/static/plugins/css/vim_hotkeys.css +++ b/searx/static/plugins/css/vim_hotkeys.css @@ -7,3 +7,19 @@ overflow-y: auto; max-height: 80%; } + +.dflex { + display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ + display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ + display: -ms-flexbox; /* TWEENER - IE 10 */ + display: -webkit-flex; /* NEW - Chrome */ + display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */ +} + +.iflex { + -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */ + -moz-box-flex: 1; /* OLD - Firefox 19- */ + -webkit-flex: 1; /* Chrome */ + -ms-flex: 1; /* IE 10 */ + flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */ +} -- cgit v1.2.3 From 0d6625e0703e3c4edfd0cdbca815795bb20c32b3 Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sun, 24 Apr 2016 18:01:02 +0600 Subject: Add search result navigation support --- searx/static/plugins/css/vim_hotkeys.css | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/static/plugins/css/vim_hotkeys.css') diff --git a/searx/static/plugins/css/vim_hotkeys.css b/searx/static/plugins/css/vim_hotkeys.css index 3e9eaddf0..2ccfdc1af 100644 --- a/searx/static/plugins/css/vim_hotkeys.css +++ b/searx/static/plugins/css/vim_hotkeys.css @@ -6,6 +6,7 @@ z-index: 9999999; overflow-y: auto; max-height: 80%; + box-shadow: 0 0 1em; } .dflex { -- cgit v1.2.3