Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Add the ability to nest @media queries #1189

Closed
vahnrr opened this issue Sep 11, 2020 · 2 comments
Closed

[REQUEST] Add the ability to nest @media queries #1189

vahnrr opened this issue Sep 11, 2020 · 2 comments
Milestone

Comments

@vahnrr
Copy link

vahnrr commented Sep 11, 2020

Describe the feature

  • Nesting @media queries would allow to re-use style
  • It would look like:
@media (min-width: 500px) {
  @media (min-width: 767px) {
    * {
      width-specific-color: #ff0000;
    }
  }
  @media (min-width: 1079px) {
    * {
      width-specific-color: #00ff00;
    }
  }
  window {
    background-color: @width-specific-color;
    color: #000000;
  }
};

When reporting a feature request include the following information:

  • Rofi version: Version: 1.6.0-6-g3b86326b (makepkg)
DaveDavenport added a commit that referenced this issue Sep 13, 2020
@DaveDavenport
Copy link
Collaborator

Added an initial version, needs testing.

@DaveDavenport DaveDavenport added this to the 1.6.1 milestone Sep 13, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants