105 lines
1.6 KiB
CSS
105 lines
1.6 KiB
CSS
.login-wrapper {
|
|
font-family: Arial, sans-serif;
|
|
padding: 1em;
|
|
background: #f8f9fa;
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.login-box {
|
|
width: 100%;
|
|
max-width: 360px;
|
|
background: white;
|
|
padding: 1.5em;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.login-title {
|
|
text-align: center;
|
|
font-size: 1.6em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.login-input {
|
|
width: 100%;
|
|
padding: 0.6em;
|
|
margin: 0.4em 0;
|
|
font-size: 1em;
|
|
border-radius: 4px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.login-password-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5em;
|
|
margin: 0.4em 0;
|
|
}
|
|
|
|
.login-password-wrapper .login-input {
|
|
flex: 1;
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
.login-password-toggle {
|
|
background: #f0f0f0;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1.2em;
|
|
padding: 0.4em;
|
|
line-height: 1;
|
|
opacity: 0.8;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
}
|
|
|
|
.login-password-toggle:hover {
|
|
opacity: 1;
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
.login-button {
|
|
width: 100%;
|
|
padding: 0.7em;
|
|
margin-top: 0.6em;
|
|
background: #007bff;
|
|
border: none;
|
|
color: white;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.login-button:hover {
|
|
background: #0068d1;
|
|
}
|
|
|
|
.login-error {
|
|
color: red;
|
|
text-align: center;
|
|
margin-bottom: 0.6em;
|
|
}
|
|
|
|
.login-register {
|
|
text-align: center;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.login-register a {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.login-register a:hover {
|
|
text-decoration: underline;
|
|
}
|