my_gallery/css/infoPanel.css
2026-02-22 01:17:13 +01:00

40 lines
590 B
CSS

.info-panel {
position: fixed;
top: 0;
right: 0;
width: 320px;
height: 100%;
background: #fff;
padding: 16px;
box-shadow: -2px 0 6px rgba(0,0,0,0.25);
overflow-y: auto;
z-index: 2000;
transform: translateX(100%);
transition: transform 0.3s ease;
}
.info-panel.open {
transform: translateX(0);
}
.info-panel h3 {
margin-top: 0;
}
.info-row {
margin-bottom: 10px;
}
.info-row b {
display: inline-block;
width: 110px;
}
.info-map {
width: 100%;
height: 250px;
margin-top: 15px;
border-radius: 6px;
overflow: hidden;
border: 1px solid #ccc;
}