mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-27 11:27:13 +02:00
Misc icon tweaks
This commit is contained in:
@@ -584,10 +584,6 @@ img.ui.avatar,
|
||||
color: var(--color-grey-light) !important;
|
||||
}
|
||||
|
||||
.text.gold {
|
||||
color: var(--color-gold) !important;
|
||||
}
|
||||
|
||||
.text.small {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,6 @@ gitea-theme-meta-info {
|
||||
/* other colors */
|
||||
--color-grey: #384149;
|
||||
--color-grey-light: #818f9e;
|
||||
--color-gold: #b1983b;
|
||||
--color-white: #ffffff;
|
||||
--color-diff-added-linenum-bg: #274227;
|
||||
--color-diff-added-row-bg: #203224;
|
||||
|
||||
@@ -146,7 +146,6 @@ gitea-theme-meta-info {
|
||||
/* other colors */
|
||||
--color-grey: #697077;
|
||||
--color-grey-light: #7c838a;
|
||||
--color-gold: #a1882b;
|
||||
--color-white: #ffffff;
|
||||
--color-diff-added-linenum-bg: #d1f8d9;
|
||||
--color-diff-added-row-bg: #e6ffed;
|
||||
|
||||
@@ -291,7 +291,7 @@ export default defineComponent({
|
||||
} else if (repo.template) {
|
||||
return `octicon-repo-template`;
|
||||
} else if (repo.private) {
|
||||
return 'octicon-lock';
|
||||
return 'octicon-repo-locked';
|
||||
} else if (repo.internal) {
|
||||
return 'octicon-repo';
|
||||
}
|
||||
@@ -391,7 +391,7 @@ export default defineComponent({
|
||||
<div class="ui checkbox" ref="checkboxPrivateFilter" :title="checkboxPrivateFilterTitle">
|
||||
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxPrivateFilterProps">
|
||||
<label>
|
||||
<svg-icon name="octicon-lock" :size="16" class="tw-mr-1"/>
|
||||
<svg-icon name="octicon-repo-locked" :size="16" class="tw-mr-1"/>
|
||||
{{ textShowPrivate }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@@ -63,6 +63,7 @@ import octiconProject from '../../public/assets/img/svg/octicon-project.svg';
|
||||
import octiconQuote from '../../public/assets/img/svg/octicon-quote.svg';
|
||||
import octiconRepo from '../../public/assets/img/svg/octicon-repo.svg';
|
||||
import octiconRepoForked from '../../public/assets/img/svg/octicon-repo-forked.svg';
|
||||
import octiconRepoLocked from '../../public/assets/img/svg/octicon-repo-locked.svg';
|
||||
import octiconRepoTemplate from '../../public/assets/img/svg/octicon-repo-template.svg';
|
||||
import octiconRss from '../../public/assets/img/svg/octicon-rss.svg';
|
||||
import octiconScreenFull from '../../public/assets/img/svg/octicon-screen-full.svg';
|
||||
@@ -144,6 +145,7 @@ const svgs = {
|
||||
'octicon-quote': octiconQuote,
|
||||
'octicon-repo': octiconRepo,
|
||||
'octicon-repo-forked': octiconRepoForked,
|
||||
'octicon-repo-locked': octiconRepoLocked,
|
||||
'octicon-repo-template': octiconRepoTemplate,
|
||||
'octicon-rss': octiconRss,
|
||||
'octicon-screen-full': octiconScreenFull,
|
||||
|
||||
Reference in New Issue
Block a user