Fix black-on-black GIF icon for stickers
Text colour ended up being the link colour on images because the whole image is in an `a`, but stickers are not so it got the default font colour, which might be black. Define an explicit colour. Also set pointer-events: none so you can hover over the gif icon too (I managed to make the message panel small which made the icon cover most the image, so this prevented the gif from animating at all). Fixes https://github.com/vector-im/riot-web/issues/8004
This commit is contained in:
parent
5fb6da886c
commit
54898a6c35
4 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,7 @@ $lightbox-border-color: #ffffff;
|
|||
|
||||
$imagebody-giflabel: rgba(1, 1, 1, 0.7);
|
||||
$imagebody-giflabel-border: rgba(1, 1, 1, 0.2);
|
||||
$imagebody-giflabel-color: rgba(0, 0, 0, 1);
|
||||
|
||||
// unused?
|
||||
$progressbar-color: #000;
|
||||
|
|
|
@ -99,6 +99,7 @@ $lightbox-background-bg-color: #000;
|
|||
|
||||
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
|
||||
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);
|
||||
$imagebody-giflabel-color: rgba(255, 255, 255, 1);
|
||||
|
||||
$greyed-fg-color: #888;
|
||||
|
||||
|
|
|
@ -177,6 +177,7 @@ $lightbox-border-color: #ffffff;
|
|||
|
||||
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
|
||||
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);
|
||||
$imagebody-giflabel-color: rgba(255, 255, 255, 1);
|
||||
|
||||
// unused?
|
||||
$progressbar-color: #000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue