mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-03 08:28:38 +00:00
feat: Show an opaque background for non transparent views, b=no-bug, c=common
This commit is contained in:
@@ -17,7 +17,13 @@
|
||||
}
|
||||
|
||||
& browser[type='content'] {
|
||||
background: light-dark(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
|
||||
&: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) {
|
||||
|
Reference in New Issue
Block a user