mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-03 16:36:35 +00:00
feat: Show an opaque background for non transparent views, b=no-bug, c=common
This commit is contained in:
@@ -17,8 +17,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
& browser[type='content'] {
|
& 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));
|
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) {
|
@media not -moz-pref('layout.css.prefers-color-scheme.content-override', 2) {
|
||||||
& browser[type='content'] {
|
& browser[type='content'] {
|
||||||
|
Reference in New Issue
Block a user