[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.
dependabot/pip/master/sphinx-6.1.3
Alexandre Flament 3 years ago
parent d1c09c84e2
commit 4d051c43f3

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

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

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

Loading…
Cancel
Save