forked from github/cinny
🦉 video preview support
This commit is contained in:
24
src/owl/components/ExternalVideoCard.css.tsx
Normal file
24
src/owl/components/ExternalVideoCard.css.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { style } from '@vanilla-extract/css';
|
||||
import { DefaultReset, color, config, toRem } from 'folds';
|
||||
|
||||
export const ExternalVideoCard = style([
|
||||
DefaultReset,
|
||||
{
|
||||
display: 'inline-block',
|
||||
maxWidth: toRem(480),
|
||||
borderRadius: config.radii.R300,
|
||||
overflow: 'hidden',
|
||||
border: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`,
|
||||
backgroundColor: color.SurfaceVariant.Container,
|
||||
},
|
||||
]);
|
||||
|
||||
export const ExternalVideo = style([
|
||||
DefaultReset,
|
||||
{
|
||||
display: 'block',
|
||||
width: '100%',
|
||||
maxHeight: toRem(400),
|
||||
backgroundColor: '#000',
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user