Bug 454973 - No vertical space between label and underline indicating accesskey in Shredder main menu; r=bugzilla@standard8.plus.com
authorVlado Valastiak <wladow@gmail.com>
Mon, 02 Feb 2009 18:27:05 +0100
changeset 1834 deb38df929eeb0d951d6d8672ebe19194c30972c
parent 1833 93d906bc53f057adf5464fc34e60843f9bb93ab2
child 1835 95b0c9d471f7d3f2469d774d880c13d1fbd3d0c9
push idunknown
push userunknown
push dateunknown
reviewersbugzilla
bugs454973
Bug 454973 - No vertical space between label and underline indicating accesskey in Shredder main menu; r=bugzilla@standard8.plus.com
mail/themes/qute/mail/messenger.css
--- a/mail/themes/qute/mail/messenger.css
+++ b/mail/themes/qute/mail/messenger.css
@@ -14,16 +14,26 @@ description.error {
 .toolbar-primary {
   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
 }
 
 toolbar[printpreview="true"] {
   -moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
 }
 
+/* ::::: menubar ::::: */
+
+#menubar-items {
+  -moz-box-orient: vertical; /* for flex hack */
+}
+
+#menubar-items > menubar {
+  -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
+} 
+
 /* ::::: throbber ::::: */
 
 #navigator-throbber {
   -moz-appearance: none;
   -moz-user-focus: ignore;
   margin: 0 !important;
   border: none !important;
   padding: 0px !important;
@@ -32,16 +42,24 @@ toolbar[printpreview="true"] {
   list-style-image: url("chrome://global/skin/throbber/Throbber-small.png");
 }
 
 #navigator-throbber[busy="true"] {
   list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
   opacity: 0.5;
 }
 
+/* the default settings for the throbber hbox is too tall for vista menus */
+#navigator-throbber > hbox {
+  border-top: 0px;
+  border-bottom: 0px;
+  padding-bottom: 1px;
+  -moz-margin-end: 1px;
+} 
+
 toolbar[iconsize="small"] #navigator-throbber,
 toolbar[mode="text"] #navigator-throbber {
   list-style-image: url("chrome://global/skin/throbber/Throbber-small.png");
 }
 
 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
 toolbar[mode="text"] #navigator-throbber[busy="true"] {
 list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");