mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-27 12:01:24 +00:00
Removes CSS rules that have zero usages across templates, Go source, JS/TS/Vue, and `options/`. Each selector was cross-checked for runtime additions (Fomantic JS, library classes) before removal. A few rules with no current usages are kept as symmetric pairs of heavily-used classes likely to be needed: - `.ui.bottom.attached.header` / `.ui.bottom.attached.message` — pair with the widely-used `top.attached` variants - `.ui.warning.header` / `.ui.warning.segment` — warning-themed variants of error-themed classes that are kept - `.btn.small` — size variant alongside the kept `.btn.tiny` --- This PR was written with the help of Claude Opus 4.7 --------- Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
48 lines
761 B
CSS
48 lines
761 B
CSS
/* These are the remnants of the fomantic comment module */
|
|
/* TODO: remove all of these rules */
|
|
|
|
.ui.comments {
|
|
margin: 1.5em 0;
|
|
}
|
|
|
|
.ui.comments:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ui.comments:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ui.comments .comment {
|
|
display: flex;
|
|
position: relative;
|
|
background: none;
|
|
margin: 3px 0 0;
|
|
padding: 0.5em 0 0;
|
|
border: none;
|
|
border-top: none;
|
|
}
|
|
|
|
.edit-content-zone .comment {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ui.comments .comment:first-child {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.ui.comments .comment > .content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ui.comments .comment .text {
|
|
margin: 0.25em 0 0.5em;
|
|
font-size: 1em;
|
|
overflow-wrap: break-word;
|
|
line-height: 1.3;
|
|
}
|