mirror of
https://github.com/ApfelTeeSaft/Reload-Backend.git
synced 2026-08-27 19:21:33 +00:00
165 lines
3.1 KiB
CSS
165 lines
3.1 KiB
CSS
body {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
transition: background-color 0.5s, color 0.5s;
|
|
}
|
|
|
|
body.dark-theme {
|
|
background-color: #121212;
|
|
color: #ffffff;
|
|
}
|
|
|
|
body.dark-theme .register-container {
|
|
background-color: #1e1e1e;
|
|
color: #ffffff;
|
|
position: relative;
|
|
border-radius: 20px;
|
|
padding: 30px 40px;
|
|
width: 320px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.light-theme {
|
|
background-color: #f0f0f0;
|
|
color: #000000;
|
|
}
|
|
|
|
body.light-theme .register-container {
|
|
background-color: white;
|
|
color: #000000;
|
|
position: relative;
|
|
border-radius: 20px;
|
|
padding: 30px 40px;
|
|
width: 320px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.register-container {
|
|
position: relative;
|
|
padding: 30px 40px;
|
|
border-radius: 20px;
|
|
width: 320px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.register-container .input-container {
|
|
position: relative;
|
|
width: 100%;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.register-container input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
outline: none;
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.register-container input:focus {
|
|
border-color: #4CAF50;
|
|
box-shadow: 0 0 8px rgba(76, 175, 80, 0.8);
|
|
}
|
|
|
|
.register-container input[type="submit"] {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-top: 20px;
|
|
transition: background-color 0.3s;
|
|
width: 100%;
|
|
}
|
|
|
|
.register-container input[type="submit"]:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.toggle-password {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
color: #999;
|
|
}
|
|
|
|
.toggle-password:hover {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.theme-toggle {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 50px;
|
|
height: 50px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background-color 0.5s, border 0.5s;
|
|
background-color: #ffffff;
|
|
border: 2px solid #000000;
|
|
}
|
|
|
|
body.light-theme .theme-toggle {
|
|
background-color: #000000;
|
|
border: 2px solid #ffffff;
|
|
}
|
|
|
|
.signin-text {
|
|
color: gray;
|
|
font-size: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.error-message {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1000;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #ff4c4c;
|
|
color: white;
|
|
padding: 15px 20px;
|
|
border-radius: 5px;
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
}
|
|
|
|
.error-message.visible {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
.error-message.hidden {
|
|
opacity: 0;
|
|
transform: translateX(-50%) translateY(-20px);
|
|
}
|
|
|
|
.close-error {
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.close-error:hover {
|
|
color: #ccc;
|
|
} |