|
@@ 165-167 (lines=3) @@
|
| 162 |
|
return $indentation . "\t" . implode(",", $token->Selectors) . " {"; |
| 163 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetEndToken) { |
| 164 |
|
return $indentation . "\t" . "}"; |
| 165 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetDeclarationToken) { |
| 166 |
|
return $indentation . "\t\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 167 |
|
} elseif ($token instanceof \CssAtCharsetToken) { |
| 168 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 169 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 170 |
|
return "@font-face {"; |
|
@@ 171-173 (lines=3) @@
|
| 168 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 169 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 170 |
|
return "@font-face {"; |
| 171 |
|
} elseif ($token instanceof \CssAtFontFaceDeclarationToken) { |
| 172 |
|
return $indentation . "\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 173 |
|
} else { |
| 174 |
|
return $indentation . $token; |
| 175 |
|
} |
| 176 |
|
} |