From 86eee3450ea9d294988300cdf9d3d43ddbec6781 Mon Sep 17 00:00:00 2001 From: Geoff Lankow Date: Mon, 12 Apr 2021 12:13:02 +1200 Subject: [PATCH] Port bug 1702330 - Graduate the infobars to the main proton pref. rs=bustage-fix DONTBUILD --HG-- extra : amend_source : b8cf27f7a299bf43587b81411b39677ae99f06b9 --- calendar/base/themes/common/lightning.css | 4 ++-- mail/themes/shared/mail/message-bar.css | 8 ++++---- mail/themes/shared/mail/messageHeader.css | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/calendar/base/themes/common/lightning.css b/calendar/base/themes/common/lightning.css index bbbba34971..a1a107bf75 100644 --- a/calendar/base/themes/common/lightning.css +++ b/calendar/base/themes/common/lightning.css @@ -120,13 +120,13 @@ padding: 3px; } -@media not (-moz-proton-infobars) { +@media not (-moz-proton) { .lightning-notification-bar { border-bottom: 1px solid ThreeDShadow; } } /** END not Proton **/ -@media (-moz-proton-infobars) { +@media (-moz-proton) { .lightning-notification-bar { margin: 0 4px 4px; border-radius: 4px; diff --git a/mail/themes/shared/mail/message-bar.css b/mail/themes/shared/mail/message-bar.css index 80a7230853..eba3587eb0 100644 --- a/mail/themes/shared/mail/message-bar.css +++ b/mail/themes/shared/mail/message-bar.css @@ -161,7 +161,7 @@ background-color: color-mix(in srgb, currentColor 20%, transparent); } -@media (-moz-proton-infobars) { +@media (-moz-proton) { @media not (prefers-contrast) { .container.infobar { box-shadow: 0 1px 2px rgba(58, 57, 68, 0.3); @@ -275,9 +275,9 @@ strong { --in-content-button-background-active: #878788; } } -} +} /** END Proton **/ -@media not (-moz-proton-infobars) { +@media not (-moz-proton) { :host { /* Colors used by default, and for [type=generic] message bars.*/ background-color: var(--in-content-box-info-background); @@ -291,4 +291,4 @@ strong { .close { margin-inline-end: 4px; } -} +} /** END not Proton **/ diff --git a/mail/themes/shared/mail/messageHeader.css b/mail/themes/shared/mail/messageHeader.css index 79a343fc05..1670ad7a67 100644 --- a/mail/themes/shared/mail/messageHeader.css +++ b/mail/themes/shared/mail/messageHeader.css @@ -8,7 +8,7 @@ border-bottom: 1px solid var(--splitter-color); } -@media (-moz-proton-infobars) { +@media (-moz-proton) { .main-header-area { border-bottom-style: none; } @@ -16,7 +16,7 @@ #mail-notification-top { border-bottom: 1px solid var(--splitter-color); } -} +} /** END Proton **/ /* ::::: msg header toolbars ::::: */