mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00: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" .}}
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="ui attached table segment">
 | 
			
		||||
			<table class="ui very basic striped table unstackable">
 | 
			
		||||
			<table class="ui very basic striped table selectable unstackable">
 | 
			
		||||
				<thead>
 | 
			
		||||
					<tr>
 | 
			
		||||
						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th>
 | 
			
		||||
 
 | 
			
		||||
@@ -56,7 +56,7 @@
 | 
			
		||||
			</form>
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="ui attached table segment">
 | 
			
		||||
			<table class="ui very basic striped table unstackable">
 | 
			
		||||
			<table class="ui very basic striped selectable table unstackable">
 | 
			
		||||
				<thead>
 | 
			
		||||
					<tr>
 | 
			
		||||
						<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" .SortType false}}</th>
 | 
			
		||||
 
 | 
			
		||||
@@ -167,6 +167,11 @@
 | 
			
		||||
  text-overflow: ellipsis;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui.selectable.table > tbody > tr:hover,
 | 
			
		||||
.ui.table tbody tr td.selectable:hover {
 | 
			
		||||
  background: var(--color-hover);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui.attached.table {
 | 
			
		||||
  top: 0;
 | 
			
		||||
  bottom: 0;
 | 
			
		||||
@@ -289,6 +294,9 @@
 | 
			
		||||
.ui.basic.striped.table > tbody > tr:nth-child(2n) {
 | 
			
		||||
  background: var(--color-light);
 | 
			
		||||
}
 | 
			
		||||
.ui.basic.striped.selectable.table > tbody > tr:nth-child(2n):hover {
 | 
			
		||||
  background: var(--color-hover);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui[class*="very basic"].table {
 | 
			
		||||
  border: none;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user