From 4b6e37397d3a9a80db0c20484b712175c7b9c9c7 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 24 Nov 2025 15:55:20 +0100 Subject: add password-dialog --- static/widgets/password-dialog/index.css | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 static/widgets/password-dialog/index.css (limited to 'static/widgets/password-dialog/index.css') diff --git a/static/widgets/password-dialog/index.css b/static/widgets/password-dialog/index.css new file mode 100644 index 0000000..ad8c1c2 --- /dev/null +++ b/static/widgets/password-dialog/index.css @@ -0,0 +1,51 @@ +#container { + position: absolute; + max-width: 500px; + width: 70%; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + display: grid; + gap: 10px; + background: #efefef99; + backdrop-filter: blur(10px); + padding: 10px; + border-radius: var(--border-radius); + box-shadow: var(--shadow); +} + +#title { + font-size: 1.1em; +} + +#close { + width: 25px; + height: 25px; + position: absolute; + top: 5px; + right: 5px; + cursor: pointer; + background: var(--page-background); + border-radius: 100%; + padding: 2px; +} + +#button { + background: var(--primary); + padding: 10px; + color: var(--fg-primary); + font-weight: bold; + border-radius: var(--border-radius); + box-shadow: var(--box-shadow); + text-align: center; +} + +#error { + font-style: italic; + font-weight: bold; + color: #ee5151; +} + +#error.hidden { + display: none; +} -- cgit v1.2.3-70-g09d2