Highlight signed tags like signed commits
This makes signed tags show a badge in the tag list similar to signed commits in the commit list, and a more verbose block when viewing a single tag. Works for both GPG and SSH signed tags. Fixes #1316. Work sponsored by @glts. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
cd19564acc
commit
432ff7d767
6 changed files with 186 additions and 2 deletions
|
@ -1874,6 +1874,31 @@
|
|||
border-bottom: 1px solid var(--color-warning-border);
|
||||
}
|
||||
|
||||
.repository .release-tag-name .ui.label.isSigned,
|
||||
.repository .release-list-title .ui.label.isSigned {
|
||||
padding: 0 0.5em;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.repository .release-tag-name .ui.label.isSigned .avatar,
|
||||
.repository .release-list-title .ui.label.isSigned .avatar {
|
||||
margin-left: .5rem;
|
||||
}
|
||||
|
||||
.repository .release-tag-name .ui.label.isSigned.isVerified,
|
||||
.repository .release-list-title .ui.label.isSigned.isVerified {
|
||||
border: 1px solid var(--color-success-border);
|
||||
background-color: var(--color-success-bg);
|
||||
color: var(--color-success-text);
|
||||
}
|
||||
|
||||
.repository .release-tag-name .ui.label.isSigned.isWarning,
|
||||
.repository .release-list-title .ui.label.isSigned.isWarning {
|
||||
border: 1px solid var(--color-warning-border);
|
||||
background-color: var(--color-warning-bg);
|
||||
color: var(--color-warning-text);
|
||||
}
|
||||
|
||||
.repository .segment.reactions.dropdown .menu,
|
||||
.repository .select-reaction.dropdown .menu {
|
||||
right: 0 !important;
|
||||
|
@ -2107,12 +2132,19 @@
|
|||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.commit-header-row {
|
||||
.commit-header-row,
|
||||
.tag-signature-row {
|
||||
min-height: 50px !important;
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.tag-signature-row div {
|
||||
margin-top: auto !important;
|
||||
margin-bottom: auto !important;
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.settings.webhooks .list > .item:not(:first-child),
|
||||
.settings.githooks .list > .item:not(:first-child),
|
||||
.settings.actions .list > .item:not(:first-child) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue