mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
290 lines
7.9 KiB
JSON
290 lines
7.9 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 124,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "AtRule",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 124,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 7,
|
|
"ctxt": 0
|
|
},
|
|
"value": "media",
|
|
"raw": "media"
|
|
},
|
|
"prelude": {
|
|
"type": "MediaQueryList",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"queries": [
|
|
{
|
|
"type": "MediaQuery",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"modifier": null,
|
|
"mediaType": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": "screen",
|
|
"raw": "screen"
|
|
},
|
|
"keyword": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 18,
|
|
"ctxt": 0
|
|
},
|
|
"value": "and",
|
|
"raw": "and"
|
|
},
|
|
"condition": {
|
|
"type": "MediaConditionWithoutOr",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"conditions": [
|
|
{
|
|
"type": "MediaFeaturePlain",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 20,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"value": "-webkit-min-device-pixel-ratio",
|
|
"raw": "-webkit-min-device-pixel-ratio"
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 124,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 122,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"value": "gradientWrapper",
|
|
"raw": "gradientWrapper"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 122,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"token": "LBrace"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 85,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 85,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"value": "-chrome-",
|
|
"raw": "-chrome-"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Function",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"value": "only",
|
|
"raw": "only"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 100,
|
|
"end": 101,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
},
|
|
{
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 102,
|
|
"end": 109,
|
|
"ctxt": 0
|
|
},
|
|
"value": "z-index",
|
|
"raw": "z-index"
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 109,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"token": "Colon"
|
|
},
|
|
{
|
|
"type": "Integer",
|
|
"span": {
|
|
"start": 111,
|
|
"end": 113,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10,
|
|
"raw": "10"
|
|
},
|
|
{
|
|
"type": "Delimiter",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"value": ";"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|