Bug 612181 - Clicking edge of popup notification button main action button opens the dropdown instead. r=dao, a=clegnitto
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Tue, 07 Dec 2010 12:45:31 -0800
changeset 58794 52eebb84e381d173e00487204ee95615f6bd7455
parent 58793 22fec47ec0bdaaa0acb1f3c8ca31fd41858357ae
child 58795 9c99f019393051788744865116a84128329df41d
push idunknown
push userunknown
push dateunknown
reviewersdao, clegnitto
bugs612181
milestone2.0b8pre
Bug 612181 - Clicking edge of popup notification button main action button opens the dropdown instead. r=dao, a=clegnitto
toolkit/themes/winstripe/global/button.css
toolkit/themes/winstripe/global/notification.css
--- a/toolkit/themes/winstripe/global/button.css
+++ b/toolkit/themes/winstripe/global/button.css
@@ -149,18 +149,18 @@ button[type="menu-button"] {
   background-color: transparent;
   border: none;
 }
 
 .button-menu-dropmarker,
 .button-menubutton-dropmarker {
   -moz-appearance: none !important;
   margin: 1px;
-  background-color: transparent !important;
-  border: none !important;
+  background-color: transparent;
+  border: none;
   width: 11px;
   height: 11px;
 }
 
 .button-menubutton-dropmarker[open="true"] {
   margin-top: 2px;
   margin-bottom: 0px;
   -moz-margin-start: 2px;
--- a/toolkit/themes/winstripe/global/notification.css
+++ b/toolkit/themes/winstripe/global/notification.css
@@ -66,32 +66,32 @@ notification[type="critical"] .messageIm
 .popup-notification-menubutton {
   margin-top: 17px;
 }
 
 %ifdef XP_WIN
 @media all and (-moz-windows-default-theme) {
   .popup-notification-menubutton[type="menu-button"] {
     -moz-appearance: none;
-    border: 1px solid rgba(0,0,0,.35);
     border-radius: 3px;
     padding: 0;
 %ifndef WINSTRIPE_AERO
     background-color: rgba(250,250,250,.3);
 %endif    
   }
 
   .popup-notification-menubutton[type="menu-button"]:hover:active {
     border-color: rgba(0,0,0,.5);
   }
 
   .popup-notification-menubutton > .button-menubutton-button,
   .popup-notification-menubutton > .button-menubutton-dropmarker {
     -moz-appearance: none;
     margin: 0;
+    border: 1px solid rgba(0,0,0,.35);
 %ifdef WINSTRIPE_AERO
     background-image: -moz-linear-gradient(top, rgba(250,250,250,.6), rgba(175,175,175,.25) 49%, rgba(0,0,0,.12) 51%, rgba(0,0,0,.09) 60%, rgba(0,0,0,.05));
     box-shadow: 0 0 1px 1px rgba(255,255,255,.75) inset;
 %else
     box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,
                 0 2px 2px rgba(255,255,255,.35) inset,
                 0 -1px 2px rgba(0,0,0,.1) inset,
                 0 1px 0 rgba(255,255,255,.35);
@@ -101,17 +101,17 @@ notification[type="critical"] .messageIm
   .popup-notification-menubutton > .button-menubutton-button {
 %ifdef WINSTRIPE_AERO
     padding: 0;
 %else
     padding: 2px 0;
 %endif
     -moz-padding-start: 8px;
     -moz-padding-end: 5px;
-    -moz-border-end: 1px solid rgba(0,0,0,.35);
+    -moz-border-end: none;
   }
 
   .popup-notification-menubutton > .button-menubutton-dropmarker {
     padding: 9px 5px 8px;
     width: auto;
     height: auto;
     list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
   }