mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 16:50:28 +03:00
Some checks failed
Deploy to Netlify (dev) / Deploy to Netlify (push) Has been cancelled
* WIP - new profile view * render common rooms in user profile * add presence component * WIP - room user profile * temp hide profile button * show mutual rooms in spaces, rooms and direct messages categories * add message button * add option to change user powers in profile * improve ban info and option to unban * add share user button in user profile * add option to block user in user profile * improve blocked user alert body * add moderation tool in user profile * open profile view on left side in member drawer * open new user profile in all places
22 lines
470 B
TypeScript
22 lines
470 B
TypeScript
import { style } from '@vanilla-extract/css';
|
|
import { config } from 'folds';
|
|
|
|
export const AvatarPresence = style({
|
|
display: 'flex',
|
|
position: 'relative',
|
|
flexShrink: 0,
|
|
});
|
|
|
|
export const AvatarPresenceBadge = style({
|
|
position: 'absolute',
|
|
bottom: 0,
|
|
right: 0,
|
|
transform: 'translate(25%, 25%)',
|
|
zIndex: 1,
|
|
|
|
display: 'flex',
|
|
padding: config.borderWidth.B600,
|
|
backgroundColor: 'inherit',
|
|
borderRadius: config.radii.Pill,
|
|
overflow: 'hidden',
|
|
});
|