mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove highlight in repo list (#24675)
Before:  After:  private or internal repos have `lock` icon, no need to add highlights to them.
This commit is contained in:
		@@ -171,10 +171,6 @@
 | 
				
			|||||||
  border-bottom: 1px solid var(--color-secondary);
 | 
					  border-bottom: 1px solid var(--color-secondary);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.feeds .list ul li.private {
 | 
					 | 
				
			||||||
  background-color: var(--color-box-body-highlight);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.feeds .list ul li .repo-list-link {
 | 
					.feeds .list ul li .repo-list-link {
 | 
				
			||||||
  padding: 6px 1em;
 | 
					  padding: 6px 1em;
 | 
				
			||||||
  display: block;
 | 
					  display: block;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,7 +70,7 @@
 | 
				
			|||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <div v-if="repos.length" class="ui attached table segment gt-rounded-bottom">
 | 
					      <div v-if="repos.length" class="ui attached table segment gt-rounded-bottom">
 | 
				
			||||||
        <ul class="repo-owner-name-list">
 | 
					        <ul class="repo-owner-name-list">
 | 
				
			||||||
          <li v-for="repo in repos" :class="{'private': repo.private || repo.internal}" :key="repo.id">
 | 
					          <li v-for="repo in repos" :key="repo.id">
 | 
				
			||||||
            <a class="repo-list-link gt-df gt-ac gt-sb" :href="repo.link">
 | 
					            <a class="repo-list-link gt-df gt-ac gt-sb" :href="repo.link">
 | 
				
			||||||
              <div class="item-name gt-df gt-ac gt-f1">
 | 
					              <div class="item-name gt-df gt-ac gt-f1">
 | 
				
			||||||
                <svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/>
 | 
					                <svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user