Infopanel angepasst

This commit is contained in:
2026-06-08 22:31:16 +02:00
parent e35dccdc75
commit 4c34e04598
3 changed files with 94 additions and 12 deletions
+41 -6
View File
@@ -417,18 +417,17 @@ position: absolute;
top: 48%;
right: 20px;
transform: translateY(-50%);
width: 210px;
padding: 22px;
padding-bottom: 10px;
padding-top: 10px;
width: 340px;
padding: 18px 22px;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(18px);
border: 1px solid rgba(255,255,255,0.3);
border-radius: 24px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
z-index: 20;
display: none;
flex-direction: column;
gap: 8px;
gap: 0;
}
#info-panel.open {
@@ -438,18 +437,54 @@ position: absolute;
#closeInfoPanel {
align-self: flex-start;
padding: 5px 15px;
margin-bottom: 14px;
}
#info-panel-title {
margin: 0;
margin: 0 0 14px 0;
font-size: 14px;
font-weight: 600;
color: #0f172a;
}
#info-panel-image {
width: 100%;
border-radius: 12px;
object-fit: cover;
max-height: 220px;
margin-bottom: 14px;
}
#info-image-nav {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 14px;
}
#info-panel-text {
margin: 0;
font-size: 13px;
line-height: 1.6;
color: #1e293b;
}
#info-img-prev, #info-img-next {
border: none;
background: rgba(255,255,255,0.9);
border-radius: 8px;
padding: 4px 10px;
cursor: pointer;
font-size: 16px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#info-img-prev:hover, #info-img-next:hover {
background: rgb(233,232,232);
}
#info-image-counter {
font-size: 12px;
color: #555;
}