Video: controls move from the video box to the bottom bar, in full screen too
build-container / build (push) Successful in 3m35s
build-container / build (push) Successful in 3m35s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c6fff51bb
commit
ee4674cdad
2 files changed
+28
-34
No files matched your search
+5
-3
@@ -659,8 +659,9 @@ body.nav-mini .ngrp span { display: none; }
|
||||
.vspin i { display: block; width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: vspin 1s linear infinite; } @keyframes vspin { to { transform: rotate(360deg); } }
|
||||
#vnextbox { position: absolute; right: 12px; bottom: 96px; z-index: 5; max-width: calc(100% - 24px); }
|
||||
#vnextbox .vnext { background: rgba(20, 22, 28, .92); color: #fff; margin: 0; }
|
||||
.vstage.vfull { position: fixed; inset: 0; z-index: 90; border-radius: 0; }
|
||||
.vstage.vfull video, .vstage:fullscreen video { height: 100dvh; max-height: none; object-fit: contain; }
|
||||
.vstage.vfull { position: fixed; inset: 0 0 var(--playerh, 0px) 0; z-index: 90; border-radius: 0; }
|
||||
body.vfullwin #player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; }
|
||||
.vstage.vfull video, .vstage:fullscreen video { height: calc(100dvh - var(--playerh, 0px)); max-height: none; object-fit: contain; }
|
||||
.vstage:fullscreen { border-radius: 0; background: #000; width: 100%; height: 100%; }
|
||||
.vstage:fullscreen video { height: 100%; }
|
||||
@media (max-width: 560px) { .vright input[type=range], #vmute { display: none; } .vb { min-width: 40px; } .vb.txt { font-size: 13px; padding: 0 6px; } }
|
||||
@@ -705,7 +706,6 @@ body.nav-mini .ngrp span { display: none; }
|
||||
.vmb .vskip em { font-size: 8px; top: 6px; }
|
||||
|
||||
/* The video's controls live in the bottom bar (like Music); the overlay strip is only for full screen */
|
||||
.vstage:not(:fullscreen):not(.vfull) .vctl { display: none; }
|
||||
.vtop .vright { display: flex; align-items: center; gap: 2px; margin-left: auto; }
|
||||
.vtop .vtitle { flex: 0 1 auto; max-width: 38%; }
|
||||
.vtop .vtc { flex: 0 1 auto; }
|
||||
@@ -1149,3 +1149,5 @@ html.hc #view a:not(.btn):not(.row):not(.vcard):not(.seg a):not(.sgrp a) { text-
|
||||
.lyrqrow .num { width: 22px; text-align: center; color: var(--muted); font-size: 13px; flex: none; } .lyrqrow.now .num { color: var(--accent); }
|
||||
.lyrqrow .grow { min-width: 0; } .lyrqrow b, .lyrqrow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lyrqrow small { color: var(--muted); font-size: 12px; }
|
||||
#lyr .lyrbody:has(.lyrq) { padding-top: 10vh; padding-bottom: 16vh; } #lyr .lyrbody:has(.lyrq) .empty { padding-top: 0; text-align: center; }
|
||||
|
||||
.mini .vbvol { width: 84px; accent-color: var(--accent); } .mini .ibtn.txt { width: auto; min-width: 40px; font-size: 13px; font-weight: 600; padding: 0 6px; }
|
||||
Reference in new issue
Block a user