mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 15:19:09 +01:00
3f253b3f5a
Backport #23560 by @wxiaoguang 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 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <leon@kske.dev>
24 lines
503 B
CSS
24 lines
503 B
CSS
.code-view .lines-num:hover {
|
|
color: var(--color-text-dark) !important;
|
|
}
|
|
|
|
.code-line-menu {
|
|
width: auto !important;
|
|
}
|
|
|
|
.code-line-button {
|
|
background-color: var(--color-menu);
|
|
color: var(--color-text-light);
|
|
border: 1px solid var(--color-secondary);
|
|
border-radius: var(--border-radius);
|
|
padding: 1px 10px;
|
|
position: absolute;
|
|
font-family: var(--fonts-regular);
|
|
left: 0;
|
|
transform: translateX(-70%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.code-line-button:hover {
|
|
color: var(--color-primary);
|
|
}
|