feat: Show an opaque background for non transparent views, b=no-bug, c=common

This commit is contained in:
Mr. M
2025-10-02 22:25:58 +02:00
parent 074847dd09
commit cbc00b031f

View File

@@ -17,8 +17,14 @@
}
& browser[type='content'] {
&:not([transparent='true']) {
background: light-dark(rgb(255, 255, 255), rgb(32, 32, 32));
}
&[transparent='true'] {
background: light-dark(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
}
}
@media not -moz-pref('layout.css.prefers-color-scheme.content-override', 2) {
& browser[type='content'] {