Files
matrix/build/WebContent/css/report-viewer-v4.css

20 lines
2.4 KiB
CSS

.matrix-report-viewer { min-height: 100vh; margin: 0; background: #dce8f1; color: #24313d; font-family: Arial, sans-serif; font-size: 12px; }
.matrix-report-viewer__page { width: min(calc(100% - 24px), 1280px); margin: 12px auto; overflow: hidden; border: 1px solid #c6d1db; border-radius: 7px; background: #fff; box-shadow: 0 3px 12px rgba(31,52,72,.1); }
.matrix-report-viewer__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid #d7e0e8; background: #f7fafc; }
.matrix-report-viewer__heading h1 { margin: 0 0 2px; font-size: 16px; font-weight: 700; }
.matrix-report-viewer__heading p { margin: 0; color: #60707d; }
.matrix-report-viewer__frame-wrap { height: calc(100vh - 92px); min-height: 420px; padding: 10px; }
.matrix-report-viewer__frame { width: 100%; height: 100%; border: 1px solid #c9d4de; border-radius: 5px; }
.matrix-report-viewer__empty { display: flex; min-height: 280px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 24px; color: #60707d; text-align: center; }
.matrix-report-viewer__empty strong { color: #24313d; font-size: 15px; }
.matrix-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 12px; padding: 14px; }
.matrix-photo-grid__item { overflow: hidden; padding: 0; border: 1px solid #c9d4de; border-radius: 6px; background: #fff; color: #24313d; text-align: left; cursor: pointer; }
.matrix-photo-grid__item:hover { border-color: #6f8799; box-shadow: 0 2px 8px rgba(31,52,72,.12); }
.matrix-photo-grid__item img { width: 100%; height: 180px; display: block; object-fit: cover; background: #edf2f6; }
.matrix-photo-grid__item span { display: block; padding: 7px 9px; font-weight: 600; }
.matrix-photo-preview { width: min(92vw,1000px); max-width: none; height: min(88vh,800px); padding: 0; overflow: hidden; border: 1px solid #8fa0ae; border-radius: 8px; }
.matrix-photo-preview::backdrop { background: rgba(24,34,43,.68); }
.matrix-photo-preview__toolbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid #d7e0e8; background: #f7fafc; }
.matrix-photo-preview__canvas { height: calc(100% - 51px); display: grid; place-items: center; overflow: auto; background: #202830; }
.matrix-photo-preview__canvas img { max-width: 100%; max-height: 100%; transition: transform .2s ease; }