Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
307 changes: 307 additions & 0 deletions demo/demo-broadsoft.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,307 @@
/* BroadSoft Demo Styles */

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
color: #333;
}

h2 {
color: #2c3e50;
border-bottom: 3px solid #3498db;
padding-bottom: 10px;
}

h3 {
color: #34495e;
margin-top: 0;
}

h4 {
color: #7f8c8d;
margin: 10px 0;
}

.description {
background-color: #ecf0f1;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
}

.section {
background-color: white;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Configuration Form */
.config-form {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
}

.form-group {
display: flex;
flex-direction: column;
}

.form-group label {
font-weight: 600;
margin-bottom: 5px;
color: #555;
}

.form-group input {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}

.form-group input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Buttons */
.btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
margin-right: 10px;
}

.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}

.btn-primary {
background-color: #3498db;
color: white;
}

.btn-primary:hover:not(:disabled) {
background-color: #2980b9;
}

.btn-secondary {
background-color: #95a5a6;
color: white;
}

.btn-secondary:hover:not(:disabled) {
background-color: #7f8c8d;
}

.btn-small {
padding: 6px 12px;
font-size: 12px;
}

/* Status */
.status {
margin-top: 15px;
padding: 10px;
border-radius: 4px;
font-weight: 600;
}

.status-disconnected {
color: #e74c3c;
}

.status-connecting {
color: #f39c12;
}

.status-connected {
color: #27ae60;
}

/* Controls */
.controls {
display: flex;
flex-wrap: wrap;
gap: 15px;
align-items: center;
}

.checkbox-group {
display: flex;
align-items: center;
gap: 8px;
}

.checkbox-group input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
}

.checkbox-group input[type="checkbox"]:disabled {
cursor: not-allowed;
}

.checkbox-group label {
font-weight: 500;
cursor: pointer;
}

/* Feature Panels */
.feature-panel {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 6px;
padding: 15px;
margin-bottom: 15px;
}

.feature-panel h4 {
margin-top: 0;
color: #495057;
border-bottom: 2px solid #dee2e6;
padding-bottom: 8px;
}

.feature-status {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
margin-top: 10px;
}

.feature-status > div {
padding: 8px;
background-color: white;
border-radius: 4px;
font-size: 14px;
}

.value {
font-weight: 600;
color: #2c3e50;
}

/* Event Log */
.log-controls {
margin-bottom: 10px;
}

.event-log {
background-color: #1e1e1e;
color: #d4d4d4;
padding: 15px;
border-radius: 4px;
font-family: "Courier New", Courier, monospace;
font-size: 13px;
max-height: 400px;
overflow-y: auto;
line-height: 1.6;
}

.log-entry {
margin-bottom: 8px;
padding: 5px;
border-left: 3px solid transparent;
}

.log-entry.info {
border-left-color: #3498db;
}

.log-entry.success {
border-left-color: #27ae60;
background-color: rgba(39, 174, 96, 0.1);
}

.log-entry.warning {
border-left-color: #f39c12;
background-color: rgba(243, 156, 18, 0.1);
}

.log-entry.error {
border-left-color: #e74c3c;
background-color: rgba(231, 76, 60, 0.1);
}

.log-timestamp {
color: #95a5a6;
font-size: 11px;
}

.log-message {
margin-left: 10px;
}

/* Instructions */
.instructions {
background-color: #fff9e6;
border-left: 4px solid #f39c12;
}

.test-scenario {
background-color: white;
padding: 15px;
margin-bottom: 15px;
border-radius: 4px;
border: 1px solid #e0e0e0;
}

.test-scenario h4 {
color: #2c3e50;
margin-top: 0;
}

.test-scenario ol {
margin: 10px 0;
padding-left: 25px;
}

.test-scenario pre {
background-color: #2c3e50;
color: #ecf0f1;
padding: 10px;
border-radius: 4px;
overflow-x: auto;
font-size: 12px;
margin: 8px 0;
}

/* Audio Element */
audio {
width: 100%;
max-width: 500px;
}

/* Responsive */
@media (max-width: 768px) {
body {
padding: 10px;
}

.config-form {
grid-template-columns: 1fr;
}

.feature-status {
grid-template-columns: 1fr;
}

.controls {
flex-direction: column;
align-items: flex-start;
}
}
Loading