mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	Backport #23560 by @wxiaoguang 1. The "close" inside "modal" are likely broken for long time * There is no var called `--body-color` * There is no `fullscreen modal` * The `.ui.modal > .close.inside` doesn't seem to match most icons. It only matches a few like "fork-repo-modal" or "adopt repo". Other places are just buggy code copied again and again. 2. Convert the legacy `&:hover` LESS syntax to CSS syntax Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <leon@kske.dev>
		
			
				
	
	
		
			25 lines
		
	
	
		
			503 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			503 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .code-view .lines-num:hover {
 | |
|   color: var(--color-text-dark) !important;
 | |
| }
 | |
| 
 | |
| .code-line-menu {
 | |
|   width: auto !important;
 | |
| }
 | |
| 
 | |
| .code-line-button {
 | |
|   background-color: var(--color-menu);
 | |
|   color: var(--color-text-light);
 | |
|   border: 1px solid var(--color-secondary);
 | |
|   border-radius: var(--border-radius);
 | |
|   padding: 1px 10px;
 | |
|   position: absolute;
 | |
|   font-family: var(--fonts-regular);
 | |
|   left: 0;
 | |
|   transform: translateX(-70%);
 | |
|   cursor: pointer;
 | |
| }
 | |
| 
 | |
| .code-line-button:hover {
 | |
|   color: var(--color-primary);
 | |
| }
 |