1
This commit is contained in:
@ -43,8 +43,55 @@ body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.controls h2 {
|
||||
margin-bottom: 15px;
|
||||
.collapsible-panel {
|
||||
z-index: 900;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
padding-bottom: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.panel-toggle {
|
||||
width: auto;
|
||||
min-width: 70px;
|
||||
padding: 6px 10px;
|
||||
margin-top: 0;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: #fff;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.panel-toggle:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
transition: max-height 0.3s ease;
|
||||
}
|
||||
|
||||
.panel-body.collapsed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.panel-collapsed {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.controls h2,
|
||||
.idle-controls h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@ -283,3 +330,33 @@ button:disabled {
|
||||
color: #888;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.controls,
|
||||
.idle-controls {
|
||||
position: fixed;
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
width: auto;
|
||||
max-width: none;
|
||||
padding: 14px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.controls {
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
.idle-controls {
|
||||
top: auto;
|
||||
bottom: 12px;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user