289 lines
4.6 KiB
CSS
289 lines
4.6 KiB
CSS
.realtime-session-page {
|
|
padding: 8px;
|
|
min-width: 0;
|
|
background: #f5f6fa;
|
|
}
|
|
|
|
.realtime-session-page > .page-container__body {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.realtime-session-title {
|
|
min-width: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.realtime-session-title > .anticon {
|
|
color: #3c70f5;
|
|
}
|
|
|
|
.realtime-session-title > span:last-child {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.realtime-session-meta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px 16px;
|
|
color: #9095a1;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.realtime-session-meta strong {
|
|
color: #333;
|
|
}
|
|
|
|
.realtime-session-section-content {
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
|
|
.realtime-session-body {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.realtime-session-alert-wrap {
|
|
width: 100%;
|
|
padding: 24px;
|
|
}
|
|
|
|
.realtime-session-console {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #f9fafe;
|
|
}
|
|
|
|
.transcript-container {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 24px 16px 132px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.transcript-container::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.transcript-container::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.transcript-container::-webkit-scrollbar-thumb {
|
|
border-radius: 4px;
|
|
background-color: rgba(148, 163, 184, 0.34);
|
|
}
|
|
|
|
.realtime-session-empty {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.transcript-stream {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.live-transcript-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.transcript-avatar-container {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.transcript-avatar.ant-avatar {
|
|
border: none;
|
|
background: #3c70f5;
|
|
}
|
|
|
|
.transcript-avatar--draft.ant-avatar {
|
|
background: #cbd5e1;
|
|
}
|
|
|
|
.transcript-entry {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.transcript-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.transcript-speaker {
|
|
color: #596275;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.transcript-speaker--draft {
|
|
color: #9095a1;
|
|
}
|
|
|
|
.transcript-time {
|
|
color: #9095a1;
|
|
font-family: Consolas, "Liberation Mono", monospace;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.transcript-bubble {
|
|
display: inline-block;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 12px 14px;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #333;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.live-transcript-row.draft .transcript-bubble {
|
|
background: #f3f6ff;
|
|
color: #596275;
|
|
}
|
|
|
|
.realtime-control-bar {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 24px;
|
|
z-index: 10;
|
|
min-width: 380px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
padding: 10px 16px;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
box-shadow: none;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.realtime-control-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.realtime-control-orb {
|
|
width: 44px;
|
|
height: 44px;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
background: #f0f0f0;
|
|
color: #9095a1;
|
|
transition: transform 0.1s ease;
|
|
}
|
|
|
|
.realtime-control-orb.recording-orb {
|
|
background: #3c70f5;
|
|
color: #fff;
|
|
}
|
|
|
|
.realtime-control-orb .anticon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.realtime-control-state {
|
|
margin-bottom: 2px;
|
|
color: #333;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.realtime-control-clock {
|
|
color: #9095a1;
|
|
font-family: Consolas, "Liberation Mono", monospace;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.realtime-control-btn.ant-btn {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.realtime-control-btn--danger.ant-btn {
|
|
border: none;
|
|
background: #fff1f0;
|
|
color: #ff4d4f;
|
|
}
|
|
|
|
.realtime-control-btn--pause.ant-btn {
|
|
border: none;
|
|
background: #f3f6ff;
|
|
color: #3c70f5;
|
|
}
|
|
|
|
.realtime-session-loading-card.ant-card {
|
|
flex: 1;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.realtime-session-loading {
|
|
display: grid;
|
|
min-height: 320px;
|
|
place-items: center;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.realtime-session-title > span:last-child {
|
|
white-space: normal;
|
|
}
|
|
|
|
.transcript-container {
|
|
padding: 16px 12px 160px;
|
|
}
|
|
|
|
.realtime-control-bar {
|
|
right: 12px;
|
|
left: 12px;
|
|
bottom: 16px;
|
|
width: auto;
|
|
min-width: 0;
|
|
transform: none;
|
|
}
|
|
}
|