40fingers / StyleHelper-Sko

Manipulate DNNCMS HTML, JS and CSS in #dnncms
https://www.40fingers.net/Products/DNN-Stylehelper
7 stars 2 forks source link

Default.css is everywhere!!! #35

Closed leedavi closed 1 year ago

leedavi commented 1 year ago

image

image

Ouch!!!! Timo.... Ouch!!!! :-)

Timo-Breumelhof commented 1 year ago

Sorry I don't understand your issue?

Timo-Breumelhof commented 1 year ago

Just be more specific, pass "/Resources/Shared/stylesheets/dnndefault/7.0.0/default.cs" for instance..

leedavi commented 1 year ago

The issue is that "MarkCluster.Default.css" is removed, because we remove the "Default.css" file when the user is not logged in.

Like in your documentation, because the line contains "default.css", it is removed. But we need "MarkCluster.Default.css".

We have had to host it local and rename it to stop style helper from removing it.

It would be nice to have wildcard expressions, so we can match the full file name "Default.css" instead of anything matching a part of the path.

I wonder if "/Default.css" will work. I'll ask Frank to try.

leedavi commented 1 year ago

Try undocumented wild card. RemoveCssFile="/Resources/Shared/stylesheets/.*/default.css"

Timo-Breumelhof commented 1 year ago

It's documented now :-)

image

leedavi commented 1 year ago

Thank you Timo. Great work.