EDIT still to be done:
We've already done some enhancements on Software Center, but I'm hoping you will agree that these small tweaks would be good too 😃





This is so funny. You can style the .installed-icon in gtk inspector to color: green without a problem. When you try the same in _common.scss it just does not work. The only thing that works is to change the background to green, but this is not what we want, right?
I just love how much the gtk theming is working differently in different places! :dancing_men:
There is sadly no style class for the list :( If I style "list" every list is changed.
What would be possible is to style the
.list-box-app-row { border-radius: 5px; border: 1px solid $boders_color; margin: 10px 0;}


I couldn't remove the separator, but would something like this be possible:
.list-box-app-row { border-radius: 0px; border-left: 1px solid #cdcdcd; border-right: 1px solid #cdcdcd; margin: -1px 0;}


@madsrh nice idea with the -1px this way that gap is closed. PR incoming so we can at least reduce the issue =)
@clobrano
The border for the selection menu in photos is very fat btw =) Maybe we can make a selection-menu PR?

@Feichtmeier The "No screenshot provided" stays behind the image. Is this a bug?
I can remove it with .screenshot-images { background: none; } but this should only be applied when there's a preview image 🤷♂️

It does this in Adwaita too, but it looks like a mistake
I can remove it with .screenshot-images { background: none; } but this should only be applied when there's no preview image man_shrugging
this sounds like a bug
The border for the selection menu in photos is very fat btw =) Maybe we can make a selection-menu PR?
It should be equal to normal hb button, but it looks dark black, that's why it is weird
In selection-mode is without borders, right? We should make it the same (border or no border, but the same)
The "No screenshot provided" stays behind the image. Is this a bug?
Some applications looks really weird without the background - only a few (mostly the full height ones) looks better this way, so I guess the background should stay.
Sorry for the noise 🙅♂️
Can we change buttons as well?
For application buttons: Adwaita has a very very subtle highlight (of the text and background) on hover and currently we have nothing. But in the _Installed_ tab we use the hover gray.
Adwaita:

Categories: We have no hover and Adwaita again uses highlight (of icon, text and background). When pressed icon, text and border uses the selection color. I don't think that it looks very good with orange - especially for icon and text.
Community theme:

Okay... just forget about gnome software's buttons........

What the hell...
Little update over .installed-icon and the like. This style comes from gnome-software's gtk-style.css, which is a gresource. Looking for a way to overcome its priority over our css :+1:
Ah nice one! Brilliant! That .installed-icon was driven my nuts
Currently we cannot change it. As said, it is defined in a css file which is loaded after ours and there's nothing we can do about it, except ask upstream if they can implement something to allow this, but for the future
@clobrano Is there an upstream issue?
Not yet, but technically it is not a bug, just a feature request.
There are two features we can request (suggested on IRC, talking with desktop team)
!important in gtk+How about patching this downstream? Would this be possible? Basically disable this function call in the code and completely style it in our scss
which function call? We should patch Gnome Software
void myCrazySoftwareCenterLoadCssFunction(AllmyFunnyArguments[ ] foobar) {
loadOrangeCssFiles("path");
loadGreenCssFiles("greenPath");
}
:laughing:
If meant, remove that calls in "that" softwarecenter code downstream :man_shrugging:
@madsrh about your comment on application and categories buttons, I wonder if it was before the last button iteration.
We now have the same effect Adwaita has (background highlight), however, being our normal button color quite bright, it is less visible.
We should also have a increment of box-shadow on hover, but unfortunately box-shadow is set to none in the internal and unsuperable gtk-style.css :man_facepalming:
... as well as orange color when button is pressed.
@clobrano +1 sure, but 🤦♂️
More a note to myself, I will try again to fix the gray line without introducing terrible side effects, but generally speaking I wouldn't spend more time on this than what already spent :smile:
I am afraid, none of the requested changes are possible, due to custom css or too generic widgets to style :(
Okay @clobrano
Thanks for looking into this then 😩
Most helpful comment
@clobrano +1 sure, but 🤦♂️