mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	UI: add hover background to table rows in user and repo admin page (#35072)
This commit is contained in:
		| @@ -10,7 +10,7 @@ | |||||||
| 			{{template "shared/repo/search" .}} | 			{{template "shared/repo/search" .}} | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="ui attached table segment"> | 		<div class="ui attached table segment"> | ||||||
| 			<table class="ui very basic striped table unstackable"> | 			<table class="ui very basic striped table selectable unstackable"> | ||||||
| 				<thead> | 				<thead> | ||||||
| 					<tr> | 					<tr> | ||||||
| 						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th> | 						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th> | ||||||
|   | |||||||
| @@ -56,7 +56,7 @@ | |||||||
| 			</form> | 			</form> | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="ui attached table segment"> | 		<div class="ui attached table segment"> | ||||||
| 			<table class="ui very basic striped table unstackable"> | 			<table class="ui very basic striped selectable table unstackable"> | ||||||
| 				<thead> | 				<thead> | ||||||
| 					<tr> | 					<tr> | ||||||
| 						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" .SortType false}}</th> | 						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" .SortType false}}</th> | ||||||
|   | |||||||
| @@ -167,6 +167,11 @@ | |||||||
|   text-overflow: ellipsis; |   text-overflow: ellipsis; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .ui.selectable.table > tbody > tr:hover, | ||||||
|  | .ui.table tbody tr td.selectable:hover { | ||||||
|  |   background: var(--color-hover); | ||||||
|  | } | ||||||
|  |  | ||||||
| .ui.attached.table { | .ui.attached.table { | ||||||
|   top: 0; |   top: 0; | ||||||
|   bottom: 0; |   bottom: 0; | ||||||
| @@ -289,6 +294,9 @@ | |||||||
| .ui.basic.striped.table > tbody > tr:nth-child(2n) { | .ui.basic.striped.table > tbody > tr:nth-child(2n) { | ||||||
|   background: var(--color-light); |   background: var(--color-light); | ||||||
| } | } | ||||||
|  | .ui.basic.striped.selectable.table > tbody > tr:nth-child(2n):hover { | ||||||
|  |   background: var(--color-hover); | ||||||
|  | } | ||||||
|  |  | ||||||
| .ui[class*="very basic"].table { | .ui[class*="very basic"].table { | ||||||
|   border: none; |   border: none; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user