frame fix

This commit is contained in:
2026-04-03 04:00:02 -03:00
parent d14390a649
commit 6159b2a027
5 changed files with 668 additions and 474 deletions

View File

@@ -42,8 +42,8 @@ class ChtApp(Adw.Application):
if not win:
css = Gtk.CssProvider()
css.load_from_string(
".frame-selected { border: 3px solid @accent_color; border-radius: 6px; }\n"
"row.frame-selected { background: alpha(@accent_color, 0.25); border: none; border-radius: 0; }"
".frame-selected { outline: 3px solid @accent_color; outline-offset: -3px; border-radius: 6px; }\n"
"row.frame-selected, row.frame-selected:hover { background: alpha(@accent_color, 0.25); outline: none; border-radius: 0; }"
)
Gtk.StyleContext.add_provider_for_display(
Gdk.Display.get_default(),