tam
This commit is contained in:
@@ -430,6 +430,147 @@ body {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.exam-resources-hint {
|
||||
margin: 0;
|
||||
font-size: 0.82rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.exam-viewer-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 10050;
|
||||
background: rgba(15, 23, 42, 0.72);
|
||||
display: none;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
padding: 0.75rem;
|
||||
outline: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.exam-viewer-overlay.is-open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.exam-viewer-shell {
|
||||
width: min(1100px, 100%);
|
||||
margin: 0 auto;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
|
||||
max-height: calc(100vh - 1.5rem);
|
||||
}
|
||||
|
||||
.exam-viewer-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.65rem 0.85rem;
|
||||
background: #0f172a;
|
||||
color: #f8fafc;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.exam-viewer-title {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.exam-viewer-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
background: #e2e8f0;
|
||||
position: relative;
|
||||
height: calc(100vh - 6.5rem);
|
||||
}
|
||||
|
||||
.exam-viewer-content {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
background: #cbd5e1;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.exam-viewer-content.is-ready {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.exam-viewer-loading,
|
||||
.exam-viewer-error {
|
||||
display: none;
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
color: #475569;
|
||||
font-size: 0.92rem;
|
||||
background: #e2e8f0;
|
||||
}
|
||||
|
||||
.exam-viewer-loading.is-active,
|
||||
.exam-viewer-error.is-active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.exam-viewer-error {
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.exam-viewer-error.is-active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.exam-pdf-page-wrap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 auto 1rem;
|
||||
}
|
||||
|
||||
.exam-pdf-page {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
background: #fff;
|
||||
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.exam-view-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
background: #fff;
|
||||
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.exam-view-text {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 1rem 1.25rem;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.55;
|
||||
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
|
||||
.exam-resource-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user