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/8004pull/21833/head
							parent
							
								
									5fb6da886c
								
							
						
					
					
						commit
						54898a6c35
					
				|  | @ -56,4 +56,6 @@ limitations under the License. | |||
|     border-radius: 5px; | ||||
|     background: $imagebody-giflabel; | ||||
|     border: 2px solid $imagebody-giflabel-border; | ||||
|     color: $imagebody-giflabel-color; | ||||
|     pointer-events: none; | ||||
| } | ||||
|  |  | |||
|  | @ -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…
	
		Reference in New Issue
	
	 David Baker
						David Baker