diff options
| author | 2021-10-21 11:33:35 +0200 | |
|---|---|---|
| committer | 2021-10-21 11:33:35 +0200 | |
| commit | cfd625c5596f2ce20ab4341bb04ddb263552e417 (patch) | |
| tree | 4bf0ae9292bda5b26e65423c0b49fe2998bfd5e6 /p/themes/base-theme/template.rtl.css | |
| parent | 401af448ccde9246b51e041e89435faf8b463051 (diff) | |
close panel with esc shortcut (#3901)
* ESC as shortcut to close
* some little beauty
* only ESC close the list now
* Update template.rtl.css
* fixed onclick listener
* Update global_view.js
* heebie jeebies fix ;-)
* Update p/scripts/global_view.js
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/base-theme/template.rtl.css')
| -rw-r--r-- | p/themes/base-theme/template.rtl.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index 92de5c2d6..d6f0d0168 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -1090,7 +1090,7 @@ br { } #global > #panel.visible { - bottom: 1em; + bottom: 2%; visibility: visible; } /*=== Panel */ @@ -1098,7 +1098,7 @@ br { position: fixed; top: 0; bottom: 0; right: 0; left: 0; - background: rgba(0, 0, 0, 0.9); + background: rgba(0, 0, 0, 0.5); opacity: 0; transition: visibility .3s, opacity .3s; visibility: hidden; @@ -1113,8 +1113,8 @@ br { background: #fff; display: none; position: fixed; - top: 1em; bottom: 1em; - right: 2em; left: 2em; + top: 2%; bottom: 2%; + left: 3%; right: 3%; overflow: auto; } |
