mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix(ui): add active background color for menu items in tippy tooltips (#11315)
Fix #11309  Co-authored-by: 0ko <0ko@noreply.codeberg.org> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11315 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: panc <pan0xc@foxmail.com> Co-committed-by: panc <pan0xc@foxmail.com>
This commit is contained in:
parent
3e849b4b50
commit
a824a34266
2 changed files with 48 additions and 0 deletions
|
|
@ -97,6 +97,10 @@
|
|||
background: var(--color-active);
|
||||
}
|
||||
|
||||
.tippy-box[data-theme="menu"] .tippy-target > .item.active {
|
||||
background: var(--color-active);
|
||||
}
|
||||
|
||||
/* box-with-header theme to look like .ui.attached.segment. can contain .ui.attached.header */
|
||||
|
||||
.tippy-box[data-theme="box-with-header"] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue