forked from Ponysearch/Ponysearch
[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:
parent
d1c09c84e2
commit
4d051c43f3
3 changed files with 3 additions and 6 deletions
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue