207 lines
3.3 KiB
CSS
207 lines
3.3 KiB
CSS
body {
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
text-align: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.image-container {
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
img.loading {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.controls {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
button {
|
|
background: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin: 5px;
|
|
transition: background 0.3s, transform 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
background: #45a049;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
button.secondary {
|
|
background: #2196F3;
|
|
}
|
|
|
|
button.secondary:hover {
|
|
background: #1976D2;
|
|
}
|
|
|
|
button.danger {
|
|
background: #f44336;
|
|
}
|
|
|
|
button.danger:hover {
|
|
background: #d32f2f;
|
|
}
|
|
|
|
.info {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.info h3 {
|
|
margin-top: 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.info ul {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.status {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.mode-display {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.parameter-panel {
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.param-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.param-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.param-group label {
|
|
min-width: 150px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.param-group input[type="range"] {
|
|
flex: 1;
|
|
}
|
|
|
|
.param-group input[type="number"] {
|
|
width: 80px;
|
|
padding: 5px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.param-group span {
|
|
min-width: 40px;
|
|
text-align: right;
|
|
}
|
|
|
|
.param-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
.param-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
}
|
|
|
|
.stream-container {
|
|
position: relative;
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
display: inline-block;
|
|
}
|
|
|
|
#streamCanvas {
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
background: #000;
|
|
}
|
|
|
|
.stream-info {
|
|
position: absolute;
|
|
top: 30px;
|
|
right: 30px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.stream-info span {
|
|
color: #fff;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* DO NOT ADD STATS CSS*/ |