element-web-Github/res/css
Clark Fischer a8aa4de4b4
Member avatars without canvas (#9990)
* Strict typechecking fixes for Base/Member/Avatar

Update the core avatar files to pass `--strict --noImplicitAny` typechecks.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add tests for Base/Member/Avatar

More thoroughly test the core avatar files. Not necessarily the most thorough,
but an improvement.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Extract TextAvatar from BaseAvatar

Extracted the fallback/textual avatar into its own component.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Use standard HTML for non-image avatars

Firefox users with `resistFingerprinting` enabled were seeing random noise
for rooms and users without avatars. There's no real reason to use data
URLs to present flat colors.

This converts non-image avatars to inline blocks with background colors.

See https://github.com/vector-im/element-web/issues/23936

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Have pills use solid backgrounds rather than colored images

Similar to room and member avatars, pills now use colored pseudo-elements
rather than background images.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-30 09:50:08 +00:00
..
components/views Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
compound Add input device selection during voice broadcast (#9620) 2022-11-28 14:16:44 +00:00
structures Fix space lock icon size (#9854) 2023-01-05 09:19:54 +01:00
views Member avatars without canvas (#9990) 2023-01-30 09:50:08 +00:00
voice-broadcast Error handling if broadcast events could not be sent (#9885) 2023-01-17 07:57:59 +00:00
_animations.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_common.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_components.pcss Error handling if broadcast events could not be sent (#9885) 2023-01-17 07:57:59 +00:00
_font-sizes.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_font-weights.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_spacing.pcss Add new style for inline code (#9936) 2023-01-19 13:42:59 +00:00
rethemendex.sh Device manager - New device tile info design (#9122)(PSG-637) 2022-08-08 06:59:22 +00:00