GNOME Bugzilla – Bug 737785
no generic button class/style
Last modified: 2015-02-20 16:46:37 UTC
We seem to define a generic button style for each and every button type: .candidate-page-button, .notification-button, .notification-icon-button, .hotplug-notification-item, .hotplug-resident-eject-button, .modal-dialog-button, .app-view-control {} Would be nice if all these button just had a 'button' class associated.
(In reply to comment #0) > We seem to define a generic button style for each and every button type: > > .candidate-page-button, > .notification-button, > .notification-icon-button, > .hotplug-notification-item, > .hotplug-resident-eject-button, > .modal-dialog-button, > .app-view-control {} > > Would be nice if all these button just had a 'button' class associated. It's not a big deal sticking another style class in there, but all of the above can already be addressed as 'StButton' ...
Yeah, but I think it makes sense to use the same gtk+ logic for the css. In gtk+ we try to avoid as much as possible to use widget names preferring generic classes so say a GtkButton, a GtkToggleButton and a GtkComboBox could share the same style. Using the same logic (where possible) in shell makes sense so there's less learning involved in styling both and where makes sense the same style could be shared.
Created attachment 294690 [details] [review] theme: a button is a button is a button
Attachment 294690 [details] pushed as 48cfd35 - theme: a button is a button is a button