166 lines
No EOL
2.9 KiB
CSS
Executable file
166 lines
No EOL
2.9 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;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: black;
|
|
border-radius: 4px;
|
|
width: min(800px, 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;
|
|
touch-action: manipulation;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.modal-close {
|
|
font-size: 1.5rem;
|
|
}
|
|
} |