Squashed 'lib/vscode/' content from commit e5a624b788
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
This commit is contained in:
3
extensions/less/test/colorize-fixtures/14119.less
Normal file
3
extensions/less/test/colorize-fixtures/14119.less
Normal file
@@ -0,0 +1,3 @@
|
||||
#f(@hm: "broken highlighting in VS Code") {
|
||||
content: "";
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
:root {
|
||||
--spacing-unit: 6px;
|
||||
--cell-padding: (4 * var(--spacing-unit));
|
||||
}
|
||||
body {
|
||||
padding-left: calc(4 * var(--spacing-unit, 5px));
|
||||
}
|
||||
50
extensions/less/test/colorize-fixtures/test.less
Normal file
50
extensions/less/test/colorize-fixtures/test.less
Normal file
@@ -0,0 +1,50 @@
|
||||
@import "mystyle.css";
|
||||
@import url("mystyle.css");
|
||||
@import url("bluish.css") projection, tv;
|
||||
|
||||
@base: #f938ab;
|
||||
|
||||
.box-shadow(@style, @c) when (iscolor(@c)) {
|
||||
border-radius: @style @c;
|
||||
}
|
||||
|
||||
.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
|
||||
.box-shadow(@style, rgba(0, 0, 0, @alpha));
|
||||
}
|
||||
|
||||
.box {
|
||||
color: saturate(@base, 5%);
|
||||
border-color: lighten(@base, 30%);
|
||||
|
||||
div {
|
||||
.box-shadow((0 0 5px), 30%);
|
||||
}
|
||||
}
|
||||
|
||||
#header {
|
||||
h1 {
|
||||
font-size: 26px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p { font-size: 12px;
|
||||
a { text-decoration: none;
|
||||
&:hover { border-width: 1px }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@the-border: 1px;
|
||||
@base-color: #111;
|
||||
@red: #842210;
|
||||
|
||||
#header {
|
||||
color: (@base-color * 3);
|
||||
border-left: @the-border;
|
||||
border-right: (@the-border * 2);
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: (@base-color + #003300);
|
||||
border-color: desaturate(@red, 10%);
|
||||
}
|
||||
Reference in New Issue
Block a user