Debian Codegraph @

pynicotine/gtkgui/css/style_gtk4_broadway.css

raw
1 /* Tweaks (GTK 4+ with Broadway backend) */
2
3 window {
4 /* Workaround for GTK bug where clicks in dialogs no longer register after
5 clicking once (no idea why this works). */
6 outline: none;
7 }
8
9 window.csd {
10 /* Smaller shadows to work around GTK bug where window is misaligned */
11 box-shadow: 0 1px 3px 3px transparent,
12 0 2px 6px 3px rgba(0, 0, 0, 0.10),
13 0 4px 7px 3px rgba(0, 0, 0, 0.06),
14 0 0 0 1px rgba(0, 0, 0, 0.12);
15 }
16
17 popover > contents {
18 /* Workaround for GTK bug where popovers are misaligned */
19 box-shadow: none;
20 }
21