1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-04 10:30:15 +02:00

[fix] simple theme: various about the hotkeys help

* dark mode: #555 border (same as infoboxes and other borders)
* remove a call to console.log
* center the dialog without using the style attribute.
This commit is contained in:
Alexandre Flament 2021-11-05 11:33:43 +01:00
parent d1c09c84e2
commit 4d051c43f3
3 changed files with 3 additions and 6 deletions

View File

@ -361,7 +361,6 @@ searxng.ready(function() {
helpPanel = document.createElement('div'); helpPanel = document.createElement('div');
helpPanel.id = 'vim-hotkeys-help'; helpPanel.id = 'vim-hotkeys-help';
helpPanel.className='dialog-modal'; helpPanel.className='dialog-modal';
helpPanel.style='width: 40%';
initHelpContent(helpPanel); initHelpContent(helpPanel);
initHelpContent(helpPanel); initHelpContent(helpPanel);
initHelpContent(helpPanel); initHelpContent(helpPanel);

View File

@ -185,7 +185,7 @@
--color-toolkit-badge-background: #777; --color-toolkit-badge-background: #777;
--color-toolkit-kbd-font: #000; --color-toolkit-kbd-font: #000;
--color-toolkit-kbd-background: #fff; --color-toolkit-kbd-background: #fff;
--color-toolkit-dialog-border: #333; --color-toolkit-dialog-border: #555;
--color-toolkit-dialog-background: #222; --color-toolkit-dialog-background: #222;
--color-toolkit-tabs-label-border: #222; --color-toolkit-tabs-label-border: #222;
--color-toolkit-tabs-section-border: #555; --color-toolkit-tabs-section-border: #555;

View File

@ -196,11 +196,9 @@ div.selectable_url {
position: fixed; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin: 0 auto;
/* bring your own prefixes */
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 100000; z-index: 10000000;
margin: 0 50% 0 0;
} }
// btn-collapse // btn-collapse