Jonas Jenwald
ae1cbc6a9e
Use the light-dark
CSS function in the viewer (issue 17780)
...
This removes the need for (most) separate `@media (prefers-color-scheme: dark)` blocks when defining colors values, and also provides a simple way of forcing use of either the light or dark theme.
Please refer to https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark and https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
*NOTE:* To support this in older browsers, we utilize a [PostCSS plugin](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-light-dark-function ).
2025-04-23 15:31:39 +02:00
Calixte Denizet
1608e36de6
Remove unused CSS variables
2025-01-07 10:29:23 +01:00
Calixte Denizet
6db49bedbe
Update the toggle-button css after the changes in m-c (bug 1940085)
2025-01-06 18:34:08 +01:00
Jonas Jenwald
3596a03279
Fix the RTL-rule for the editorHighlightShowAll
button, such that it works outside of the Firefox PDF Viewer
...
These CSS rules were imported straight from mozilla-central, and contains a property that causes the RTL-rule to be skipped everywhere else (even when using the development viewer in Firefox).
2024-04-10 11:35:04 +02:00
Calixte Denizet
39aeea3e94
[Editor] Add a toggle button to show/hide all the highlights (bug 1867740)
2024-03-07 13:16:59 +01:00