|
@@ 124-126 (lines=3) @@
|
| 121 |
|
return $indentation . "\t" . implode(",", $token->Selectors) . " {"; |
| 122 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetEndToken) { |
| 123 |
|
return $indentation . "\t" . "}"; |
| 124 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetDeclarationToken) { |
| 125 |
|
return $indentation . "\t\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 126 |
|
} elseif ($token instanceof \CssAtCharsetToken) { |
| 127 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 128 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 129 |
|
return "@font-face {"; |
|
@@ 130-132 (lines=3) @@
|
| 127 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 128 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 129 |
|
return "@font-face {"; |
| 130 |
|
} elseif ($token instanceof \CssAtFontFaceDeclarationToken) { |
| 131 |
|
return $indentation . "\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 132 |
|
} else { |
| 133 |
|
return $indentation . $token; |
| 134 |
|
} |
| 135 |
|
} |