mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 20:50:17 +09:00
163 lines
3.2 KiB
SCSS
163 lines
3.2 KiB
SCSS
.interview-overlay {
|
|
position: fixed;
|
|
top: 5px;
|
|
right: 5px;
|
|
width: 33vw;
|
|
height: 85vh;
|
|
background-color: #1e1e1e;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
color: #ffffff;
|
|
z-index: 1000;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
|
|
&.dragging {
|
|
cursor: col-resize;
|
|
}
|
|
|
|
.drag-handle {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 5px;
|
|
height: 100%;
|
|
cursor: col-resize;
|
|
background-color: transparent;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
}
|
|
|
|
.content-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
margin-bottom: 1rem;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 1rem;
|
|
width: fit-content;
|
|
|
|
.indicator-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
margin-right: 10px;
|
|
|
|
&.listening {
|
|
background-color: #4caf50;
|
|
box-shadow: 0 0 10px #4caf50;
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
&.not-listening {
|
|
background-color: #ff6b6b;
|
|
}
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.error-message {
|
|
color: #ff6b6b;
|
|
margin-bottom: 1rem;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 0.5rem;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.transcript-display {
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 0.5rem;
|
|
max-height: 120px;
|
|
overflow-y: auto;
|
|
text-align: left;
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
width: 100%;
|
|
|
|
.button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
flex: 1;
|
|
color: white;
|
|
border: none;
|
|
|
|
&.pause-button {
|
|
background-color: #ff9800;
|
|
|
|
&:hover {
|
|
background-color: #f57c00;
|
|
}
|
|
|
|
&.paused {
|
|
background-color: #4caf50;
|
|
|
|
&:hover {
|
|
background-color: #45a049;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.stop-button {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
&:hover {
|
|
background-color: #000000;
|
|
}
|
|
}
|
|
|
|
&.clear-button {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
|
|
&:hover {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
|
|
70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
|
|
100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
|
|
} |