From 573576162389f123c82aa27fc5f79a1eb448d88b Mon Sep 17 00:00:00 2001 From: Richard Marti Date: Mon, 2 Aug 2021 10:27:01 +0200 Subject: [PATCH] Bug 1723182 - Use the correct color for IMIP buttons with prefers-contrast. r=darktrojan --- calendar/base/themes/common/calendar.css | 7 ++++--- calendar/base/themes/linux/calendar.css | 1 - calendar/base/themes/osx/calendar.css | 1 - calendar/base/themes/windows/calendar.css | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/calendar/base/themes/common/calendar.css b/calendar/base/themes/common/calendar.css index abf7701451..66723fe264 100644 --- a/calendar/base/themes/common/calendar.css +++ b/calendar/base/themes/common/calendar.css @@ -119,10 +119,13 @@ /* iMIP notification bar */ .calendar-notification-bar { background-color: #baeeff; - color: #000; padding: 3px; } +:root[lwt-tree-brighttext] .calendar-notification-bar { + background-color: #464cb9; +} + .calendar-notification-bar { margin: 0 4px 4px; border-radius: 4px; @@ -130,9 +133,7 @@ } :root[lwt-tree] #imip-view-toolbar { - --imip-button-color: var(--toolbar-color); --imip-button-background: var(--toolbar-bgcolor); - color: var(--lwt-text-color); } #imip-bar > img { diff --git a/calendar/base/themes/linux/calendar.css b/calendar/base/themes/linux/calendar.css index 0c57cdcd60..ceb7c5f992 100644 --- a/calendar/base/themes/linux/calendar.css +++ b/calendar/base/themes/linux/calendar.css @@ -60,6 +60,5 @@ } #imip-view-toolbar { - --imip-button-color: WindowText; --imip-button-background: AppWorkspace; } diff --git a/calendar/base/themes/osx/calendar.css b/calendar/base/themes/osx/calendar.css index cb009a2856..d72cc7e5a7 100644 --- a/calendar/base/themes/osx/calendar.css +++ b/calendar/base/themes/osx/calendar.css @@ -20,7 +20,6 @@ } #imip-view-toolbar { - --imip-button-color: -moz-DialogText; --imip-button-background: #fff; } diff --git a/calendar/base/themes/windows/calendar.css b/calendar/base/themes/windows/calendar.css index 1068101e47..4c16e06637 100644 --- a/calendar/base/themes/windows/calendar.css +++ b/calendar/base/themes/windows/calendar.css @@ -66,7 +66,6 @@ } #imip-view-toolbar { - --imip-button-color: WindowText; --imip-button-background: ButtonFace; }