fix page bgcolor for the screenshot tool and ublock, issue #7

This commit is contained in:
Sai Kurogetsu 2017-12-11 18:00:44 +00:00
parent 2c2989a2e3
commit 9905d8243a
1 changed files with 10 additions and 1 deletions

View File

@ -17,7 +17,8 @@
/*******************************************************************************
* Dark about: pages */
*|*:root {
/* keep this selector the same as the next one */
*|*:root:not(#ublock0-epicker) {
--in-content-page-color: #ccc !important;
--in-content-page-background: #2e3436 !important;
--in-content-text-color: #ccc !important;
@ -53,6 +54,14 @@
--in-content-table-header-background: #0a84ff;
}
/* A workaround for the screenshot tool, issue #7 */
@-moz-document regexp("^moz-extension://.+/blank.html$") {
/* keep this selector the same as the previous one */
*|*:root:not(#ublock0-epicker) {
--in-content-page-background: unset !important;
}
}
/* Checkboxes and radios */
xul|*.checkbox-check, xul|*.radio-check {
background-color: var(--in-content-box-background) !important;