mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +00:00
Fix some broken css (#23560)
1. The "close" inside "modal" are likely broken for long time * There is no var called `--body-color` * There is no `fullscreen modal` * The `.ui.modal > .close.inside` doesn't seem to match most icons. It only matches a few like "fork-repo-modal" or "adopt repo". Other places are just buggy code copied again and again. 2. Convert the legacy `&:hover` LESS syntax to CSS syntax
This commit is contained in:
@@ -1173,10 +1173,8 @@ a.ui.card:hover,
|
||||
border-color: var(--color-secondary);
|
||||
}
|
||||
|
||||
.ui.modal > .close.inside,
|
||||
.ui.fullscreen.modal > .close {
|
||||
top: 11px; /* align modal close icon, for example admin notices */
|
||||
color: var(--body-color);
|
||||
.ui.modal > .close.inside {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.ui.basic.table > tbody > tr {
|
||||
|
Reference in New Issue
Block a user