aboutsummaryrefslogtreecommitdiff
path: root/src/web/components/darken/Darken.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/components/darken/Darken.css')
-rw-r--r--src/web/components/darken/Darken.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/web/components/darken/Darken.css b/src/web/components/darken/Darken.css
new file mode 100644
index 0000000..bd3b151
--- /dev/null
+++ b/src/web/components/darken/Darken.css
@@ -0,0 +1,14 @@
+.darken {
+ visibility: hidden;
+
+ position: fixed;
+ inset: 0;
+
+ background-color: rgba(0, 0, 0, 0.0);
+ cursor: pointer;
+ transition: background-color var(--transition-time) ease-in-out;
+}
+.darkenActive {
+ visibility: initial;
+ background-color: rgba(0, 0, 0, 0.5);
+} \ No newline at end of file