I have already opened a question about this problem. But I think, I solved the problem. SCSS parent selector not works
But here is another problem.
When I write this Scss code:
#partThree{
display: block;
.two-parts &{
display: none;
}
}
It's turn to this Css code:
.two-parts body #parts #partThree {
display: none;
}
It should be in Css:
body #parts.two-parts #partThree {
display: none;
}
See Question&Answers more detail:os