mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Highlight focused diff file (#22870)
When a diff file has been focused through the URL ID fragment, it will be highlighted.   --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		| @@ -317,3 +317,11 @@ a.blob-excerpt:hover { | |||||||
|   width: 72px; |   width: 72px; | ||||||
|   height: 10px; |   height: 10px; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .diff-file-box { | ||||||
|  |   border-radius: .285rem; // Just like ui.top.attached.header | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .diff-file-box:target { | ||||||
|  |   box-shadow: 0 0 0 3px var(--color-accent); | ||||||
|  | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user