Transferred from issue #2808 as requested.
Dokuwiki Greebo
windows 10 and 7
I have a number of css changes that I'd like to keep in separate files, but using @import within less files into conf dir of a farmer animal is not working.
For example using these two files into conf dir of a farmer the content of underlinehx.less is correctly embedded into the css sent to the browser.
/* userstyle.less */
@import "./underlinehx.less";
/* underlinehx.less */
h1:after, h2:after {
content: "";
display: block;
border-bottom: 1px solid #cccccc;
overflow: hidden;
}
If the same files are put into the conf dir of a virtual host farm animal underlinehx.less content is not embedded and instead the @import with a mangled path is sent to browser.
@import "/home/web/httpd/dokuwiki/farm/sandbox-wiki-devel/conf/./underlinehx.less";
Besides that the path would have no meaning for the browser, the @import is deeply nested into css and in any case it would be never executed.
Transferred from issue #2808 as requested.
Dokuwiki Greebo
windows 10 and 7
I have a number of css changes that I'd like to keep in separate files, but using
@importwithinlessfiles intoconfdir of a farmer animal is not working.For example using these two files into
confdir of a farmer the content ofunderlinehx.lessis correctly embedded into the css sent to the browser.If the same files are put into the
confdir of a virtual host farm animalunderlinehx.lesscontent is not embedded and instead the@importwith a mangled path is sent to browser.Besides that the path would have no meaning for the browser, the
@importis deeply nested into css and in any case it would be never executed.