Files
modoboa/modoboa/static/css/offline.css
T
PeterandGitHub 5a483aa33a Update offline.css
22px* due to the border
2025-07-22 16:04:44 +01:00

166 lines
2.3 KiB
CSS

body {
margin: 0;
font-family: Arial, sans-serif;
height: 100vh;
background-color: #f0f2f5;
display: flex;
align-items: center;
justify-content: center;
}
.container {
display: flex;
width: 100%;
height: 100%;
}
.column {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
}
.left-column {
background-color: #046bf8;
text-align: center;
}
.right-column {
background-color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
}
.login-box {
width: 100%;
max-width: 400px;
text-align: center;
}
.message-box {
width: 100%;
max-width: 600px;
text-align: center;
}
.logo img {
width: 400px;
margin-bottom: 20px;
}
h2 {
margin-bottom: 20px;
font-size: 24px;
color: #333;
}
.input-group {
margin-bottom: 15px;
text-align: left;
width: 100%;
}
.input-group label {
display: block;
margin-bottom: 5px;
font-size: 14px;
color: #555;
}
.input-group input {
width: calc(100% - 22px);
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
color: #333;
}
.input-group.error input {
border-color: #ff5252;
}
.error-message {
color: #ff5252;
font-size: 12px;
display: none;
}
.input-group.error .error-message {
display: block;
}
.checkbox-group {
display: flex;
align-items: center;
}
.checkbox-group input {
width: auto;
margin-right: 10px;
}
.btn {
width: 100%;
padding: 10px;
background-color: #e6e6e6;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.btn-primary {
background-color: #007bff;
color: white;
}
.btn:hover {
background-color: #c9c9c9;
}
.btn-primary:hover {
background-color: #0056b3;
}
.footer {
margin-top: 20px;
}
.footer a {
color: #007bff;
text-decoration: none;
font-size: 14px;
}
.footer a:hover {
text-decoration: underline;
}
.alert-box {
background-color: #ff5252;
color: white;
text-align: left;
padding: 10px;
border-radius: 5px;
margin-bottom: 20px;
}
.mt {
margin-top: 5px;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.column {
width: 100%;
}
}