Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.
This repository was archived by the owner on May 5, 2022. It is now read-only.

Support SASS media queries inside selectors #120

@vaadin-bot

Description

@vaadin-bot

Originally by @hesara


Our SASS compiler should support SASS media queries inside selectors like the original SASS compiler does.

An example:

.sidebar {
  width: 300px;
  @media screen and (orientation: landscape) {
    width: 500px;
  }
}

should result in

.sidebar {
  width: 300px;
}
@media screen and (orientation: landscape) {
  .sidebar {
    width: 500px;
  }
}

See http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#media for more information.


Imported from https://dev.vaadin.com/ issue #11838

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions