summaryrefslogtreecommitdiff
path: root/searx/static/plugins/css
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-04-25 13:22:32 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-04-25 13:22:32 +0200
commit3c6a54012c157667f1efcb23a9652b973b80cbce (patch)
tree14461df0367387006530ea9d31fe69a159772c09 /searx/static/plugins/css
parent603ecbeb6e75b28dff0427ac0cd3689348ef11ce (diff)
parentc12e41a80f7b88e75f6cf5960948c784a316f724 (diff)
Merge pull request #547 from ukwt/vim-hotkeys
Vim-inspired hotkeys plugin
Diffstat (limited to 'searx/static/plugins/css')
-rw-r--r--searx/static/plugins/css/vim_hotkeys.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/searx/static/plugins/css/vim_hotkeys.css b/searx/static/plugins/css/vim_hotkeys.css
new file mode 100644
index 000000000..2ccfdc1af
--- /dev/null
+++ b/searx/static/plugins/css/vim_hotkeys.css
@@ -0,0 +1,26 @@
+.vim-hotkeys-help {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 9999999;
+ overflow-y: auto;
+ max-height: 80%;
+ box-shadow: 0 0 1em;
+}
+
+.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+ */
+}