Bug 1136326 - Style the LDAP info page in address book. r=josiah, a=rkent
authorRichard Marti <richard.marti@gmail.com>
Tue, 24 Feb 2015 20:48:39 +0100
changeset 25774 0d48ec44636ba476446a3a95e7461b91480f8385
parent 25773 3c16d99d9998a2cac448befcbedc84681448f866
child 25775 bf3f4033292633305f9ff1a8cbcce190b12b9f58
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjosiah, rkent
bugs1136326
Bug 1136326 - Style the LDAP info page in address book. r=josiah, a=rkent
mail/themes/linux/mail/addrbook/addressbook.css
mail/themes/osx/mail/addrbook/addressbook.css
mail/themes/shared/mail/addressbook.css
--- a/mail/themes/linux/mail/addrbook/addressbook.css
+++ b/mail/themes/linux/mail/addrbook/addressbook.css
@@ -210,16 +210,20 @@ treechildren::-moz-tree-image(DirCol, Is
   margin-bottom: -4px;
   /* because of the negative margin needed to make the splitter visible */
   position: relative;
   z-index: 10;
 }
 
 /* ::::: results pane ::::: */
 
+#blankResultsPaneMessageBox {
+  border-bottom: 1px solid ThreeDShadow;
+}
+
 #GeneratedName {
   -moz-padding-start: 26px;
 }
 
 treechildren::-moz-tree-image(GeneratedName) {
   -moz-margin-end: 2px;
   list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
 }
--- a/mail/themes/osx/mail/addrbook/addressbook.css
+++ b/mail/themes/osx/mail/addrbook/addressbook.css
@@ -508,17 +508,17 @@ splitter {
 
 #status-bar {
   border-top: none !important;
 }
 
 /* ::::: results pane ::::: */
 
 #abResultsTree {
-  border-left: 1px solid #bebebe;
+  -moz-border-start: 1px solid #bebebe;
   border-bottom: 1px solid #bebebe;
 }
 
 #GeneratedName {
   -moz-padding-start: 42px;
 }
 
 treechildren::-moz-tree-image(GeneratedName) {
@@ -546,16 +546,20 @@ treechildren::-moz-tree-image(GeneratedN
 }
 
 treechildren::-moz-tree-cell-text(GeneratedName) {
   -moz-padding-start: 0;
 }
 
 /* ::::: card view pane ::::: */
 
+#blankResultsPaneMessageBox {
+  -moz-border-start: 1px solid #bebebe;
+}
+
 #CardViewOuterBox {
   margin: 0px;
   padding: 0px;
 }
 
 #CardViewBox {
   -moz-user-focus: ignore;
   overflow: auto;
--- a/mail/themes/shared/mail/addressbook.css
+++ b/mail/themes/shared/mail/addressbook.css
@@ -1,14 +1,23 @@
 /* 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 url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#blankResultsPaneMessageBox {
+  background-color: -moz-field;
+}
+
 #blankResultsPaneMessage {
   font-style: italic;
 }
 
 #localResultsOnlyMessage {
   font-style: italic;
   text-align: center;
 }
+
+/* Hide the splitter when the blankResultsPaneMessageBox is shown */
+#abResultsTree[hidden="true"] + #results-splitter {
+  display: none;
+}