finish styling for change password page

This commit is contained in:
2026-03-31 21:15:26 -04:00
parent ffcaee7170
commit 939a55c44b
5 changed files with 19 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
<div id="popup_background" class="blocked hidden"></div> <div id="popup_background" class="blocked hidden"></div>
<div id="change_password_dialouge" class="hidden card"> <div id="change_password_dialouge" class="hidden card static_center">
<div id="password_error" class="error hidden"> <div id="password_error" class="error hidden">
<div id="password_text"></div> <div id="password_text"></div>
<button id="password_error_close_button" class="close_error_button"> <button id="password_error_close_button" class="close_error_button">

View File

@@ -10,4 +10,15 @@
padding: 2.5rem; padding: 2.5rem;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
transition: transform 0.2s ease; transition: transform 0.2s ease;
display: flex;
flex-direction: column;
gap: 15px;
}
.static_center {
position: fixed;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
} }

View File

@@ -6,11 +6,6 @@
} }
#login_card { #login_card {
/* The Magic Three */
display: flex;
flex-direction: column; /* Stack vertically */
gap: 15px; /* Space between inputs */
position: fixed; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;

View File

@@ -33,6 +33,8 @@
max-width: 500px; max-width: 500px;
text-align: center; text-align: center;
gap: 0px !important;
position: fixed; position: fixed;
left: 50%; left: 50%;
top: 50%; top: 50%;
@@ -120,3 +122,7 @@
z-index: 10000; z-index: 10000;
position: fixed; position: fixed;
} }
#change_password_dialouge input {
width: 350px;
}

View File

@@ -52,7 +52,7 @@ input::placeholder {
} }
.hidden { .hidden {
display: none; display: none !important;
} }
.blocked { .blocked {