Skip to content

Commit 7254e08

Browse files
megaxkhurshid-alam
authored andcommitted
WebkitGtk Workaround. Fixes #572
The regression came with webkitgtk-2.4.10 where activate button state doesn't paint label color. This fixes the issue.
1 parent a457b8f commit 7254e08

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/gtk-3.0/scss/widgets/_button.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@
184184
}
185185
}
186186

187+
// Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572
188+
// Webkitgtk workaround start
189+
&:active { color: $fg; }
190+
// Webkitgtk workaround end
191+
187192
&.flat {
188193
&:insensitive:insensitive {
189194
background-color: transparent;

src/gtk-3.20/scss/widgets/_button.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,11 @@
334334
}
335335
}
336336

337+
// Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572
338+
// Webkitgtk workaround start
339+
&:active { color: $fg; }
340+
// Webkitgtk workaround end
341+
337342
&.flat {
338343
&:disabled:disabled {
339344
background-color: transparent;

0 commit comments

Comments
 (0)