From 3d4787c5b6e3e337fe51729deec7534a9e03191c Mon Sep 17 00:00:00 2001 From: Mahesh Bandara Wijerathna Date: Fri, 20 Oct 2023 09:28:18 +0530 Subject: [PATCH] [scss:gmail] Add styles to darken reply editor --- dist/gmail.user.css | 12 ++++++------ src/gmail.scss | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/gmail.user.css b/dist/gmail.user.css index 0cde8b9..31b8e54 100644 --- a/dist/gmail.user.css +++ b/dist/gmail.user.css @@ -43,20 +43,20 @@ color: #78b4f8 !important; background: #000; } - /* New Message Editor */ - .AD, .aSt { + /* New Message Editor and Reply Editor */ + .AD, .aSt, .gA .I5 { filter: invert(93.2%) hue-rotate(180deg); } - .AD .az2 .J-JN-M-I-Jm, .aSt .az2 .J-JN-M-I-Jm { + .AD .az2 .J-JN-M-I-Jm, .aSt .az2 .J-JN-M-I-Jm, .gA .I5 .az2 .J-JN-M-I-Jm { color: black; } - .AD .J-M, .aSt .J-M { + .AD .J-M, .aSt .J-M, .gA .I5 .J-M { filter: invert(93.2%) hue-rotate(180deg); } - .AD img, .aSt img { + .AD img:not(.uC > img), .aSt img:not(.uC > img), .gA .I5 img:not(.uC > img) { filter: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120%); } - .AD ::selection, .aSt ::selection { + .AD ::selection, .aSt ::selection, .gA .I5 ::selection { color: #78b4f8 !important; background: #000; } diff --git a/src/gmail.scss b/src/gmail.scss index c304a06..5a1159d 100644 --- a/src/gmail.scss +++ b/src/gmail.scss @@ -72,8 +72,8 @@ $revert-img-invert: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120% @include text-selection-fix; } - /* New Message Editor */ - .AD, .aSt { + /* New Message Editor and Reply Editor */ + .AD, .aSt, .gA .I5 { // Editor filter: $invert-colors; @@ -87,7 +87,7 @@ $revert-img-invert: invert(100%) hue-rotate(180deg) contrast(120%) saturate(120% } // Images - & img { + & img:not(.uC > img) { filter: $revert-img-invert; }