Closed dannycolin closed 5 years ago
@DaveDavenport ah my bad I didn't copy/paste the whole text from vim :). If you need more informations on that feature request let me know.
Interesting use-case. Can see the use of this. Not sure how feasible this is in the current architecture, will need to investigate.
Initial implementation on separate branch
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.
This feature is to discuss about the possibility of adding CSS Media Queries support in Rasi Theming. Feel free to suggest, critic and expose other use cases you can think about. I'll update the use cases section accordingly.
Version
1.5.1
Configuration
https://gist.github.com/dannycolin/fe02588d5bf65bbade2573a3a439ab31
Launch Command
rofi -show drun
Steps to reproduce
~/.config/rofi/themes/
@media (min-width: 900px) { inputbar { orientation: horizontal; } }
{min, max}-width, {min, max}-height, portrait
Change CSS according to screen size and orientation
mode: mode-name
Give the ability to apply different CSS rules depending on the active mode