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

183 lines
No EOL
3 KiB
CSS
Executable file

.logo-container {
margin-bottom: 2rem;
text-align: center;
padding: 0 1rem;
}
.logo {
max-width: 100%;
height: auto;
width: auto;
max-height: 120px;
}
.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;
margin: 0 1rem;
}
.login-header {
background-color: #30b0d5;
color: white;
padding: 1rem;
text-align: center;
}
.login-header h2 {
font-size: clamp(1rem, 4vw, 1.2rem);
font-weight: normal;
margin: 0;
line-height: 1.3;
}
.login-form {
padding: 1.5rem;
}
.admin-buttons {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin: 1rem 0;
}
.skelly-2fa-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
width: 100%;
max-width: 300px;
}
.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;
width: 100%;
}
.small-button {
padding: 0.5rem;
font-size: 0.9rem;
width: 120px;
}
.admin-button:hover {
background-color: #2698bb;
}
.form-input {
width: 200px;
padding: 0.5rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.9rem;
text-align: center;
}
.modal-backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background-color: black;
border-radius: 4px;
width: min(400px, 95%);
height: min(600px, 90%);
max-width: none;
max-height: none;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
.modal-header {
background-color: #30b0d5;
color: white;
padding: 0.5rem;
display: flex;
justify-content: space-between;
align-items: center;
min-height: 40px;
}
.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;
}
.modal-body {
flex: 1;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background-color: #000;
}
.modal-image {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
display: block;
}
@media (max-width: 640px) {
.logo-container {
margin-bottom: 1.5rem;
}
.admin-panel {
margin: 0 0.5rem;
}
.login-form {
padding: 1rem;
}
}
.skelly-2fa-container form {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
width: 100%;
}