ui: add shadow to skip button
This commit is contained in:
@@ -60,12 +60,12 @@ templ VideoPlayer(data shared.WatchPageData, displayTitle string) {
|
||||
data-subtitle-text
|
||||
class="absolute bottom-16 left-1/2 z-20 hidden max-w-[92vw] -translate-x-1/2 px-3 text-center text-sm font-semibold text-white drop-shadow-lg sm:bottom-20 sm:max-w-[88vw] sm:px-4 sm:text-lg md:text-xl"
|
||||
></div>
|
||||
<button
|
||||
data-skip
|
||||
class="absolute bottom-20 right-3 z-20 hidden border border-white bg-transparent px-3 py-1.5 text-sm font-semibold text-white transition-opacity hover:opacity-85 sm:bottom-24 sm:right-5 sm:px-4 sm:py-2 sm:text-base"
|
||||
>
|
||||
Skip intro
|
||||
</button>
|
||||
<button
|
||||
data-skip
|
||||
class="absolute bottom-20 right-3 z-20 hidden border border-white bg-transparent px-3 py-1.5 text-sm font-semibold text-white shadow-xl drop-shadow-[0_1px_2px_rgba(0,0,0,0.8)] transition-opacity hover:opacity-90 sm:bottom-24 sm:right-5 sm:px-4 sm:py-2 sm:text-base"
|
||||
>
|
||||
Skip intro
|
||||
</button>
|
||||
<div
|
||||
class="absolute inset-x-0 bottom-0 bg-linear-to-t from-black/90 to-transparent px-3 pb-3 pt-10 opacity-100 transition-opacity duration-300 sm:px-4 sm:pb-4 sm:pt-12 sm:opacity-0 group-[.show-controls]/player:opacity-100 sm:group-[.show-controls]/player:opacity-100"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user