Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
add html5 input pseudo-selector to .scss file
visit a contact webform
input:invalid, textarea:invalid {
background-color: #FFEDED;
}
Got this error:
SassPropertyNodeException: Properties can not be assigned at root level in SassPropertyNode::isa() (line 200 of /var/www/mysite/sites/all/themes/sasson/phamlp/sass/tree/SassPropertyNode.php).
Am I doing something wrong here?
Thanks.
Comments
Comment #1
erutan CreditAttribution: erutan commentedHave you tried doing something along the lines of
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#referencing_pa...
Comment #2
Taiger CreditAttribution: Taiger commentedThat worked great thank you!
I built a new portfolio site on Sasson just in time for Drupalcon Denver!
This is a really good base theme. The only major thing I changed was adding the module stylesheet nuker from Tao.
Thank you for your work.
Comment #3
erutan CreditAttribution: erutan commentedGood to know - I'm actually not a developer on the theme, I just use it. I've asked enough questions in this issue queue I figured it'd be nice if I could answer one. :)
Comment #4
tsi CreditAttribution: tsi commentedThanks, erutan !
It is great we have a work-around, but if the expression is valid CSS, it shouldn't break the compilation.
So it is a minor bug, but it should be fixed in the compiler first, not in Sasson.