|
@@ 176-178 (lines=3) @@
|
| 173 |
|
return $indentation . "\t" . implode(",", $token->Selectors) . " {"; |
| 174 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetEndToken) { |
| 175 |
|
return $indentation . "\t" . "}"; |
| 176 |
|
} elseif ($token instanceof \CssAtKeyframesRulesetDeclarationToken) { |
| 177 |
|
return $indentation . "\t\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 178 |
|
} elseif ($token instanceof \CssAtCharsetToken) { |
| 179 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 180 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 181 |
|
return "@font-face {"; |
|
@@ 182-184 (lines=3) @@
|
| 179 |
|
return $indentation . "@charset " . $token->Charset . ";"; |
| 180 |
|
} elseif ($token instanceof \CssAtFontFaceStartToken) { |
| 181 |
|
return "@font-face {"; |
| 182 |
|
} elseif ($token instanceof \CssAtFontFaceDeclarationToken) { |
| 183 |
|
return $indentation . "\t" . $token->Property . ": " . $token->Value . ($token->IsImportant ? " !important" : "") . ($token->IsLast ? "" : ";"); |
| 184 |
|
} else { |
| 185 |
|
return $indentation . $token; |
| 186 |
|
} |
| 187 |
|
} |