2025-08-13 13:45:25 -07:00
|
|
|
/* Twilio Browser Phone Frontend Styles - Mobile First */
|
|
|
|
.twp-browser-phone-container {
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-radius: 12px;
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
2025-08-13 15:03:08 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-browser-phone-container * {
|
|
|
|
box-sizing: border-box;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.twp-browser-phone-container.compact {
|
|
|
|
padding: 15px;
|
|
|
|
max-width: 320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-browser-phone-title {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 0 20px 0;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Connection Status */
|
|
|
|
.twp-connection-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-indicator {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 8px;
|
|
|
|
animation: pulse 2s infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-indicator.offline {
|
|
|
|
background-color: #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-indicator.connecting {
|
|
|
|
background-color: #ffc107;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-indicator.online {
|
|
|
|
background-color: #28a745;
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-text {
|
2025-08-13 14:09:36 -07:00
|
|
|
font-weight: 600;
|
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
0% { opacity: 1; }
|
|
|
|
50% { opacity: 0.5; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Phone Number Selection */
|
|
|
|
.twp-phone-selection {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-phone-selection label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 8px;
|
2025-08-13 14:09:36 -07:00
|
|
|
font-weight: 600;
|
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.twp-select {
|
|
|
|
width: 100%;
|
|
|
|
padding: 12px 16px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
border-radius: 8px;
|
|
|
|
font-size: 16px;
|
|
|
|
background: #fff;
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
appearance: none;
|
|
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
|
|
|
background-position: right 12px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 16px;
|
|
|
|
padding-right: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-select:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #007cba;
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dial Pad */
|
|
|
|
.twp-dialpad {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-number-display {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-dial-number {
|
|
|
|
width: 100%;
|
|
|
|
padding: 16px 50px 16px 16px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
border-radius: 8px;
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
|
|
|
background: #fff;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-dial-number:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #007cba;
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-clear {
|
|
|
|
position: absolute;
|
|
|
|
right: 12px;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
background: #dc3545;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-clear:hover {
|
|
|
|
background: #c82333;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dial Grid */
|
|
|
|
.twp-dial-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
gap: 12px;
|
|
|
|
max-width: 280px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn {
|
|
|
|
background: #fff;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
border-radius: 12px;
|
|
|
|
padding: 16px 8px;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 600;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
min-height: 60px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn:hover {
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-color: #007cba;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn:active {
|
|
|
|
transform: translateY(0);
|
|
|
|
background: #e9ecef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn span {
|
|
|
|
font-size: 11px;
|
|
|
|
color: #6c757d;
|
|
|
|
margin-top: 2px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Call Controls */
|
|
|
|
.twp-call-controls {
|
|
|
|
display: flex;
|
|
|
|
gap: 12px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn {
|
|
|
|
flex: 1;
|
|
|
|
padding: 16px 24px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 8px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 8px;
|
|
|
|
min-height: 56px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-primary {
|
|
|
|
background: #28a745;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-primary:hover {
|
|
|
|
background: #218838;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-primary:disabled {
|
|
|
|
background: #6c757d;
|
|
|
|
cursor: not-allowed;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-danger {
|
|
|
|
background: #dc3545;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-danger:hover {
|
|
|
|
background: #c82333;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-success {
|
|
|
|
background: #007cba;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-success:hover {
|
|
|
|
background: #005a87;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Call Info */
|
|
|
|
.twp-call-info {
|
|
|
|
background: #fff;
|
|
|
|
padding: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.call-timer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timer-label {
|
|
|
|
color: #6c757d;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timer-value {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
font-family: 'Courier New', monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
.call-status {
|
|
|
|
text-align: center;
|
|
|
|
padding: 8px;
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-radius: 4px;
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #212529;
|
|
|
|
font-weight: 600;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
2025-08-13 13:58:24 -07:00
|
|
|
/* Queue Management Section */
|
|
|
|
.twp-queue-section {
|
2025-08-13 13:45:25 -07:00
|
|
|
background: #fff;
|
|
|
|
padding: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2025-08-13 13:58:24 -07:00
|
|
|
.twp-queue-section h4 {
|
|
|
|
margin: 0 0 16px 0;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:45:25 -07:00
|
|
|
font-size: 1.1rem;
|
2025-08-13 13:58:24 -07:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Queue List */
|
|
|
|
.twp-queue-list {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-loading,
|
|
|
|
.no-queues {
|
|
|
|
text-align: center;
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #495057;
|
2025-08-13 13:58:24 -07:00
|
|
|
font-style: italic;
|
|
|
|
padding: 20px;
|
2025-08-13 14:09:36 -07:00
|
|
|
font-weight: 500;
|
2025-08-13 13:58:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-queues {
|
|
|
|
background: #f8f9fa;
|
|
|
|
border: 2px dashed #e9ecef;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item {
|
|
|
|
background: #f8f9fa;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
border-radius: 8px;
|
|
|
|
padding: 12px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item:hover {
|
|
|
|
border-color: #007cba;
|
|
|
|
background: #e3f2fd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item.selected {
|
|
|
|
border-color: #007cba;
|
|
|
|
background: #e3f2fd;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item.has-calls {
|
|
|
|
border-left: 4px solid #28a745;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item.has-calls::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 8px;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background: #28a745;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: pulse 2s infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-name {
|
|
|
|
font-weight: 600;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:58:24 -07:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-info {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 0.9rem;
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #495057;
|
2025-08-13 13:58:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.queue-waiting {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-waiting.has-calls {
|
|
|
|
color: #28a745;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-capacity {
|
|
|
|
font-size: 0.8rem;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
2025-08-13 13:58:24 -07:00
|
|
|
/* Queue Controls */
|
|
|
|
.twp-queue-controls {
|
|
|
|
background: #f8f9fa;
|
|
|
|
padding: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-queue-info {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-queue-info h5 {
|
|
|
|
margin: 0 0 8px 0;
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #212529;
|
2025-08-13 13:58:24 -07:00
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-stats {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 20px;
|
|
|
|
font-size: 0.9rem;
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #495057;
|
2025-08-13 13:58:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.queue-stats span {
|
2025-08-13 13:45:25 -07:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2025-08-13 13:58:24 -07:00
|
|
|
.queue-actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
2025-08-15 09:14:51 -07:00
|
|
|
flex-wrap: wrap;
|
2025-08-13 13:58:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.queue-actions .twp-btn {
|
|
|
|
flex: 1;
|
2025-08-15 09:14:51 -07:00
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Alert Toggle Button */
|
|
|
|
#twp-alert-toggle {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-alert-toggle.alert-on {
|
|
|
|
background-color: #28a745 !important;
|
|
|
|
border-color: #28a745;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-alert-toggle.alert-off {
|
|
|
|
background-color: #6c757d !important;
|
|
|
|
border-color: #6c757d;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-alert-toggle:hover {
|
|
|
|
opacity: 0.8;
|
2025-08-13 13:58:24 -07:00
|
|
|
}
|
|
|
|
|
2025-08-15 09:29:35 -07:00
|
|
|
/* Voicemail Section */
|
|
|
|
.twp-voicemail-section {
|
|
|
|
background: #fff;
|
|
|
|
padding: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid #e9ecef;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-voicemail-section h4 {
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
color: #212529;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-stats {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding: 12px;
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-item {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-label {
|
|
|
|
display: block;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #6c757d;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-value {
|
|
|
|
display: block;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #495057;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-voicemail-list {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
max-height: 200px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-item {
|
|
|
|
padding: 12px;
|
|
|
|
border: 1px solid #dee2e6;
|
|
|
|
border-radius: 6px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-item:hover {
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-item.has-recording {
|
|
|
|
border-left: 4px solid #28a745;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-from {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.from-number {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #495057;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-time {
|
|
|
|
font-size: 0.85rem;
|
|
|
|
color: #6c757d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-details {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 12px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-duration {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #6c757d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recording-indicator {
|
|
|
|
background: #28a745;
|
|
|
|
color: white;
|
|
|
|
padding: 2px 8px;
|
|
|
|
border-radius: 12px;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-transcription {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #495057;
|
|
|
|
font-style: italic;
|
|
|
|
padding: 8px;
|
|
|
|
background: #f8f9fa;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-left: 3px solid #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-actions .twp-btn {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-voicemails,
|
|
|
|
.voicemail-loading {
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
|
|
|
color: #6c757d;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2025-08-13 13:58:24 -07:00
|
|
|
.twp-btn-secondary {
|
|
|
|
background: #6c757d;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn-secondary:hover {
|
|
|
|
background: #5a6268;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
}
|
|
|
|
|
2025-08-13 13:45:25 -07:00
|
|
|
/* Messages */
|
|
|
|
.twp-messages {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-error {
|
|
|
|
background: #f8d7da;
|
|
|
|
color: #721c24;
|
|
|
|
padding: 12px 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid #f5c6cb;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-success {
|
|
|
|
background: #d4edda;
|
|
|
|
color: #155724;
|
|
|
|
padding: 12px 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid #c3e6cb;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-info {
|
|
|
|
background: #d1ecf1;
|
|
|
|
color: #0c5460;
|
|
|
|
padding: 12px 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid #bee5eb;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive Design */
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
.twp-browser-phone-container {
|
|
|
|
margin: 0;
|
|
|
|
padding: 16px;
|
|
|
|
border-radius: 0;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-browser-phone-title {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-grid {
|
|
|
|
gap: 8px;
|
|
|
|
max-width: 240px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn {
|
|
|
|
padding: 12px 6px;
|
|
|
|
min-height: 50px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn span {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-btn {
|
|
|
|
padding: 14px 20px;
|
|
|
|
font-size: 15px;
|
|
|
|
min-height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#twp-dial-number {
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 14px 45px 14px 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 320px) {
|
|
|
|
.twp-dial-grid {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn {
|
|
|
|
padding: 10px 4px;
|
|
|
|
min-height: 45px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2025-08-13 13:58:24 -07:00
|
|
|
|
|
|
|
/* Queue section mobile adjustments */
|
|
|
|
.queue-stats {
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-actions {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-info {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Dark mode support */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.twp-browser-phone-container {
|
2025-08-13 14:09:36 -07:00
|
|
|
background: #1a202c;
|
|
|
|
color: #f7fafc;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.twp-connection-status,
|
|
|
|
.twp-call-info,
|
2025-08-13 14:09:36 -07:00
|
|
|
.twp-queue-controls,
|
2025-08-15 09:29:35 -07:00
|
|
|
.twp-queue-section,
|
|
|
|
.twp-voicemail-section {
|
2025-08-13 14:09:36 -07:00
|
|
|
background: #2d3748;
|
|
|
|
border-color: #4a5568;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.twp-select,
|
|
|
|
#twp-dial-number,
|
|
|
|
.twp-dial-btn {
|
2025-08-13 14:09:36 -07:00
|
|
|
background: #2d3748;
|
|
|
|
border-color: #4a5568;
|
|
|
|
color: #f7fafc;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.call-status {
|
2025-08-13 14:09:36 -07:00
|
|
|
background: #1a202c;
|
|
|
|
color: #f7fafc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item {
|
|
|
|
background: #2d3748;
|
|
|
|
border-color: #4a5568;
|
|
|
|
color: #f7fafc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-item:hover,
|
|
|
|
.queue-item.selected {
|
|
|
|
background: #4a5568;
|
|
|
|
border-color: #63b3ed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-name,
|
|
|
|
.status-text,
|
2025-08-13 14:22:37 -07:00
|
|
|
.twp-phone-selection label,
|
|
|
|
.twp-browser-phone-title,
|
|
|
|
.twp-queue-section h4,
|
2025-08-15 09:29:35 -07:00
|
|
|
.twp-voicemail-section h4,
|
2025-08-13 14:22:37 -07:00
|
|
|
.selected-queue-info h5,
|
2025-08-15 09:29:35 -07:00
|
|
|
.timer-value,
|
|
|
|
.from-number,
|
|
|
|
.stat-value {
|
2025-08-13 14:22:37 -07:00
|
|
|
color: #f7fafc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-dial-btn {
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #f7fafc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.queue-info,
|
|
|
|
.queue-stats,
|
|
|
|
.queue-loading,
|
2025-08-15 09:29:35 -07:00
|
|
|
.no-queues,
|
|
|
|
.voicemail-stats,
|
|
|
|
.voicemail-time,
|
|
|
|
.voicemail-duration,
|
|
|
|
.stat-label,
|
|
|
|
.voicemail-loading,
|
|
|
|
.no-voicemails {
|
2025-08-13 14:09:36 -07:00
|
|
|
color: #cbd5e0;
|
|
|
|
}
|
|
|
|
|
2025-08-15 09:29:35 -07:00
|
|
|
.no-queues,
|
|
|
|
.voicemail-stats,
|
|
|
|
.voicemail-transcription {
|
|
|
|
background: #2d3748;
|
|
|
|
border-color: #4a5568;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-item {
|
2025-08-13 13:45:25 -07:00
|
|
|
background: #2d3748;
|
2025-08-13 14:09:36 -07:00
|
|
|
border-color: #4a5568;
|
2025-08-15 09:29:35 -07:00
|
|
|
color: #f7fafc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.voicemail-item:hover {
|
|
|
|
background: #4a5568;
|
|
|
|
border-color: #63b3ed;
|
2025-08-13 13:45:25 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Animation for incoming calls */
|
|
|
|
@keyframes incoming-call {
|
|
|
|
0%, 100% { transform: scale(1); }
|
|
|
|
50% { transform: scale(1.05); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-browser-phone-container.incoming-call {
|
|
|
|
animation: incoming-call 1s ease-in-out infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Loading state */
|
|
|
|
.twp-loading {
|
|
|
|
opacity: 0.6;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.twp-loading::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -10px 0 0 -10px;
|
|
|
|
border: 2px solid #f3f3f3;
|
|
|
|
border-top: 2px solid #007cba;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: spin 1s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
}
|