Bugged on new addons.mozilla.org design.

6 views
Skip to first unread message

dqe...@gmail.com

unread,
Apr 8, 2016, 9:45:08 AM4/8/16
to Color That Site!
Hi!

The instant I change something. Back or foreground the background of the title/summary area is immediately borked. It becomes almost full white.
And from then on the color remains permanently shifted from the rest. Originally it was identical to the page background at the top.

Not even resetting the color changes fixes this...

I figured it out. It's the same bug that I reported before. Transparency is wrongfully removed. That whole area was transparent. This addon should not touch the transparency parameters, since it can't manipulate it anyway.

Michael

unread,
Jun 3, 2016, 2:42:13 AM6/3/16
to Color That Site!, dqe...@gmail.com
This will be not corrected on the 0.17 but I already looked into it (on the mozillazine site).

The reason there wasn't transparency. CTS does leave transparency on changed images untouched (as far as I see from the code).

But color edits can change the order in which rules are applied to elements. This is because I have to use the !important keyword to override existing definitions.

The problem on the mozillazine was/is that my bitmaps color edits overrode rules with "bitmap: none" which normally had a higher "specificity".


I will try to incorporate a workaround in a newer version. As I see no way currently to avoid the "!important" keyword (it is easier to avoid when manually creating CSS but difficult on an automated process like this) I will probably also add the unchanged bitmap:none statements with "!important" to restore the correct order. Maybe even (optional) for unchanged foreground/background color definitions.

dqe...@gmail.com

unread,
Jun 4, 2016, 5:08:17 AM6/4/16
to Color That Site!, dqe...@gmail.com
Is this likely the cause of the youtube issue, where using CTS will ruin the seekbar?
Reply all
Reply to author
Forward
0 new messages