aboutsummaryrefslogtreecommitdiff
path: root/static/widgets/password-dialog/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/widgets/password-dialog/index.css')
-rw-r--r--static/widgets/password-dialog/index.css51
1 files changed, 51 insertions, 0 deletions
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;
+}