Skip to content

Commit

Permalink
actually fix #13; The inversion of the mail in the composer window ca…
Browse files Browse the repository at this point in the history
…n be toggled by moving the window to the top of the screen.
  • Loading branch information
NiklasGollenstede committed Aug 21, 2017
1 parent 5c73503 commit d1e38c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mozilla-org-inverted.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
background-color: #fff0;
}

img[src$=".png"]:not(:hover), img[src$=".svg"]:not(foo)
img[src$=".png"]:not(:hover):not(.avatar), img[src$=".svg"]:not(foo)
{
filter: unset;
}
Expand Down
3 changes: 2 additions & 1 deletion raw-text-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

@-moz-document
regexp("^moz-extension://(?!.*[.]html?(:?$|[?#])).*$"),
regexp("^https?://(?!(?:tools|www)[.]ietf[.]org).*[.](?:css|js|txt)$")
regexp("^https?://(?!(?:tools|www)[.]ietf[.]org).*[.](?:css|js|txt)$"),
regexp("^file://.*[.](?:css|js|txt)$")
{
:root:not([class])>body:not([class])>pre:only-child /* .txt files */
{
Expand Down
8 changes: 6 additions & 2 deletions thunderbird-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{ margin-top: -2px; }

/* exclude window button area */
#titlebar-placeholder-on-TabsToolbar-for-captions-buttons, #TabsToolbar
#titlebar-placeholder-on-TabsToolbar-for-captions-buttons:not(foo)
{ background: transparent; }
window[sizemode="maximized"] #titlebar-placeholder-on-TabsToolbar-for-captions-buttons
{ background-image: linear-gradient(180deg, transparent 90%, black 90%); }
Expand Down Expand Up @@ -99,7 +99,11 @@

#content-frame /* #headers-box .color-button */
{
/* filter: invert(100%) hue-rotate(180deg); */
filter: invert(100%) hue-rotate(180deg);
}
window[screenY="0"] #content-frame
{ /* this is a hack. To turn off the inversion on the compose textbox, move the winwo to the very top of the screen */
filter: unset;
}

/* macOS fix */
Expand Down

0 comments on commit d1e38c1

Please sign in to comment.