Files
crossdesk-web-client/styles.css

120 lines
1.8 KiB
CSS

:root {
--primary-color: #2196f3;
--background-color: #f5f5f5;
--border-radius: 8px;
}
body {
margin: 0;
padding: 20px;
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
background-color: var(--background-color);
color: #333;
}
.container {
max-width: 1280px;
margin: 0 auto;
padding: 20px;
}
h1 {
color: var(--primary-color);
text-align: center;
margin-bottom: 30px;
}
h2 {
color: #444;
margin-top: 30px;
}
.card {
background: white;
border-radius: var(--border-radius);
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.option {
margin-bottom: 15px;
display: flex;
align-items: center;
}
.option label {
min-width: 120px;
color: #666;
}
input[type="text"],
input[type="password"] {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
width: 200px;
font-size: 14px;
}
button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
transition: background-color 0.2s;
}
button:hover {
background-color: #1976d2;
}
button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
#disconnect {
background-color: #f44336;
}
#disconnect:hover {
background-color: #d32f2f;
}
.states {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.state-item {
background: white;
padding: 15px;
border-radius: var(--border-radius);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#media {
background: #222;
border-radius: var(--border-radius);
padding: 20px;
margin-top: 20px;
}
video {
width: 100%;
border-radius: 4px;
}
#data-channel {
background: #f8f9fa;
border-radius: var(--border-radius);
padding: 15px;
font-family: monospace;
height: 200px;
border: 1px solid #ddd;
}