74 lines
1.5 KiB
CSS
74 lines
1.5 KiB
CSS
/* Geometry, positioning, and animation only.
|
|
Colour, surface, and elevation come from MudBlazor theme props. */
|
|
|
|
/* Fixed dock to the viewport bottom */
|
|
.player-dock {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1200;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
::deep .player-inner-container {
|
|
padding: 1rem;
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
/* The visible surface is a MudPaper; scoped CSS only sets geometry + a hairline accent */
|
|
::deep .player-surface {
|
|
position: relative;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--mud-palette-primary);
|
|
overflow: hidden;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Minimize / close cluster, pinned top-right of the surface */
|
|
::deep .player-surface .player-window-controls {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
|
|
/* Minimized floating dock — positioning + hover only; colour from MudFab */
|
|
::deep .minimized-dock {
|
|
position: fixed;
|
|
bottom: 60px;
|
|
right: 60px;
|
|
z-index: 1300;
|
|
}
|
|
|
|
::deep .minimized-dock:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Spacer to prevent content overlap */
|
|
::deep .player-spacer {
|
|
height: 140px;
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
::deep .minimized-dock {
|
|
bottom: 15px;
|
|
right: 15px;
|
|
}
|
|
|
|
::deep .player-inner-container {
|
|
padding: 0.75rem;
|
|
padding-bottom: 1.25rem;
|
|
}
|
|
|
|
::deep .player-surface {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
::deep .player-spacer {
|
|
height: 160px;
|
|
}
|
|
}
|