gitea plug
This commit is contained in:
1 parent
86508ffcca
commit
dd1afbbeb2
6 files changed
+1650
-30
No files matched your search
@@ -35,6 +35,118 @@
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
/* Issue list rows */
|
||||
.gitea-issue-row {
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
transition: background 0.1s;
|
||||
border-left: 2px solid transparent;
|
||||
}
|
||||
.gitea-issue-row:hover { background: var(--t-raised); }
|
||||
.gitea-issue-row.active {
|
||||
background: var(--t-raised);
|
||||
border-left-color: var(--t-accent);
|
||||
}
|
||||
.gitea-issue-row .gitea-issue-repo {
|
||||
font-size: 9px;
|
||||
font-family: var(--t-font-pixel);
|
||||
color: var(--t-dim);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.gitea-issue-row .gitea-issue-title {
|
||||
font-size: 12px;
|
||||
color: var(--t-text);
|
||||
margin-top: 2px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.gitea-issue-row.state-closed .gitea-issue-title { color: var(--t-muted); }
|
||||
.gitea-issue-row .gitea-issue-meta {
|
||||
font-size: 9px;
|
||||
font-family: var(--t-font-pixel);
|
||||
color: var(--t-dim);
|
||||
margin-top: 4px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
.gitea-issue-row .gitea-issue-labels {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* State badge (open/closed) */
|
||||
.gitea-state-badge {
|
||||
display: inline-block;
|
||||
font-family: var(--t-font-pixel);
|
||||
font-size: 8px;
|
||||
text-transform: uppercase;
|
||||
padding: 1px 5px;
|
||||
border-radius: 2px;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.gitea-state-badge.open { background: #22c55e; color: #000; }
|
||||
.gitea-state-badge.closed { background: #a855f7; color: #fff; }
|
||||
|
||||
/* Label chip (mirrors gitea label colors) */
|
||||
.gitea-label {
|
||||
display: inline-block;
|
||||
font-family: var(--t-font-pixel);
|
||||
font-size: 8px;
|
||||
padding: 1px 5px;
|
||||
border-radius: 2px;
|
||||
letter-spacing: 0.3px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
/* Comment block */
|
||||
.gitea-comment {
|
||||
border: 1px solid var(--t-border);
|
||||
background: var(--t-surface);
|
||||
border-radius: 2px;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.gitea-comment-header {
|
||||
font-family: var(--t-font-pixel);
|
||||
font-size: 9px;
|
||||
color: var(--t-dim);
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
.gitea-comment-author { color: var(--t-bright); }
|
||||
.gitea-comment-body {
|
||||
font-size: 12px;
|
||||
color: var(--t-text);
|
||||
}
|
||||
|
||||
/* Issue list — no text selection so dragging doesn't highlight rows */
|
||||
#gitea-issue-list, #gitea-issue-list * {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
#gitea-divider:hover > div { background: var(--t-accent); width: 1px; }
|
||||
|
||||
/* Label editor checkboxes */
|
||||
.gitea-label-checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
cursor: pointer;
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
.gitea-label-checkbox:hover { background: var(--t-raised); }
|
||||
.gitea-label-checkbox input { accent-color: var(--t-accent); }
|
||||
.gitea-label-checkbox .gitea-label { cursor: pointer; }
|
||||
|
||||
/* Title input matches the h3 sizing so swap is seamless */
|
||||
#gitea-title-input { font-size: 16px; font-weight: bold; line-height: 1.3; }
|
||||
|
||||
/* Override Chrome/Safari autofill on the gitea token field */
|
||||
#gitea-acc-token:-webkit-autofill,
|
||||
#gitea-acc-token:-webkit-autofill:hover,
|
||||
|
||||
Reference in new issue
Block a user