Previous patch was not entirely correct, because it removed some property-assignments such as 'background-color: @backdrop_selected_bg_color;' which were not exactly the same as the ones in the states section ('background-color: alpha (@selected_bg_color, 0.9);').
Previous patch was not entirely correct, because it removed some property- assignments such as 'background-color: @backdrop_ selected_ bg_color; ' which were not exactly the same as the ones in the states section ('background-color: alpha (@selected_ bg_color, 0.9);').
I have corrected this, and I pushed my new patch into my personal launchpad branch (so this way it can be easily merged), which is here: https:/ /code.launchpad .net/~knocte/ ubuntu- themes/ bug1211831- fix-state- selectors- precedence
The particular commit:
http:// bazaar. launchpad. net/~knocte/ ubuntu- themes/ bug1211831- fix-state- selectors- precedence/ revision/ 309#Ambiance/ gtk-3.0/ gtk-widgets. css
As you can see there, this also helps the rendering of Banshee with GTK3 (which I'm currently working on, maintainer here).
I'm going to post some screenshots so this is more clear.