[Glitch] Change contrast of status links that are not mentions nor hashtags
Port 6701b9329d to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
			
			
This commit is contained in:
		
							parent
							
								
									16b5fe3ac3
								
							
						
					
					
						commit
						1c3117f682
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		|  | @ -51,6 +51,7 @@ export default class StatusContent extends React.PureComponent { | ||||||
|       } else { |       } else { | ||||||
|         link.addEventListener('click', this.onLinkClick.bind(this), false); |         link.addEventListener('click', this.onLinkClick.bind(this), false); | ||||||
|         link.setAttribute('title', link.href); |         link.setAttribute('title', link.href); | ||||||
|  |         link.classList.add('unhandled-link'); | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       link.setAttribute('target', '_blank'); |       link.setAttribute('target', '_blank'); | ||||||
|  |  | ||||||
|  | @ -133,6 +133,10 @@ | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |   a.unhandled-link { | ||||||
|  |     color: lighten($ui-highlight-color, 8%); | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|   .status__content__spoiler-link { |   .status__content__spoiler-link { | ||||||
|     background: lighten($ui-base-color, 30%); |     background: lighten($ui-base-color, 30%); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue