RoseTheFlower / MetroSteam

Metro skin for Steam. Reborn.
195 stars 7 forks source link

[Suggestion] Customizeable GameIcon size with custom.css #44

Open Kadsener opened 2 months ago

Kadsener commented 2 months ago

Hi,

With the current configuration the GameIcons feel a bit too small for me personally, it's 16px at these two code snippets in the libraryroot.custom.css

Line 5053: /* [class*="gamelistentry_Container_"] [class*="gamelistentry_GameIcon_"], [class*="gamelistentry_AppIconDownloading_"] */ ._2-O4ZG0KrnSrzISHBKctFQ .ga1hyw11cdBVodrCAidPF, ._2kzMb_F7UTOEdecAFftN-l { height: 16px; width: 16px; margin-top: 1px; }

Line 6616:

/* [class*="appactivityday_GameIcon_"] */ ._2B8T_uqbddQRWQ2z4FjgPW { margin-top: -2px; /* Correcting the improper alignment */ height: 16px; width: 16px; }

Personally I feel like 18px is better fit for the icons, I have been modifying these values for my personal taste every time I dowladed your skin.

Could it be possible to change this value with the Custom.css that way I dont have to find these lines every time?

RoseTheFlower commented 2 months ago

I don't think introducing it is a var is a good idea, given how there have always been people wanting to adjust one thing or another to their preference, usually with little to nothing in common between the preferences.

However, you can make any change or introduce anything new via custom.css. More on that here. The only problem with it is that whenever Valve randomize the class names again, you'll have to update that too. We all do these days.

Kadsener commented 2 months ago

Thank you for the qucik answer. My knowlage on CSS is limited at best. Thats why I tought asking. I added those lines to the custom.css with !important as you suggetsed. I'll keep this in mind, when I want to modify the theme in the future.

Also Thank you for all of your hard work and keeping the Metro Steam Theme alive. Been using it for amlost 10 years, and I could not image my Desktop Steam Client any other way.