mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-16 04:00:29 +03:00
* open space on space mention click * fix styles * fix message options sticks * revert last changes
27 lines
599 B
TypeScript
27 lines
599 B
TypeScript
import { keyframes, style } from '@vanilla-extract/css';
|
|
import { DefaultReset, color, config } from 'folds';
|
|
|
|
const SlideUpAnime = keyframes({
|
|
from: {
|
|
transform: 'translateY(100%)',
|
|
},
|
|
to: {
|
|
transform: 'translateY(0)',
|
|
},
|
|
});
|
|
|
|
export const RoomViewTyping = style([
|
|
DefaultReset,
|
|
{
|
|
padding: `0 ${config.space.S500}`,
|
|
width: '100%',
|
|
backgroundColor: color.Surface.Container,
|
|
color: color.Surface.OnContainer,
|
|
position: 'absolute',
|
|
bottom: 0,
|
|
animation: `${SlideUpAnime} 100ms ease-in-out`,
|
|
},
|
|
]);
|
|
export const TypingText = style({
|
|
flexGrow: 1,
|
|
});
|