Bug 1629518 - Fix the Event invitation message to work on dark background too. r=pmorris
authorRichard Marti <richard.marti@gmail.com>
Mon, 13 Apr 2020 14:12:52 +0200
changeset 37935 0d3c7224b451c21d34f973f154ef58d86a280f84
parent 37934 c3d742c66c8077bf9d3c59cdef50843afcd36531
child 37936 7f5705139300b60e232fda768e67b28af1db8bc7
push id2595
push userclokep@gmail.com
push dateMon, 04 May 2020 19:02:04 +0000
treeherdercomm-beta@f53913797371 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspmorris
bugs1629518
Bug 1629518 - Fix the Event invitation message to work on dark background too. r=pmorris
calendar/base/themes/common/imip.css
--- a/calendar/base/themes/common/imip.css
+++ b/calendar/base/themes/common/imip.css
@@ -78,40 +78,39 @@
        color: HighlightText;
        font-size: 1em;
        font-weight: bold;
        background-color: Highlight;
 }
 .invitation-table .description {
        width: 9em;
        text-align: right;
-       border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
-       background-color: rgba(0, 0, 0, 0.2);
+       border-inline-end: 1px solid hsla(0, 0%, 50%, .2);
+       background-color: hsla(0, 0%, 50%, .2);
        vertical-align: top;
 }
 .invitation-table .content {
        width: 29em;
-       background-color: -moz-default-background-color;
 }
 .invitation-table .content p {
        white-space: pre-wrap;
 }
 .invitation-table .added {
        color: rgb(255, 0, 0);
 }
 .invitation-table .added[systemcolors] {
-       color: -moz-DialogText;
+       color: currentColor;
        font-weight: bold;
 }
 .invitation-table .modified {
        color: rgb(255, 0, 0);
        font-style: italic;
 }
 .invitation-table .modified[systemcolors] {
-       color: -moz-DialogText;
+       color: currentColor;
 }
 .invitation-table .removed {
        color: rgb(125, 125, 125);
        text-decoration: line-through;
 }
 .invitation-table .removed[systemcolors] {
-       color: -moz-DialogText;
+       color: currentColor;
 }