-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint LESS files using Stylelint #1948
Conversation
@@ -113,14 +113,14 @@ | |||
justify-content: center; | |||
} | |||
} | |||
&:not(active) { | |||
&:not(.active) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was a bug I belive
59d10cf
to
60ad5df
Compare
public/css/agileui.less
Outdated
@@ -216,7 +211,7 @@ footer.atk-footer { | |||
width: 40%; | |||
z-index: @rightPanelIndex; | |||
&.atk-visible { | |||
box-shadow: 0px 0 5px fade(@black, 20%); | |||
box-shadow: 0 0 5px fade(@black, 20%); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you try like this:
box-shadow: 0px 0px 5px fade(@black, 20%);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LESS can render it, but what should it do?
docs https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://lesscss.org/less-preview/#eyJjb2RlIjoiQGJsYWNrOiAjMDAwO1xuXG5saWIge1xuICAgIGJveC1zaGFkb3c6IDAgMCA1cHggZmFkZShAYmxhY2ssIDIwJSk7XG59IiwiYWN0aXZlVmVyc2lvbiI6IjQuMS4zIn0= fade()
seems to be a LESS function but Stylelint does not like it...
and should be safe to change to rgba
https://lesscss.org/less-preview/#eyJjb2RlIjoiQGJsYWNrOiAjMDUwO1xuXG5saWIge1xuICAgIGJveC1zaGFkb3c6IDAgMCA1cHggcmdiYShAYmxhY2ssIDIwJSk7XG4gICAgYm94LXNoYWRvdzI6IDAgMCA1cHggZmFkZShAYmxhY2ssIDIwJSk7XG59IiwiYWN0aXZlVmVyc2lvbiI6IjQuMS4zIn0=
cf52e00
to
9403ad0
Compare
No description provided.