PHP Класс SassCompactRenderer
Each CSS rule takes up only one line, with every property defined on that
line. Nested rules are placed next to each other with no newline, while
groups of rules have newlines between them.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Защищенные методы
Описание методов
between()
защищенный Метод
Renders the brace between the selectors and the properties
protected between ( ) : string |
Результат |
string |
the brace between the selectors and the properties |
Renders the brace at the end of the rule
protected end ( ) : string |
Результат |
string |
the brace between the rule and its properties |
renderDebug()
защищенный Метод
If the node has the debug_info options set true the line number and filename
are rendered in a format compatible with
{@link https://addons.mozilla.org/en-US/firefox/addon/firecompass-for-firebug/ FireCompass}.
Else if the node has the line_numbers option set true the line number and
filename are rendered in a comment.
protected renderDebug ( SassNode $node ) : string |
$node |
SassNode |
the node being rendered |
Результат |
string |
the debug information |
renderDirective()
публичный Метод
public renderDirective ( SassNode $node, array $properties ) : string |
$node |
SassNode |
the node being rendered |
$properties |
array |
properties of the directive |
Результат |
string |
the rendered directive |
renderProperties()
публичный Метод
renderProperty()
публичный Метод
renderRule()
публичный Метод
renderSelectors()
защищенный Метод