mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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;
 | 
			
		||||
  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