element-web/res/css
David Baker 3342aa5ff8
Refactor some logic into common AvatarSetting component (#12544)
* Refactor some logic into common AvatarSetting component

We duplicated some of the logic of setting avatars between profiles &
rooms. This pulls some of that logic into the AvatarSetting component
and hopefully make things a little simpler.

* Unsed import

* Convert JS based hover to CSS

* Remove unnecessary container

* Test avatar-as-file path

* Test file upload

* Unused imports

* Add test for RoomProfileSettings

* Test removing room avatar

* Move upload control CSS too

* Remove commented code

Co-authored-by: Florian Duros <florianduros@element.io>

* Prettier

* Coments & move style to inline as per PR suggestion

* Better test names

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Fix test

Upload input doesn't have that class anymore

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-21 10:37:02 +00:00
..
components/views Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
compound Update all non-major dependencies (#11383) 2023-09-07 17:40:51 +00:00
structures Use kdb in space panel shortcut (#12525) 2024-05-15 09:44:17 +00:00
views Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
voice-broadcast Remove dead CSS (#11414) 2023-08-16 09:23:20 +00:00
_animations.pcss Replace a Sass variable with a CSS custom property - hover-transition (#10786) 2023-05-22 07:40:40 +00:00
_common.pcss Remove the glass border from modal spinners (#12367) 2024-03-25 17:36:00 +00:00
_components.pcss Call Guest Access, give user the option to change the acces level so they can generate a call link. (#12401) 2024-04-10 14:46:27 +00:00
_font-sizes.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_spacing.pcss Deprecate the $spacing- variables (#10686) 2023-04-21 13:30:21 +00:00
rethemendex.sh Device manager - New device tile info design (#9122)(PSG-637) 2022-08-08 06:59:22 +00:00