Files
StandalonePasswordChange/python-flask/smeserver-password-app/static/css/style.css

181 lines
2.8 KiB
CSS

/* SME Server Password Change Form Styles */
body {
font-family: Arial, sans-serif;
font-size: 12px;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: white;
padding: 0;
}
h1 {
font-size: 18px;
font-weight: bold;
margin: 0 0 20px 0;
padding: 0;
color: #333;
}
.instructions {
margin-bottom: 20px;
line-height: 1.4;
}
.instructions p {
margin: 0 0 10px 0;
}
.instructions em {
font-style: italic;
}
/* Flash Messages */
.messages {
margin-bottom: 20px;
}
.message {
padding: 10px;
margin-bottom: 10px;
border-radius: 4px;
}
.message.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.message.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
/* Form Container - Green Background */
.form-container {
background-color: #c8e6c8;
padding: 20px;
border: 1px solid #a0d0a0;
margin-bottom: 20px;
}
.form-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.form-table tr {
height: 35px;
}
.label-cell {
text-align: right;
padding-right: 10px;
width: 200px;
vertical-align: middle;
font-weight: normal;
}
.input-cell {
text-align: left;
vertical-align: middle;
}
.form-table input[type="text"],
.form-table input[type="password"] {
width: 200px;
padding: 4px;
border: 1px solid #999;
font-size: 12px;
font-family: Arial, sans-serif;
}
.form-table input[type="text"]:focus,
.form-table input[type="password"]:focus {
outline: none;
border-color: #666;
}
.button-container {
text-align: right;
padding-top: 10px;
}
.submit-button {
background-color: #e0e0e0;
border: 2px outset #e0e0e0;
padding: 4px 12px;
font-size: 12px;
font-family: Arial, sans-serif;
cursor: pointer;
}
.submit-button:hover {
background-color: #d0d0d0;
}
.submit-button:active {
border: 2px inset #e0e0e0;
}
/* Footer */
.footer {
margin-top: 30px;
font-size: 10px;
color: #666;
line-height: 1.3;
}
.footer p {
margin: 2px 0;
}
/* Responsive Design */
@media (max-width: 600px) {
body {
padding: 10px;
}
.form-table {
width: 100%;
}
.label-cell {
width: auto;
text-align: left;
padding-right: 5px;
display: block;
padding-bottom: 5px;
}
.input-cell {
display: block;
padding-bottom: 15px;
}
.form-table input[type="text"],
.form-table input[type="password"] {
width: 100%;
max-width: 300px;
}
.form-table tr {
height: auto;
}
.form-table td {
display: block;
}
}