aboutsummaryrefslogtreecommitdiff
path: root/src/app/css/popups.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-07-31 14:33:31 +0200
committer0neGal <mail@0negal.com>2023-07-31 14:33:31 +0200
commitc1040516db8ec60b6922c989399f0fc43d8ab18a (patch)
tree666535b9885f29744abd3eef092f3f8d588a93d0 /src/app/css/popups.css
parent3a58a8b5c4980a1ac4147adbc0f159c24b41084b (diff)
downloadViper-c1040516db8ec60b6922c989399f0fc43d8ab18a.tar.gz
Viper-c1040516db8ec60b6922c989399f0fc43d8ab18a.zip
window buttons are no longer hidden behind popups
Diffstat (limited to 'src/app/css/popups.css')
-rw-r--r--src/app/css/popups.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/app/css/popups.css b/src/app/css/popups.css
index 5147aaf..7ece7e3 100644
--- a/src/app/css/popups.css
+++ b/src/app/css/popups.css
@@ -7,17 +7,19 @@
.popup {
--spacing: var(--padding);
+ --top-spacing: calc(var(--spacing) + calc(var(--spacing) * 1.6));
z-index: 2;
opacity: 0.0;
position: fixed;
overflow-y: scroll;
- top: var(--spacing);
pointer-events: none;
left: var(--spacing);
- background: var(--bg);
right: var(--spacing);
bottom: var(--spacing);
+ top: var(--top-spacing);
+
+ background: var(--bg);
transform: scale(0.98);
backdrop-filter: blur(15px);
border-radius: calc(var(--padding) / 3);
@@ -54,8 +56,9 @@
}
#overlay.shown {
- opacity: 0.8;
+ opacity: 1.0;
pointer-events: all;
+ backdrop-filter: blur(3px);
}
/* browser/preview popup { */