aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-05-26 23:26:24 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-05-27 00:44:58 +0200
commit736bc1ff68a0e0110c36f457a97ff6976048cb3e (patch)
tree60f118b4d315eeacab831c1881915e736da340bd /style.css
parent7d94e145c401503d54d4723fc03ef7872423b776 (diff)
Gray out a detached popover before recyling it.
Diffstat (limited to 'style.css')
-rw-r--r--style.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/style.css b/style.css
index 09d00f2..6a1b1eb 100644
--- a/style.css
+++ b/style.css
@@ -24,7 +24,7 @@ html, body {
--map-container-padding: 1rem;
}
-body.progress {
+body.inprogress {
cursor: wait;
}
@@ -349,10 +349,16 @@ body.progress {
width: var(--bs-popover-max-width);
pointer-events: auto;
}
+.popover.inprogress > .popover-header,
+.popover.inprogress > .popover-body {
+ filter: opacity(70%);
+ pointer-events: none;
+}
.popover-header {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
+ --bs-heading-color: var(--bs-popover-header-color);
}
.popover-body {
-webkit-user-select: text;