|
@@ 142-144 (lines=3) @@
|
| 139 |
|
return $indentation . "\t" . implode(",", $token->Selectors) . " {"; |
| 140 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetEndToken) { |
| 141 |
|
return $indentation . "\t" . "}"; |
| 142 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetDeclarationToken) { |
| 143 |
|
return $indentation . "\t\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 144 |
|
} elseif ($token instanceof \CssAtCharsetToken) { |
| 145 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 146 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 147 |
|
return "@font-face {"; |
|
@@ 148-150 (lines=3) @@
|
| 145 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 146 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 147 |
|
return "@font-face {"; |
| 148 |
|
} elseif ($token instanceof \CssAtFontFaceDeclarationToken) { |
| 149 |
|
return $indentation . "\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 150 |
|
} else { |
| 151 |
|
return $indentation . $token; |
| 152 |
|
} |
| 153 |
|
} |