ekreten/static/templates/admin/template.css
2025-04-22 23:24:53 +02:00

196 lines
No EOL
3.3 KiB
CSS
Executable file

.logo-container {
margin-bottom: 2rem;
text-align: center;
}
.logo {
max-width: 100%;
height: auto;
}
.admin-panel {
background-color: white;
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 600px;
overflow: hidden;
}
.login-header {
background-color: #30b0d5;
color: white;
padding: 1rem;
text-align: center;
}
.login-header h2 {
font-size: 1.2rem;
font-weight: normal;
margin: 0;
}
.login-form {
padding: 1.5rem;
}
.admin-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 1rem 0;
}
.admin-button {
background-color: #30b0d5;
color: white;
border: none;
border-radius: 4px;
padding: 1rem;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s;
text-align: center;
text-decoration: none;
display: block;
}
.admin-button:hover {
background-color: #2698bb;
}
.delete-button {
background-color: #e74c3c;
}
.delete-button:hover {
background-color: #c0392b;
}
.login-message {
background-color: #f8f9fa;
border: 1px solid #ddd;
border-radius: 4px;
padding: 1rem;
margin-top: 1.5rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.delete-success {
background-color: #d4edda;
border-color: #c3e6cb;
color: #155724;
padding: 1rem;
margin-top: 1.5rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
display: none;
}
.spinner {
width: 40px;
height: 40px;
border: 4px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
border-top-color: #30b0d5;
animation: spin 1s ease-in-out infinite;
}
.modal-backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background-color: white;
border-radius: 4px;
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-header {
background-color: #30b0d5;
color: white;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-close {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0.3rem;
line-height: 1;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.modal-body {
padding: 1.5rem;
}
.env-content {
background-color: #f8f9fa;
padding: 1rem;
border-radius: 4px;
white-space: pre-wrap;
font-family: monospace;
font-size: 0.9rem;
overflow-x: auto;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
.logo {
width: 80%;
max-width: 300px;
margin: 0 auto;
}
.logo-container {
margin-bottom: 1.5rem;
}
.admin-buttons {
padding: 0;
}
.admin-button {
font-size: 0.9rem;
padding: 0.8rem;
}
.login-header h2 {
font-size: 1rem;
}
}