dok/public/css/events.css
2026-04-06 13:05:41 +01:00

151 lines
3.0 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ================================================
events.css Tägliche Events Quickmenü-Popup
Die Popup-Basisgrösse kommt von .qm-popup in
quickmenu.css hier wird sie per ID überschrieben.
================================================ */
/* Popup-Grösse für Events (ID schlägt Klasse) */
#qm-popup-events {
width: 900px;
height: 600px;
}
/* Body-Padding anpassen (war auf 1800px ausgelegt) */
#qm-popup-events .qm-popup-body {
padding: 20px 30px;
align-items: flex-start;
justify-content: flex-start;
}
/* ── Event Grid ─────────────────────────────────── */
.events-grid {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: nowrap;
padding: 10px 4px;
}
.event-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
cursor: pointer;
flex: 1;
min-width: 0;
}
.event-card-img-wrap {
width: 100%;
aspect-ratio: 1 / 1;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
padding: 6px;
box-sizing: border-box;
}
.event-card-img-wrap img {
width: 100%;
height: 100%;
object-fit: contain;
image-rendering: pixelated;
}
.event-card-label {
font-size: 14px;
color: #000000;
text-align: center;
line-height: 1.3;
word-break: break-word;
}
/* ================================
Detail-Popup (Overlay)
================================ */
#event-detail-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 9999;
align-items: center;
justify-content: center;
}
#event-detail-overlay.active {
display: flex;
}
#event-detail-popup {
background: #1e1a14 !important;
border: 1px solid rgba(255, 200, 80, 0.3) !important;
border-radius: 6px !important;
padding: 12px !important;
width: 210px !important;
min-width: unset !important;
max-width: unset !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
position: relative !important;
transform: none !important;
animation: eventDetailIn 0.18s ease forwards !important;
}
@keyframes eventDetailIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
#event-detail-popup .edp-close {
position: absolute;
top: 6px;
right: 8px;
background: none;
border: none;
color: #888;
font-size: 11px;
cursor: pointer;
line-height: 1;
transition: color 0.1s;
}
#event-detail-popup .edp-close:hover {
color: #fff;
}
#event-detail-popup .edp-img {
display: block;
margin: 0 auto 8px;
width: 44px;
height: 44px;
object-fit: contain;
image-rendering: pixelated;
}
#event-detail-popup .edp-title {
text-align: center;
font-size: 11px;
font-weight: bold;
color: #f5c842;
margin-bottom: 6px;
}
#event-detail-popup .edp-body {
font-size: 10px;
color: #cccccc;
line-height: 1.6;
text-align: center;
}