mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Fix missing styling for shabox on PR commit history (#11625)
This commit is contained in:
		
					parent
					
						
							
								8443ca109b
							
						
					
				
			
			
				commit
				
					
						793719a50d
					
				
			
		
					 1 changed files with 67 additions and 65 deletions
				
			
		|  | @ -811,9 +811,74 @@ | ||||||
|                     padding-left: 15px; |                     padding-left: 15px; | ||||||
|                     padding-top: 0; |                     padding-top: 0; | ||||||
| 
 | 
 | ||||||
|                     .singular-commit:not(:last-child) { |                     .singular-commit { | ||||||
|  |                         &:not(:last-child) { | ||||||
|                             padding-bottom: 3px; |                             padding-bottom: 3px; | ||||||
|                         } |                         } | ||||||
|  | 
 | ||||||
|  |                         .shabox { | ||||||
|  |                             .sha.label { | ||||||
|  |                                 margin: 0; | ||||||
|  |                                 border: 1px solid #bbbbbb; | ||||||
|  | 
 | ||||||
|  |                                 &.isSigned.isWarning { | ||||||
|  |                                     border: 1px solid #db2828; | ||||||
|  |                                     background: fade(#db2828, 10%); | ||||||
|  | 
 | ||||||
|  |                                     .shortsha { | ||||||
|  |                                         display: inline-block; | ||||||
|  |                                         padding-top: 1px; | ||||||
|  |                                     } | ||||||
|  | 
 | ||||||
|  |                                     &:hover { | ||||||
|  |                                         background: fade(#db2828, 30%) !important; | ||||||
|  |                                     } | ||||||
|  |                                 } | ||||||
|  | 
 | ||||||
|  |                                 &.isSigned.isVerified { | ||||||
|  |                                     border: 1px solid #21ba45; | ||||||
|  |                                     background: fade(#21ba45, 10%); | ||||||
|  | 
 | ||||||
|  |                                     .shortsha { | ||||||
|  |                                         display: inline-block; | ||||||
|  |                                         padding-top: 1px; | ||||||
|  |                                     } | ||||||
|  | 
 | ||||||
|  |                                     &:hover { | ||||||
|  |                                         background: fade(#21ba45, 30%) !important; | ||||||
|  |                                     } | ||||||
|  |                                 } | ||||||
|  | 
 | ||||||
|  |                                 &.isSigned.isVerifiedUntrusted { | ||||||
|  |                                     border: 1px solid #fbbd08; | ||||||
|  |                                     background: fade(#fbbd08, 10%); | ||||||
|  | 
 | ||||||
|  |                                     .shortsha { | ||||||
|  |                                         display: inline-block; | ||||||
|  |                                         padding-top: 1px; | ||||||
|  |                                     } | ||||||
|  | 
 | ||||||
|  |                                     &:hover { | ||||||
|  |                                         background: fade(#fbbd08, 30%) !important; | ||||||
|  |                                     } | ||||||
|  |                                 } | ||||||
|  | 
 | ||||||
|  |                                 &.isSigned.isVerifiedUnmatched { | ||||||
|  |                                     border: 1px solid #f2711c; | ||||||
|  |                                     background: fade(#f2711c, 10%); | ||||||
|  | 
 | ||||||
|  |                                     .shortsha { | ||||||
|  |                                         display: inline-block; | ||||||
|  |                                         padding-top: 1px; | ||||||
|  |                                     } | ||||||
|  | 
 | ||||||
|  |                                     &:hover { | ||||||
|  |                                         background: fade(#f2711c, 30%) !important; | ||||||
|  |                                     } | ||||||
|  |                                 } | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 &.event > .commit-status-link { |                 &.event > .commit-status-link { | ||||||
|  | @ -1070,69 +1135,6 @@ | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 & > .shabox { |  | ||||||
|                     .sha.label { |  | ||||||
|                         margin: 0; |  | ||||||
|                         border: 1px solid #bbbbbb; |  | ||||||
| 
 |  | ||||||
|                         &.isSigned.isWarning { |  | ||||||
|                             border: 1px solid #db2828; |  | ||||||
|                             background: fade(#db2828, 10%); |  | ||||||
| 
 |  | ||||||
|                             .shortsha { |  | ||||||
|                                 display: inline-block; |  | ||||||
|                                 padding-top: 1px; |  | ||||||
|                             } |  | ||||||
| 
 |  | ||||||
|                             &:hover { |  | ||||||
|                                 background: fade(#db2828, 30%) !important; |  | ||||||
|                             } |  | ||||||
|                         } |  | ||||||
| 
 |  | ||||||
|                         &.isSigned.isVerified { |  | ||||||
|                             border: 1px solid #21ba45; |  | ||||||
|                             background: fade(#21ba45, 10%); |  | ||||||
| 
 |  | ||||||
|                             .shortsha { |  | ||||||
|                                 display: inline-block; |  | ||||||
|                                 padding-top: 1px; |  | ||||||
|                             } |  | ||||||
| 
 |  | ||||||
|                             &:hover { |  | ||||||
|                                 background: fade(#21ba45, 30%) !important; |  | ||||||
|                             } |  | ||||||
|                         } |  | ||||||
| 
 |  | ||||||
|                         &.isSigned.isVerifiedUntrusted { |  | ||||||
|                             border: 1px solid #fbbd08; |  | ||||||
|                             background: fade(#fbbd08, 10%); |  | ||||||
| 
 |  | ||||||
|                             .shortsha { |  | ||||||
|                                 display: inline-block; |  | ||||||
|                                 padding-top: 1px; |  | ||||||
|                             } |  | ||||||
| 
 |  | ||||||
|                             &:hover { |  | ||||||
|                                 background: fade(#fbbd08, 30%) !important; |  | ||||||
|                             } |  | ||||||
|                         } |  | ||||||
| 
 |  | ||||||
|                         &.isSigned.isVerifiedUnmatched { |  | ||||||
|                             border: 1px solid #f2711c; |  | ||||||
|                             background: fade(#f2711c, 10%); |  | ||||||
| 
 |  | ||||||
|                             .shortsha { |  | ||||||
|                                 display: inline-block; |  | ||||||
|                                 padding-top: 1px; |  | ||||||
|                             } |  | ||||||
| 
 |  | ||||||
|                             &:hover { |  | ||||||
|                                 background: fade(#f2711c, 30%) !important; |  | ||||||
|                             } |  | ||||||
|                         } |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
| 
 |  | ||||||
|                 .detail { |                 .detail { | ||||||
|                     font-size: .9rem; |                     font-size: .9rem; | ||||||
|                     margin-top: 5px; |                     margin-top: 5px; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue