Код: Выделить всё
data-class="Form-status--complete"
data-class="Form-status--in-progress"
data-class="Form-status--expired"
Код: Выделить всё
[data-class='Form'] {
&-status {
&--complete {
color: $c-state-orange;
}
&--in-progress {
color: $notice-icon-pending;
}
&--expired {
color: $c-state-gray;
}
}
}
Я предполагаю, что вы не можете просто раскрыть квадратные скобки и обернуть ими свою логику, например:
Код: Выделить всё
[data-class='Form {
&-status {
...
}']
Подробнее здесь: https://stackoverflow.com/questions/798 ... tion-for-t
Мобильная версия