avoid styling iframes fix #167

This commit is contained in:
overdodactyl 2018-06-18 20:06:43 -06:00
parent 0117512f2b
commit 8ae1d9a9d1
3 changed files with 6 additions and 6 deletions

View File

@ -565,8 +565,8 @@ url-prefix(https://discovery.addons.mozilla.org) {
#newtab-customize-overlay, #newtab-customize-overlay,
.exceptionDialogButtonContainer, .exceptionDialogButtonContainer,
.snippet .button-link, .snippet .button-link,
html:not(#ublock0-epicker), html:not(#ublock0-epicker):not(iframe>body) body,
html:not(#ublock0-epicker) body { html:not(#ublock0-epicker):not(iframe>html) {
background: var(--in-content-page-background)!important; background: var(--in-content-page-background)!important;
color: var(--in-content-page-color)!important color: var(--in-content-page-color)!important
} }

View File

@ -61,8 +61,8 @@ url-prefix(https://discovery.addons.mozilla.org) {
#newtab-customize-overlay, #newtab-customize-overlay,
.exceptionDialogButtonContainer, .exceptionDialogButtonContainer,
.snippet .button-link, .snippet .button-link,
html:not(#ublock0-epicker), html:not(#ublock0-epicker):not(iframe>body) body,
html:not(#ublock0-epicker) body { html:not(#ublock0-epicker):not(iframe>html) {
background: var(--in-content-page-background)!important; background: var(--in-content-page-background)!important;
color: var(--in-content-page-color)!important color: var(--in-content-page-color)!important
} }

View File

@ -565,8 +565,8 @@ url-prefix(https://discovery.addons.mozilla.org) {
#newtab-customize-overlay, #newtab-customize-overlay,
.exceptionDialogButtonContainer, .exceptionDialogButtonContainer,
.snippet .button-link, .snippet .button-link,
html:not(#ublock0-epicker), html:not(#ublock0-epicker):not(iframe>body) body,
html:not(#ublock0-epicker) body { html:not(#ublock0-epicker):not(iframe>html) {
background: var(--in-content-page-background)!important; background: var(--in-content-page-background)!important;
color: var(--in-content-page-color)!important color: var(--in-content-page-color)!important
} }