|
|
|
@ -35,12 +35,13 @@ export function CaptionPreview(props: {
@@ -35,12 +35,13 @@ export function CaptionPreview(props: {
|
|
|
|
|
"radial-gradient(102.95% 87.07% at 100% 100%, #EEAA45 0%, rgba(165, 186, 151, 0.56) 54.69%, rgba(74, 207, 254, 0.00) 100%), linear-gradient(180deg, #48D3FF 0%, #3B27B2 100%)", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className="bg-black absolute right-3 top-3 text-white bg-opacity-25 duration-100 transition-[background-color,transform] active:scale-110 hover:bg-opacity-50 p-2 rounded-md cursor-pointer" |
|
|
|
|
<button |
|
|
|
|
type="button" |
|
|
|
|
className="tabbable bg-black absolute right-3 top-3 text-white bg-opacity-25 duration-100 transition-[background-color,transform] active:scale-110 hover:bg-opacity-50 p-2 rounded-md cursor-pointer" |
|
|
|
|
onClick={props.onToggle} |
|
|
|
|
> |
|
|
|
|
<Icon icon={props.fullscreen ? Icons.X : Icons.EXPAND} /> |
|
|
|
|
</div> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<div className="text-white pointer-events-none absolute flex w-full flex-col items-center transition-[bottom] bottom-0 p-4"> |
|
|
|
|
<div |
|
|
|
|