Commit Graph

5 Commits

Author SHA1 Message Date
fegger 2ba6f472ea Refactor pinenote-shell CSS for GTK compatibility
Remove global reset and `window.` element prefixing. Expand shorthand
properties to explicit directional forms and drop unsupported
`border-radius`/`transition`/`animation` rules that break GTK CSS
parsing.
2026-07-13 14:42:04 +02:00
fegger c88527b4bd Expand CSS shorthand for GTK4 compatibility
Breaks apart margin, padding, and transition shorthand properties into their
component forms and lowercases the `Icon` selector, matching GTK4 CSS
expectations. Also removes an explicit max-width from the brightness levelbar.
2026-07-13 14:39:24 +02:00
fegger fe7d25bba9 Fix CSS margin/width shorthand compatibility in shell widget
Expand shorthand `margin` and `width` properties for `.section` and
`.brightness-levelbar` to individual longhand properties, likely to
avoid issues with older GTK/CSS parsing.
2026-07-13 14:34:22 +02:00
fegger 05b18bdade Improve e-ink support with forced refreshes and no animations
- Add `einkRefresh()` helper calling `pdlc-cli --refresh` after rotation,
  brightness changes, waveform changes, and when the widget opens
- Disable CSS transitions and animations globally to reduce ghosting
- Remove button hover transform and transition effects
- Update README with e-ink-specific guidance and tuning notes
2026-07-13 13:38:46 +02:00
fegger 850a8d0b1c Add Pinenote Shell widget with control panel 2026-07-13 12:16:01 +02:00