Bug 658328 - Make the viewPickerPopup and folderLocationPopup look more native; r=andreasn
authorRichard Marti <richard.marti@gmail.com>
Mon, 04 Jul 2011 10:55:59 +0100
changeset 8259 f6adf57025405e094d7e12a426427b6eb319a94d
parent 8258 1281fc89bac53103e40f3da71b2e6ab2346af885
child 8260 585da56d82a4e207ebc0a8294d69ee52ec21aac2
push id84
push userbugzilla@standard8.plus.com
push dateTue, 16 Aug 2011 21:25:04 +0000
treeherdercomm-beta@6970c86be3cd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersandreasn
bugs658328
Bug 658328 - Make the viewPickerPopup and folderLocationPopup look more native; r=andreasn
mail/themes/qute/mail/mailWindow1-aero.css
--- a/mail/themes/qute/mail/mailWindow1-aero.css
+++ b/mail/themes/qute/mail/mailWindow1-aero.css
@@ -103,35 +103,53 @@ treechildren::-moz-tree-image(unreadButt
 }
 
 treechildren::-moz-tree-image(junkStatusCol) {
   -moz-margin-start: -3px;
 }
 
 #viewPickerPopup menuitem, #viewPickerPopup menu {
   -moz-appearance: none;
-  color: -moz-FieldText;
 }
 
-#viewPickerPopup menuitem[_moz-menuactive="true"], #viewPickerPopup menu[_moz-menuactive="true"] {
+#viewPickerPopup menuitem[_moz-menuactive="true"],
+#viewPickerPopup menu[_moz-menuactive="true"] {
   border: 1px solid highlight;
   background-color: highlight;
   color: highlighttext;
 }
 
 #folderLocationPopup {
-  -moz-appearance: none !important;
-  background-color: white !important;
+  -moz-appearance: none;
   color: -moz-FieldText;
-  border: 1px solid black;
+  margin: 0;
+  border-width: 1px;
+  -moz-border-top-colors: -moz-FieldText;
+  -moz-border-right-colors: -moz-FieldText;
+  -moz-border-bottom-colors: -moz-FieldText;
+  -moz-border-left-colors: -moz-FieldText;
+  background-color: -moz-Field;
 }
 
-#folderLocationPopup menuitem[_moz-menuactive="true"], #folderLocationPopup menu[_moz-menuactive="true"] {
-  -moz-appearance: none !important;
+#folderLocationPopup menu,
+#folderLocationPopup menuitem {
+  -moz-appearance: none;
+  color: -moz-FieldText;
+  background-color: -moz-Field;
+}
+
+#folderLocationPopup menu[_moz-menuactive="true"],
+#folderLocationPopup menuitem[_moz-menuactive="true"] {
   color: HighlightText;
+  background-color: Highlight;
+}
+
+#folderLocationPopup menu,
+#folderLocationPopup menuitem {
+  padding: 1px 2px;
 }
 
 #folderLocationPopup menuitem:first-child {
 padding: 4px 0px;
 }
 
 #threadTree treechildren::-moz-tree-row(odd) {
   background-image: none;