mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Replace code fold icons with octicons (#12222)
- replace font-awesome icons with octicons - clean up js and css surrounding the code expansion and file folding - fix hover color on arc-green - tweak diff line number colors Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -1056,11 +1056,19 @@ a.ui.basic.green.label:hover {
 | 
			
		||||
    border-color: #634343 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.repository .diff-file-box .code-diff-unified tbody tr.del-code td.lines-num {
 | 
			
		||||
    background-color: #4e2c2c !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.repository .diff-file-box .code-diff-unified tbody tr.add-code td {
 | 
			
		||||
    background-color: #283e2d !important;
 | 
			
		||||
    border-color: #314a37 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.repository .diff-file-box .code-diff-unified tbody tr.add-code td.lines-num {
 | 
			
		||||
    background-color: #2c4632 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.removed-code {
 | 
			
		||||
    background-color: #5f3737;
 | 
			
		||||
}
 | 
			
		||||
@@ -1071,12 +1079,11 @@ a.ui.basic.green.label:hover {
 | 
			
		||||
 | 
			
		||||
.tag-code,
 | 
			
		||||
.tag-code td {
 | 
			
		||||
    background: #242637 !important;
 | 
			
		||||
    background: #353945 !important;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
.tag-code td.lines-num {
 | 
			
		||||
    background-color: #242637 !important;
 | 
			
		||||
    border-color: transparent !important;
 | 
			
		||||
    background-color: #3a3e4c !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tag-code td.lines-type-marker,
 | 
			
		||||
@@ -1424,7 +1431,6 @@ input {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lines-num {
 | 
			
		||||
    background: #2e323e !important;
 | 
			
		||||
    color: #9e9e9e !important;
 | 
			
		||||
    border-color: #2d2d2d !important;
 | 
			
		||||
}
 | 
			
		||||
@@ -1433,6 +1439,15 @@ td.blob-excerpt {
 | 
			
		||||
    background-color: rgba(0, 0, 0, .15);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a.blob-excerpt {
 | 
			
		||||
    color: #ccc;
 | 
			
		||||
    background: #393d4a;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a.blob-excerpt:hover {
 | 
			
		||||
    background: #87ab63;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.code-view .lines-code.active {
 | 
			
		||||
    background: #534d1b !important;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user