mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-02 08:57:32 -04:00
Remove highlight in repo list (#24675)
Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/aa5e9f1f-48ff-4e9f-a693-23a34e390760) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/a4b58a6c-4ea3-4ded-80df-2e650d39a1d3) private or internal repos have `lock` icon, no need to add highlights to them.
This commit is contained in:
parent
bc719f549e
commit
4aec1f87a4
@ -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"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user