mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30: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:
		@@ -1694,6 +1694,11 @@
 | 
			
		||||
                padding: 0 5px !important;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            .tag-code .lines-num,
 | 
			
		||||
            .tag-code td {
 | 
			
		||||
                padding: 0 !important;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            tbody {
 | 
			
		||||
                tr {
 | 
			
		||||
                    td.halfwidth {
 | 
			
		||||
@@ -1727,17 +1732,21 @@
 | 
			
		||||
 | 
			
		||||
        .code-diff-unified tbody tr {
 | 
			
		||||
            &.del-code td {
 | 
			
		||||
                background-color: #ffeef0 !important;
 | 
			
		||||
                border-color: #f1c0c0 !important;
 | 
			
		||||
                background-color: #ffeef0;
 | 
			
		||||
                border-color: #f1c0c0;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            &.add-code td {
 | 
			
		||||
                background-color: #e6ffed;
 | 
			
		||||
                border-color: #bef5cb;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            &.del-code td.lines-num {
 | 
			
		||||
                background-color: #ffe5e4;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            &.add-code td.lines-num {
 | 
			
		||||
                background-color: #cdffd8;
 | 
			
		||||
                border-color: #bef5cb;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
@@ -3001,19 +3010,15 @@ tbody.commit-list {
 | 
			
		||||
    margin: 0 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tag-code,
 | 
			
		||||
.tag-code td {
 | 
			
		||||
    background-color: #e6f1f6;
 | 
			
		||||
    border-color: #f1f8ff !important;
 | 
			
		||||
    padding-top: 8px;
 | 
			
		||||
    padding-bottom: 8px;
 | 
			
		||||
    vertical-align: middle;
 | 
			
		||||
    color: rgba(27, 31, 35, .7);
 | 
			
		||||
.tag-code {
 | 
			
		||||
    height: 28px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tag-code td.lines-num {
 | 
			
		||||
    background-color: #f6e6eb !important;
 | 
			
		||||
    border-color: #dbedff;
 | 
			
		||||
.tag-code,
 | 
			
		||||
.tag-code td {
 | 
			
		||||
    background-color: #f0f9ff;
 | 
			
		||||
    border-color: #f1f8ff !important;
 | 
			
		||||
    vertical-align: middle;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.issue-keyword {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user