Files
ThothII/presentation/deck/screenshot-tour.css
T

50 lines
2.9 KiB
CSS

/* Ordered tour stops; screenshot originals keep their full aspect ratio. */
.arit .screenshot-tour {
display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
gap: 16px; flex: 1; min-height: 0; margin-top: 10px;
}
.arit .screenshot-tour-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arit .screenshot-tour button {
display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0;
overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px;
background: var(--surface-alt); color: var(--ink); cursor: pointer; text-align: left;
}
.arit .screenshot-tour button:hover { border-color: var(--bordeaux); background: var(--bordeaux-tint); }
.arit .screenshot-tour button:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
.arit .screenshot-tour img {
display: block; width: 100%; height: 0; flex: 1; min-height: 0; max-width: none; max-height: none;
margin: 0; object-fit: contain; border: 0; box-shadow: none; background: #fff;
}
.arit .screenshot-tour span {
display: flex; align-items: center; gap: 10px; padding: 9px 12px;
border-top: 1px solid var(--line); font: 600 16px/1.2 var(--sans);
}
.arit .screenshot-tour b { color: var(--bordeaux); font: 700 22px/1 var(--sans); }
.arit .screenshot-tour-compact {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.arit .screenshot-tour-compact span { gap: 8px; padding: 6px 10px; font-size: 14px; }
.arit .screenshot-tour-compact b { font-size: 18px; }
.screenshot-dialog {
box-sizing: border-box; width: calc(100vw - 24px); height: calc(100vh - 24px);
max-width: none; max-height: none; padding: 8px; margin: auto;
border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface);
color: var(--ink); font-family: var(--sans); overflow: hidden;
}
.screenshot-dialog[open] { display: flex; flex-direction: column; gap: 6px; }
.screenshot-dialog::backdrop { background: rgb(42 36 38 / 70%); }
.screenshot-dialog header { display: flex; align-items: center; gap: 12px; min-height: 32px; flex: 0 0 auto; }
.screenshot-dialog h2 { margin: 0 auto 0 4px; font: 600 16px/1.2 var(--sans); }
.screenshot-dialog button {
border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface);
color: var(--ink); padding: 5px 12px; font: 600 14px/1.2 var(--sans); cursor: pointer;
}
.screenshot-dialog button:hover { background: var(--bordeaux-tint); }
.screenshot-dialog button:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 1px; }
.screenshot-stage { position: relative; flex: 1; min-height: 0; }
.screenshot-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.screenshot-stage img { object-fit: contain; }
.screenshot-dialog .screenshot-error { margin: auto; text-align: center; }
@media print { .screenshot-dialog { display: none !important; } }