mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-17 20:58:08 +02:00
SCSS fixes and modifications, fixes #451
This commit is contained in:
parent
3ec045529f
commit
402a150d3e
File diff suppressed because one or more lines are too long
34
lexers/testdata/scss.actual
vendored
34
lexers/testdata/scss.actual
vendored
@ -1,3 +1,35 @@
|
||||
@use "src/corners" as c;
|
||||
@use "src/corners" as *;
|
||||
|
||||
/* private vars */
|
||||
$-radius: 3px;
|
||||
$_radius: 3px;
|
||||
|
||||
$black: #000 !default;
|
||||
|
||||
@use 'library' with (
|
||||
$black: #222,
|
||||
$config: (
|
||||
important: true,
|
||||
utility: (
|
||||
leading-trim: trim,
|
||||
properties: (leading-trim),
|
||||
variants: (
|
||||
both: both
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
@use 'library' as * with (
|
||||
$black: #222;
|
||||
);
|
||||
|
||||
.content {
|
||||
$variable: value !global;
|
||||
value: $variable;
|
||||
}
|
||||
|
||||
$roboto-font-path: "../fonts/roboto";
|
||||
|
||||
@font-face {
|
||||
@ -243,7 +275,7 @@ $lightbox_shadow: 0 2px 5px rgba(0, 0, 0, .2);
|
||||
&-header {
|
||||
overflow: hidden;
|
||||
@include lb_styles-header();
|
||||
&-headline{
|
||||
&-headline {
|
||||
line-height: 1rem;
|
||||
padding-right: calc(#{$lightbox_header-height} * 2);
|
||||
overflow: hidden;
|
||||
|
309
lexers/testdata/scss.expected
vendored
309
lexers/testdata/scss.expected
vendored
@ -1,4 +1,148 @@
|
||||
[
|
||||
{"type":"Keyword","value":"@use"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringDouble","value":"\"src/corners\""},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"as"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameNamespace","value":"c"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Keyword","value":"@use"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringDouble","value":"\"src/corners\""},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"as"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameNamespace","value":"*"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"CommentMultiline","value":"/* private vars */"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameVariable","value":"$-radius"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"3"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameVariable","value":"$_radius"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"3"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$black"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberHex","value":"#000"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"!default"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"Keyword","value":"@use"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringSingle","value":"'library'"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"with"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameVariable","value":"$black"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberHex","value":"#222"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameVariable","value":"$config"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"important"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NamePseudo","value":"true"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"utility"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"leading-trim"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"trim"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"properties"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Name","value":"leading-trim"},
|
||||
{"type":"Punctuation","value":")"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"variants"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"both"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"both"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":")"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":")"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":")"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"Keyword","value":"@use"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringSingle","value":"'library'"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"as"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameNamespace","value":"*"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"with"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameVariable","value":"$black"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberHex","value":"#222"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameClass","value":".content"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameVariable","value":"$variable"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"value"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"!global"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"value"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameVariable","value":"$variable"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$roboto-font-path"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
@ -37,7 +181,7 @@
|
||||
{"type":"LiteralNumberInteger","value":"100"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"Keyword","value":"@use"},
|
||||
{"type":"Text","value":" "},
|
||||
@ -47,7 +191,7 @@
|
||||
{"type":"NameVariable","value":"$primary-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"red"},
|
||||
{"type":"NameConstant","value":"red"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameClass","value":".inverse"},
|
||||
@ -83,7 +227,7 @@
|
||||
{"type":"NameAttribute","value":"list-style-type"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"none"},
|
||||
{"type":"NameEntity","value":"none"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -106,9 +250,9 @@
|
||||
{"type":"LiteralNumberInteger","value":"1"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"solid"},
|
||||
{"type":"NameEntity","value":"solid"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"gray"},
|
||||
{"type":"NameConstant","value":"gray"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -150,9 +294,9 @@
|
||||
{"type":"LiteralNumberInteger","value":"1"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"solid"},
|
||||
{"type":"NameEntity","value":"solid"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"black"},
|
||||
{"type":"NameConstant","value":"black"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-radius"},
|
||||
@ -170,7 +314,7 @@
|
||||
{"type":"Name","value":"null"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$base-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -264,14 +408,14 @@
|
||||
{"type":"NameVariable","value":"$ratio"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"@return"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameVariable","value":"$value"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$normal-font-size"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -297,7 +441,7 @@
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$sizes"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -377,9 +521,7 @@
|
||||
{"type":"NameAttribute","value":"display"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"inline"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"NameConstant","value":"block"},
|
||||
{"type":"NameEntity","value":"inline-block"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"font-family"},
|
||||
@ -394,9 +536,9 @@
|
||||
{"type":"NameVariable","value":"$glyph"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$icons"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -452,9 +594,7 @@
|
||||
{"type":"NameAttribute","value":"display"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"inline"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"NameConstant","value":"block"},
|
||||
{"type":"NameEntity","value":"inline-block"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"font-family"},
|
||||
@ -508,13 +648,13 @@
|
||||
{"type":"NameAttribute","value":"border-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"transparent"},
|
||||
{"type":"NameEntity","value":"transparent"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-style"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"solid"},
|
||||
{"type":"NameEntity","value":"solid"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-width"},
|
||||
@ -551,7 +691,7 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"=="},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"right"},
|
||||
{"type":"NameEntity","value":"right"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -587,7 +727,7 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"=="},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"left"},
|
||||
{"type":"NameEntity","value":"left"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -627,13 +767,13 @@
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"black"},
|
||||
{"type":"NameConstant","value":"black"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"right"},
|
||||
{"type":"NameEntity","value":"right"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$icons"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -681,9 +821,7 @@
|
||||
{"type":"NameAttribute","value":"display"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"inline"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"NameConstant","value":"block"},
|
||||
{"type":"NameEntity","value":"inline-block"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"font-family"},
|
||||
@ -705,7 +843,7 @@
|
||||
{"type":"CommentMultiline","value":"/* This CSS will print because %message-shared is extended. */"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"message-shared"},
|
||||
{"type":"NameClass","value":"message-shared"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -715,7 +853,7 @@
|
||||
{"type":"LiteralNumberInteger","value":"1"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"solid"},
|
||||
{"type":"NameEntity","value":"solid"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberHex","value":"#ccc"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
@ -737,20 +875,20 @@
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"CommentSingle","value":"// This CSS won't print because %equal-heights is never extended.\n"},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"equal-heights"},
|
||||
{"type":"NameClass","value":"equal-heights"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"display"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"flex"},
|
||||
{"type":"NameEntity","value":"flex"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"flex-wrap"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"wrap"},
|
||||
{"type":"NameEntity","value":"wrap"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -762,7 +900,7 @@
|
||||
{"type":"Keyword","value":"@extend"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"message-shared"},
|
||||
{"type":"NameClass","value":"message-shared"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -774,13 +912,13 @@
|
||||
{"type":"Keyword","value":"@extend"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"message-shared"},
|
||||
{"type":"NameClass","value":"message-shared"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"green"},
|
||||
{"type":"NameConstant","value":"green"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -792,13 +930,13 @@
|
||||
{"type":"Keyword","value":"@extend"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"message-shared"},
|
||||
{"type":"NameClass","value":"message-shared"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"red"},
|
||||
{"type":"NameConstant","value":"red"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -810,16 +948,16 @@
|
||||
{"type":"Keyword","value":"@extend"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Operator","value":"%"},
|
||||
{"type":"NameTag","value":"message-shared"},
|
||||
{"type":"NameClass","value":"message-shared"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"border-color"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameEntity","value":"yellow"},
|
||||
{"type":"NameConstant","value":"yellow"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n\n"},
|
||||
{"type":"NameVariable","value":"$grid-gutter-width"},
|
||||
{"type":"Operator","value":" :"},
|
||||
@ -975,7 +1113,7 @@
|
||||
{"type":"LiteralNumberInteger","value":"1"},
|
||||
{"type":"KeywordType","value":"px"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"solid"},
|
||||
{"type":"NameEntity","value":"solid"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameVariable","value":"$eee"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
@ -985,7 +1123,7 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameFunction","value":"transparentize"},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"NameEntity","value":"black"},
|
||||
{"type":"NameConstant","value":"black"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberFloat","value":".4"},
|
||||
@ -1099,7 +1237,7 @@
|
||||
{"type":"NameAttribute","value":"font-weight"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"bold"},
|
||||
{"type":"NameEntity","value":"bold"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
@ -1123,17 +1261,15 @@
|
||||
{"type":"NameAttribute","value":"box-sizing"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"border"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"Name","value":"box"},
|
||||
{"type":"NameEntity","value":"border-box"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"position"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"fixed"},
|
||||
{"type":"NameEntity","value":"fixed"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"height"},
|
||||
@ -1153,14 +1289,16 @@
|
||||
{"type":"NameAttribute","value":"left"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"vw"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"top"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"vh"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -1183,9 +1321,9 @@
|
||||
{"type":"NameAttribute","value":"transition"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"all"},
|
||||
{"type":"NameEntity","value":"all"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"ease-in-out"},
|
||||
{"type":"NameEntity","value":"ease-in-out"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberFloat","value":".5"},
|
||||
{"type":"KeywordType","value":"s"},
|
||||
@ -1207,7 +1345,7 @@
|
||||
{"type":"NameAttribute","value":"overflow"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"hidden"},
|
||||
{"type":"NameEntity","value":"hidden"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"left"},
|
||||
@ -1246,7 +1384,7 @@
|
||||
{"type":"NameAttribute","value":"position"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"absolute"},
|
||||
{"type":"NameEntity","value":"absolute"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"transform"},
|
||||
@ -1254,11 +1392,13 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameFunction","value":"translate"},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"%"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"%"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -1277,7 +1417,7 @@
|
||||
{"type":"NameAttribute","value":"overflow"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"auto"},
|
||||
{"type":"NameEntity","value":"auto"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"@include"},
|
||||
@ -1310,14 +1450,18 @@
|
||||
{"type":"NameAttribute","value":"overflow"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"hidden"},
|
||||
{"type":"NameEntity","value":"hidden"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"@include"},
|
||||
{"type":"NameDecorator","value":" lb_styles-header"},
|
||||
{"type":"Punctuation","value":"();"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"\u0026-headline{"},
|
||||
{"type":"Keyword","value":"\u0026"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"NameTag","value":"headline"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"line-height"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -1343,13 +1487,13 @@
|
||||
{"type":"NameAttribute","value":"overflow"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"hidden"},
|
||||
{"type":"NameEntity","value":"hidden"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"text-overflow"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"ellipsis"},
|
||||
{"type":"NameEntity","value":"ellipsis"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"max-height"},
|
||||
@ -1361,7 +1505,7 @@
|
||||
{"type":"NameAttribute","value":"text-transform"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"uppercase"},
|
||||
{"type":"NameEntity","value":"uppercase"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"@include"},
|
||||
@ -1442,13 +1586,13 @@
|
||||
{"type":"NameAttribute","value":"cursor"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"pointer"},
|
||||
{"type":"NameEntity","value":"pointer"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"position"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"absolute"},
|
||||
{"type":"NameEntity","value":"absolute"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"right"},
|
||||
@ -1485,7 +1629,8 @@
|
||||
{"type":"NameAttribute","value":"text-indent"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"-1000"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"1000"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"font-size"},
|
||||
@ -1507,19 +1652,20 @@
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"Keyword","value":"\u0026"},
|
||||
{"type":"NameDecorator","value":":before"},
|
||||
{"type":"NameAttribute","value":"\u0026"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Name","value":"before"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"\u0026"},
|
||||
{"type":"NameDecorator","value":":after"},
|
||||
{"type":"Operator","value":"\u0026:"},
|
||||
{"type":"Name","value":"after"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"position"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameConstant","value":"absolute"},
|
||||
{"type":"NameEntity","value":"absolute"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"left"},
|
||||
@ -1540,11 +1686,13 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameFunction","value":"translate"},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"%"},
|
||||
{"type":"Operator","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"-50"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"50"},
|
||||
{"type":"KeywordType","value":"%"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -1601,7 +1749,8 @@
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"NameFunction","value":"rotate"},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"LiteralNumberInteger","value":"-45"},
|
||||
{"type":"Operator","value":"-"},
|
||||
{"type":"LiteralNumberInteger","value":"45"},
|
||||
{"type":"KeywordType","value":"deg"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n "},
|
||||
@ -1614,7 +1763,7 @@
|
||||
{"type":"Keyword","value":"@media"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"NameConstant","value":"min-width"},
|
||||
{"type":"NameAttribute","value":"min-width"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringInterpol","value":"#{"},
|
||||
@ -1668,7 +1817,7 @@
|
||||
{"type":"Keyword","value":"@media"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"NameConstant","value":"min-width"},
|
||||
{"type":"NameAttribute","value":"min-width"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringInterpol","value":"#{"},
|
||||
@ -1715,9 +1864,9 @@
|
||||
{"type":"KeywordType","value":"rem"},
|
||||
{"type":"Punctuation","value":");"},
|
||||
{"type":"Text","value":"\n "},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameAttribute","value":"}"},
|
||||
{"type":"Punctuation","value":"}"},
|
||||
{"type":"Text","value":"\n"},
|
||||
{"type":"NameVariable","value":"$wrapper"},
|
||||
{"type":"Operator","value":":"},
|
||||
@ -1746,7 +1895,7 @@
|
||||
{"type":"Keyword","value":"@media"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"NameConstant","value":"min-width"},
|
||||
{"type":"NameAttribute","value":"min-width"},
|
||||
{"type":"Operator","value":":"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringInterpol","value":"#{"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user