diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-11-23 12:44:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-23 12:44:49 +0100 |
| commit | 0e27578e3528f6dc95a0ae8801e1972b3fdc1766 (patch) | |
| tree | 619b1948e77b7dd7f16a73ce57f5c41070498d1a /searx/static/themes/simple/css/searxng.css | |
| parent | a87f1eb9ec318e794c03a2bcb06b084cd69dc1d0 (diff) | |
| parent | 339838f9f53e62d23760596f65a9a05d2810472b (diff) | |
Merge pull request #527 from dalf/fix-simple-modal
[fix] simple theme: fix modal dialog
Diffstat (limited to 'searx/static/themes/simple/css/searxng.css')
| -rw-r--r-- | searx/static/themes/simple/css/searxng.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/searx/static/themes/simple/css/searxng.css b/searx/static/themes/simple/css/searxng.css index a6c8db39a..c0bc1cdcd 100644 --- a/searx/static/themes/simple/css/searxng.css +++ b/searx/static/themes/simple/css/searxng.css @@ -1525,6 +1525,7 @@ div.selectable_url pre { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; + display: block; background: var(--color-toolkit-dialog-background); position: fixed; top: 50%; @@ -1561,6 +1562,9 @@ div.selectable_url pre { margin-top: 0.3em; margin-bottom: 0.3em; } +.dialog-modal h3 { + margin-top: 0; +} .btn-collapse { cursor: pointer; } @@ -2185,6 +2189,19 @@ article.result-images .detail { margin-right: 1rem; } } +.dialog-modal { + animation-name: dialogmodal; + animation-duration: 0.13s; +} +@keyframes dialogmodal { + 0% { + opacity: 0; + } + 50% { + opacity: 0.5; + transform: translate(-50%, -50%) scale(1.05); + } +} #main_index { margin-top: 26vh; } |