Bug 1597939 - Fix some background colours in attendee dialog with dark system theme. r+a=pmorris
authorRichard Marti <richard.marti@gmail.com>
Wed, 20 Nov 2019 16:31:15 +0100
changeset 37298 8616fc3baa19eedff16ad5ae2d135b1904ba7c02
parent 37297 8a0a5f59230cc0bbc22735a789e16f358a386309
child 37299 64d30069741e189b6ee137d566ad5dcfa2c4729a
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
bugs1597939
Bug 1597939 - Fix some background colours in attendee dialog with dark system theme. r+a=pmorris
calendar/base/themes/common/calendar-attendees.css
calendar/base/themes/common/dialogs/calendar-event-dialog.css
--- a/calendar/base/themes/common/calendar-attendees.css
+++ b/calendar/base/themes/common/calendar-attendees.css
@@ -6,16 +6,20 @@
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 /* this is for attendee and organizer decoration in summary and event dialog */
 html|input.textbox-addressingWidget {
     width: 100%;
     background-color: transparent !important;
     flex: 1;
 }
+html|input.textbox-addressingWidget:disabled {
+    color: inherit;
+    opacity: 0.5;
+}
 
 #item-attendees-box {
     -moz-appearance: listbox;
     margin: 2px 4px 0;
     overflow-y: auto;
     min-height: 54px; /*at least two rows - otherwise a scrollbar (if required) wouldn't appear*/
 }
 
--- a/calendar/base/themes/common/dialogs/calendar-event-dialog.css
+++ b/calendar/base/themes/common/dialogs/calendar-event-dialog.css
@@ -1,17 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 dialog {
   --eventBorderColor: #8d8e90;
-  --eventWidgetBorderColor: #cacaff;
+  --eventWidgetBorderColor: #aaaabc;
   --eventGridStartBorderColor: #bdbec0;
 }
 
 dialog[systemcolors] {
   --eventBorderColor: ThreeDShadow;
   --eventWidgetBorderColor: ThreeDShadow;
   --eventGridStartBorderColor: ThreeDShadow;
 }
@@ -447,17 +447,18 @@ label.label {
   min-width: 150px;
   min-height: 150px;
 }
 
 .listbox-noborder {
   -moz-appearance: none;
   margin: 0px 0px;
   border: 1px solid var(--eventBorderColor);
-  background-color: #fff;
+  background-color: -moz-Field;
+  color: -moz-FieldText;
 }
 
 #timebar {
   overflow: hidden;
 }
 
 #timebar > .listbox-noborder {
   border-bottom-style: none;