diff options
author | Alexandre Flament <alex@al-f.net> | 2021-11-20 09:28:44 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-23 12:35:37 +0100 |
commit | e612b81f412934a75b9c187d7f1daf98c0373363 (patch) | |
tree | 38f80f8365ef3a45c3d5567ea222ed78040bf68e | |
parent | a87f1eb9ec318e794c03a2bcb06b084cd69dc1d0 (diff) | |
download | searxng-e612b81f412934a75b9c187d7f1daf98c0373363.tar.gz searxng-e612b81f412934a75b9c187d7f1daf98c0373363.zip |
[fix] simple theme: fix modal dialog
-rw-r--r-- | searx/static/themes/simple/src/less/toolkit.less | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less index da207f1f5..2c835e9b4 100644 --- a/searx/static/themes/simple/src/less/toolkit.less +++ b/searx/static/themes/simple/src/less/toolkit.less @@ -183,6 +183,7 @@ div.selectable_url { .dialog-modal { .dialog(); + display: block; background: var(--color-toolkit-dialog-background); position: fixed; top: 50%; @@ -190,6 +191,23 @@ div.selectable_url { margin: 0 auto; transform: translate(-50%, -50%); z-index: 10000000; + animation-name: dialogmodal; + animation-duration: 0.13s; + + h3 { + margin-top: 0; + } +} + +@keyframes dialogmodal { + 0% { + opacity: 0; + } + + 50% { + opacity: 0.5; + transform: translate(-50%, -50%) scale(1.05); + } } // btn-collapse |