更新
This commit is contained in:
@@ -272,6 +272,8 @@ button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
|
||||
.video-layer {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 420px;
|
||||
@@ -281,8 +283,21 @@ button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
radial-gradient(circle at 50% 35%, rgba(60, 86, 130, .28), transparent 38%),
|
||||
#090d14;
|
||||
}
|
||||
.video-layer--with-rail {
|
||||
grid-template-columns: minmax(0, 1fr) clamp(330px, 31vw, 380px);
|
||||
}
|
||||
.video-layer--overlay { position: fixed; z-index: 1000; inset: 0; }
|
||||
|
||||
.video-stage {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 50% 35%, rgba(60, 86, 130, .28), transparent 38%),
|
||||
#090d14;
|
||||
}
|
||||
|
||||
.call-kit,
|
||||
.video-layer :is(.TUICallKit-desktop, .TUICallKit-mobile, #tuicallkit-id) {
|
||||
width: 100% !important;
|
||||
@@ -336,40 +351,249 @@ button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
}
|
||||
.live-status .status-dot { width: 7px; height: 7px; margin: 0; box-shadow: none; }
|
||||
|
||||
.live-captions {
|
||||
position: absolute;
|
||||
z-index: 38;
|
||||
left: 50%;
|
||||
bottom: 92px;
|
||||
.consultation-rail {
|
||||
position: relative;
|
||||
z-index: 55;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
width: min(820px, calc(100% - 360px));
|
||||
transform: translateX(-50%);
|
||||
pointer-events: none;
|
||||
grid-template-rows: auto minmax(0, 1.08fr) minmax(0, .92fr);
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
border-left: 1px solid #dce3f0;
|
||||
color: #15233a;
|
||||
background: #f6f8fc;
|
||||
box-shadow: -16px 0 38px rgba(4, 12, 26, .16);
|
||||
}
|
||||
.live-captions p {
|
||||
.consultation-rail__header {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 8px 14px;
|
||||
border: 1px solid rgba(255, 255, 255, .2);
|
||||
border-radius: 10px;
|
||||
grid-template-columns: 42px minmax(0, 1fr) auto;
|
||||
gap: 11px;
|
||||
align-items: center;
|
||||
min-height: 74px;
|
||||
padding: 13px 16px;
|
||||
border-bottom: 1px solid #e2e7f1;
|
||||
background: #fff;
|
||||
}
|
||||
.consultation-rail__avatar {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 13px;
|
||||
color: #fff;
|
||||
background: rgba(9, 13, 20, .78);
|
||||
box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
|
||||
font-size: 16px;
|
||||
line-height: 1.55;
|
||||
backdrop-filter: blur(8px);
|
||||
background: #5761f4;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.live-captions strong {
|
||||
color: #aeb8ff;
|
||||
.consultation-rail__identity {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
.consultation-rail__identity strong {
|
||||
overflow: hidden;
|
||||
color: #111f46;
|
||||
font-size: 16px;
|
||||
line-height: 1.3;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.live-captions span { min-width: 0; word-break: break-word; }
|
||||
.consultation-rail__identity span {
|
||||
overflow: hidden;
|
||||
color: #7886a3;
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.diagnosis-chip {
|
||||
padding: 5px 7px;
|
||||
border-radius: 6px;
|
||||
color: #4a56d5;
|
||||
background: #eef0ff;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.consultation-rail__actions {
|
||||
display: grid;
|
||||
flex: 0 0 auto;
|
||||
justify-items: end;
|
||||
gap: 5px;
|
||||
}
|
||||
.open-diagnosis-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 28px;
|
||||
padding: 5px 8px;
|
||||
border: 1px solid #cfd5ff;
|
||||
border-radius: 7px;
|
||||
color: #3f4bc5;
|
||||
background: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.open-diagnosis-button:hover,
|
||||
.open-diagnosis-button:focus-visible {
|
||||
border-color: #6874e7;
|
||||
background: #f3f4ff;
|
||||
outline: none;
|
||||
}
|
||||
.open-diagnosis-button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
.case-panel,
|
||||
.transcript-panel {
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.case-panel { border-bottom: 1px solid #dde4f0; }
|
||||
.rail-section-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
min-height: 48px;
|
||||
padding: 10px 16px;
|
||||
border-bottom: 1px solid #e5e9f2;
|
||||
background: rgba(255, 255, 255, .72);
|
||||
}
|
||||
.rail-section-heading > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.rail-section-heading h2 {
|
||||
margin: 0;
|
||||
color: #1b2945;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -.01em;
|
||||
}
|
||||
.rail-section-heading > span {
|
||||
overflow: hidden;
|
||||
max-width: 154px;
|
||||
color: #8b97ad;
|
||||
font-size: 10px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.rail-section-heading__index {
|
||||
color: #6874e7;
|
||||
font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.case-panel__content,
|
||||
.live-captions {
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-color: #b9c3d5 transparent;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
.case-panel__content { padding: 5px 16px 14px; }
|
||||
.case-field-list { display: grid; }
|
||||
.case-field {
|
||||
display: grid;
|
||||
grid-template-columns: 72px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #e5e9f2;
|
||||
}
|
||||
.case-field:last-child { border-bottom: 0; }
|
||||
.case-field > span {
|
||||
padding-top: 2px;
|
||||
color: #7a879d;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.case-field p {
|
||||
margin: 0;
|
||||
color: #263551;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.case-field--risk > span { color: #bc3e4e; }
|
||||
.case-field--risk p {
|
||||
color: #9f3141;
|
||||
font-weight: 600;
|
||||
}
|
||||
.live-captions {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 9px;
|
||||
padding: 12px 14px 18px;
|
||||
background: #f2f5fa;
|
||||
}
|
||||
.caption-entry {
|
||||
padding: 10px 11px;
|
||||
border-left: 2px solid #6571e8;
|
||||
border-radius: 0 9px 9px 0;
|
||||
background: #fff;
|
||||
box-shadow: 0 4px 14px rgba(30, 46, 76, .045);
|
||||
}
|
||||
.caption-entry--partial { border-left-color: #9ca6b7; opacity: .78; }
|
||||
.caption-entry header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.caption-entry strong {
|
||||
color: #4a56d5;
|
||||
font-size: 11px;
|
||||
}
|
||||
.caption-entry time {
|
||||
color: #9aa5b7;
|
||||
font-size: 10px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.caption-entry p {
|
||||
margin: 0;
|
||||
color: #24334e;
|
||||
font-size: 13px;
|
||||
line-height: 1.58;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.transcript-state {
|
||||
position: relative;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.transcript-state::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
transform: translateY(-50%);
|
||||
border-radius: 50%;
|
||||
background: #a5adbb;
|
||||
content: "";
|
||||
}
|
||||
.transcript-state--active { color: #168260 !important; }
|
||||
.transcript-state--active::before {
|
||||
background: #24b987;
|
||||
box-shadow: 0 0 0 3px rgba(36, 185, 135, .12);
|
||||
}
|
||||
.rail-empty {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
align-content: center;
|
||||
min-height: 112px;
|
||||
padding: 18px;
|
||||
color: #8a96aa;
|
||||
text-align: center;
|
||||
}
|
||||
.rail-empty strong { color: #53617a; font-size: 12px; }
|
||||
.rail-empty span { font-size: 11px; line-height: 1.55; }
|
||||
.rail-empty--case { min-height: 100%; }
|
||||
|
||||
.video-actions {
|
||||
position: absolute;
|
||||
@@ -494,8 +718,54 @@ button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
.consultation-shell { min-width: 620px; }
|
||||
.message-list { padding-inline: 18px; }
|
||||
.message-bubble { max-width: 82%; }
|
||||
.live-captions { width: calc(100% - 36px); bottom: 88px; }
|
||||
.live-captions p { font-size: 14px; }
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.consultation-shell { min-width: 760px; }
|
||||
.video-layer--with-rail { grid-template-columns: minmax(0, 1fr) 310px; }
|
||||
.video-actions {
|
||||
right: 12px;
|
||||
bottom: 14px;
|
||||
left: 12px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.recording-status {
|
||||
flex-basis: 100%;
|
||||
width: fit-content;
|
||||
margin-left: auto;
|
||||
font-size: 11px;
|
||||
}
|
||||
.consultation-rail__header { padding-inline: 12px; }
|
||||
.diagnosis-chip { display: none; }
|
||||
.case-panel__content { padding-inline: 12px; }
|
||||
.rail-section-heading { padding-inline: 12px; }
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.consultation-shell { min-width: 0; }
|
||||
.video-layer,
|
||||
.video-stage { min-height: 280px; }
|
||||
.video-layer--with-rail { grid-template-columns: minmax(0, 1fr); }
|
||||
.consultation-rail { display: none; }
|
||||
.video-actions {
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
left: auto;
|
||||
gap: 6px;
|
||||
}
|
||||
.recording-status,
|
||||
.capture-button { display: none; }
|
||||
.video-actions button {
|
||||
padding: 8px 11px;
|
||||
border-radius: 8px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.live-status {
|
||||
top: 10px;
|
||||
padding: 7px 10px;
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Doctor workstation blue-white subwindow contract. Video pixels remain on
|
||||
|
||||
Reference in New Issue
Block a user