Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

💄(frontend) add symmetric shadows for white button contrast enhancement

lebaudantoinefa27afdfdf63
diff --git a/src/frontend/src/features/rooms/components/Join.tsx b/src/frontend/src/features/rooms/components/Join.tsx
index b97d3e0e..5e7c84ed 100644
--- a/src/frontend/src/features/rooms/components/Join.tsx
+++ b/src/frontend/src/features/rooms/components/Join.tsx
@@ -410,6 +410,28 @@ export const Join = ({
alignItems: 'center',
})}
>
+ <div
+ className={css({
+ position: 'absolute',
+ top: 0,
+ height: '5rem',
+ width: '100%',
+ backgroundImage:
+ 'linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 80%, rgba(0, 0, 0, 0) 100%)',
+ zIndex: 1,
+ })}
+ />
+ <div
+ className={css({
+ position: 'absolute',
+ bottom: 0,
+ height: '5rem',
+ width: '100%',
+ backgroundImage:
+ 'linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0) 100%)',
+ zIndex: 1,
+ })}
+ />
<div
className={css({
position: 'relative',