aboutsummaryrefslogtreecommitdiff
path: root/ui/css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-08 19:07:00 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-08 19:07:08 +0200
commitc443ee613b0ece6f66288f718fadcc3b00797a5e (patch)
tree2c495d75ed74e36a18875b7954a2170104568f20 /ui/css
parentdcdb47f24057f42b600856064ab2e45ac252f9dd (diff)
implement SOS dialog
Diffstat (limited to 'ui/css')
-rw-r--r--ui/css/style.css23
1 files changed, 22 insertions, 1 deletions
diff --git a/ui/css/style.css b/ui/css/style.css
index 1f51921..12ef3fd 100644
--- a/ui/css/style.css
+++ b/ui/css/style.css
@@ -54,7 +54,6 @@ body, html {
position: sticky;
top: 0; /* Stick the table header to the top */
background-color: #f0f0f0; /* Set background color for the sticky header */
- z-index: 1; /* Ensure it stays above other content */
width: 100%; /* Ensure table header takes full width */
}
@@ -145,3 +144,25 @@ input[type="range"] {
width: 100%;
}
+dialog {
+ z-index: 999;
+ min-width: 320px;
+ text-align: center;
+}
+::backdrop {
+ background-color: #000;
+ opacity: 0.75;
+}
+
+dialog h1 {
+ animation-name: blink;
+ animation-duration: 150ms;
+ animation-direction: alternate;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+}
+
+@keyframes blink {
+ from { color: red; }
+ to { color: black; }
+}