3 Commits
3 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -336,8 +336,8 @@ pub fn login_component() -> Html {
value={(*username).clone()} value={(*username).clone()}
oninput={Callback::from(move |e: InputEvent| { oninput={Callback::from(move |e: InputEvent| {
let input: web_sys::HtmlInputElement = e.target_unchecked_into(); let input: web_sys::HtmlInputElement = e.target_unchecked_into();
username.set(input.value()); username.set(input.value());
})} })}
/> />
<input <input
type="password" type="password"
@@ -1,5 +1,7 @@
.headline { .headline {
font-size: 30px; font-size: 40px;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
color: #570000;
margin-top: 150px;
} }
+17 -6
View File
@@ -43,18 +43,29 @@ body {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
max-width: 30%; max-width: 40%;
margin:0 auto; margin:0 auto;
margin-top: 32px; margin-top: 96px;
background-color:#7c7c7c; background-color:#a0a0a0;
padding: 16px; padding-bottom: 96px;
padding-left: 32px;
padding-right: 32px;
padding-top: 96px;
border-radius: 20px; border-radius: 20px;
gap: 16px; gap: 8px;
border-color: #000000;
border-style: double;
box-shadow: 20px 20px 10px;
box-shadow: rgb(43, 43, 43);
input, button { input, button {
padding: 16px; padding: 16px;
font-size: 1.8rem; font-size: 1.8rem;
background-color: #f0f0f0;
box-shadow: #6d6d6d;
box-shadow: 6px 6px 8px
} }
} }