Bug 1614157 - Fix styling for prefwindows and dialog headers. r=frg
authorIan Neal <iann_cvs@blueyonder.co.uk>
Sat, 08 Feb 2020 23:48:24 +0100
changeset 37264 5d2047317bdb1a062a31a14d919890f59312a559
parent 37263 4d69d0a1d74a256813385fcfed089883cdca2d6c
child 37265 bde1bbc31f16874cdb70906fbf1e916a72766d67
push id2552
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:24:16 +0000
treeherdercomm-beta@f95a6f4408a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg
bugs1614157
Bug 1614157 - Fix styling for prefwindows and dialog headers. r=frg
suite/themes/classic/communicator/preferences.css
suite/themes/classic/linux/communicator/communicator.css
suite/themes/classic/linux/communicator/preferences.css
suite/themes/classic/mac/communicator/preferences.css
--- a/suite/themes/classic/communicator/preferences.css
+++ b/suite/themes/classic/communicator/preferences.css
@@ -7,16 +7,17 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: Main Window ::::: */
 
 prefwindow {
   -moz-appearance: window;
   background-color: -moz-Dialog;
   color: -moz-DialogText;
+  font: message-box;
   padding-top: 8px;
   padding-bottom: 0px;
   padding-inline-start: 8px;
   padding-inline-end: 10px;
 }
 
 prefpane {
   padding-top: 8px;
--- a/suite/themes/classic/linux/communicator/communicator.css
+++ b/suite/themes/classic/linux/communicator/communicator.css
@@ -228,16 +228,36 @@ treecols:-moz-lwtheme {
 .messageImage[value="MixedContentMessage"],
 .messageImage[value="MixedActiveContentMessage"],
 .messageImage[value="MixedDisplayContentMessage"] {
   list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
 }
 
 /* ::::: tree rows ::::: */
 
+/* ::::: dialog header ::::: */
+
+dialogheader {
+  margin: 0px 5px 5px 5px;
+  border: 1px solid;
+  border-top-color: ThreeDDarkShadow;
+  border-right-color: ThreeDDarkShadow;
+  border-bottom-color: ThreeDDarkShadow;
+  border-left-color: ThreeDDarkShadow;
+  padding: 5px 8px;
+  background-color: Highlight;
+  color: HighlightText;
+}
+
+.dialogheader-title {
+  margin: 0px !important;
+  font-size: larger;
+  font-weight: bold;
+}
+
 /* ::::: statusbar ::::: */
 
 statusbar {
   -moz-appearance: statusbar;
   border-top: 1px solid ThreeDLightShadow;
   border-left: 1px solid ThreeDShadow;
   border-right: 1px solid ThreeDHighlight;
   border-bottom: 1px solid ThreeDHighlight;
--- a/suite/themes/classic/linux/communicator/preferences.css
+++ b/suite/themes/classic/linux/communicator/preferences.css
@@ -7,16 +7,17 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: Main Window ::::: */
 
 prefwindow {
   -moz-appearance: window;
   background-color: -moz-Dialog;
   color: -moz-DialogText;
+  font: message-box;
   padding-top: 8px;
   padding-bottom: 0px;
   padding-inline-start: 8px;
   padding-inline-end: 10px;
 }
 
 prefpane {
   padding: 8px;
--- a/suite/themes/classic/mac/communicator/preferences.css
+++ b/suite/themes/classic/mac/communicator/preferences.css
@@ -7,16 +7,17 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: Main Window ::::: */
 
 prefwindow {
   -moz-appearance: dialog;
   background-color: #FFFFFF;
   color: -moz-DialogText;
+  font: message-box;
   padding-top: 8px;
   padding-bottom: 0px;
   padding-inline-start: 8px;
   padding-inline-end: 10px;
   font: -moz-dialog;
 }
 
 prefwindow[type="child"] {