RSS Feed/News Nested color functions cause template errors in 2.3 RC4

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,805
Points
823

Reputation:

Got 2 new ones with color functions here.

When nesting color functions, it can cause errors when compiling the LESS. Got a couple examples:

Less:

box-shadow: 0 4px 15px 0 fade(shade(darken(@xf-pageBg, 20%), 40%), 20%);

If I remove - for example - the shade function, it'll end up coming out fine.

@xf-pageBg is just #fafbff - also tested with an rgb value, same issue.

Additionally, this also applies to inheritance from multiple style properties.

1719344682956.webp

In this case, the border...

Read more

Continue reading...
 
Status
Not open for further replies.
Top