File: import-and-relative-paths-test.less

package info (click to toggle)
less.js 1.6.3~dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,240 kB
  • sloc: sh: 128; makefile: 35; perl: 11
file content (17 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@import "../css/background.css";
@import "import-test-d.css";

@import "imports/logo";
@import "imports/font";

.unquoted-relative-path-bg() {
    background-image: url(../../data/image.jpg);
}
.quoted-relative-path-border-image() {
    border-image: url('../../data/image.jpg');
}

#imported-relative-path {
    .unquoted-relative-path-bg;
    .quoted-relative-path-border-image;
}