Tweak rendering of icons for a11y (#31358)
* Tweak rendering of icons in legacy video feed Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove unused classes Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in face pile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in overflow tile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in room search view Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in top unread messages bar Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in space basic settings Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in thread summary tile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in legacy room tile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in incoming call toast Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in labs jump to date Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in field validation Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in mini avatar uploader Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in info tooltip Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak rendering of icons in network dropdown Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -49,19 +49,14 @@ Please see LICENSE files in the repository root for full details.
|
||||
transform: translateX(60px);
|
||||
transition: all 0.1s ease-in-out;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: var(--cpd-space-1x);
|
||||
transform: translateY(-50%);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
mask-image: url("@vector-im/compound-design-tokens/icons/chevron-right.svg");
|
||||
mask-position: center;
|
||||
mask-size: contain;
|
||||
mask-repeat: no-repeat;
|
||||
background-color: $secondary-content;
|
||||
color: $secondary-content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user