Improve embeds (#7919)
* Make embeds cacheable by reverse proxy * Make follow button on embeds open remote follow modal Instead of web+mastodon://, also, turn the button blue, and add a sign up prompt to the remote follow modal
This commit is contained in:
		
							parent
							
								
									8fea9cc311
								
							
						
					
					
						commit
						2092d5c0ad
					
				
					 8 changed files with 21 additions and 6 deletions
				
			
		|  | @ -324,6 +324,9 @@ | |||
|         .button.button-secondary.logo-button { | ||||
|           flex: 0 auto; | ||||
|           font-size: 14px; | ||||
|           background: $ui-highlight-color; | ||||
|           color: $primary-text-color; | ||||
|           border: 0; | ||||
| 
 | ||||
|           svg { | ||||
|             width: 20px; | ||||
|  | @ -332,19 +335,21 @@ | |||
|             margin-right: 5px; | ||||
| 
 | ||||
|             path:first-child { | ||||
|               fill: $ui-primary-color; | ||||
|               fill: $primary-text-color; | ||||
|             } | ||||
| 
 | ||||
|             path:last-child { | ||||
|               fill: $simple-background-color; | ||||
|               fill: $ui-highlight-color; | ||||
|             } | ||||
|           } | ||||
| 
 | ||||
|           &:active, | ||||
|           &:focus, | ||||
|           &:hover { | ||||
|             svg path:first-child { | ||||
|               fill: lighten($ui-primary-color, 4%); | ||||
|             background: lighten($ui-highlight-color, 10%); | ||||
| 
 | ||||
|             svg path:last-child { | ||||
|               fill: lighten($ui-highlight-color, 10%); | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|  |  | |||
		Reference in a new issue