Bug 598620 - Feedback button in the right panel is not transparent [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Fri, 24 Sep 2010 17:16:34 -0400
changeset 66709 c0ae264bbd13882817255e0b9ec288ebb8811645
parent 66708 f49d8a7af3338de8e54c3ba6ca438003491b6932
child 66710 5f536332427850b5f2baf555b11854ad4efd0c1a
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs598620
Bug 598620 - Feedback button in the right panel is not transparent [r=mfinkle]
mobile/app/profile/extensions/feedback@mobile.mozilla.org/content/overlay.xul
mobile/app/profile/extensions/feedback@mobile.mozilla.org/skin/overlay.css
--- a/mobile/app/profile/extensions/feedback@mobile.mozilla.org/content/overlay.xul
+++ b/mobile/app/profile/extensions/feedback@mobile.mozilla.org/content/overlay.xul
@@ -43,17 +43,17 @@
 <!ENTITY % feedbackDTD SYSTEM "chrome://feedback/locale/overlay.dtd">
 %feedbackDTD;
 ]>
 
 <overlay id="feedback-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script type="application/javascript" src="chrome://feedback/content/overlay.js"/>
 
   <box id="panel-controls">
-    <toolbarbutton id="tool-feedback" autocheck="true" type="radio" group="1" class="panel-button button-dark" linkedpanel="feedback-container" insertbefore="tool-addons"/>
+    <toolbarbutton id="tool-feedback" autocheck="true" type="radio" group="1" class="panel-button button-image" linkedpanel="feedback-container" insertbefore="tool-addons"/>
   </box>
 
   <deck id="panel-items">
     <vbox id="feedback-container" flex="1" hidden="true">
       <hbox id="feedback-header" class="panel-header">
         <label value="&feedbackHeader.label;" flex="1"/>
       </hbox>
       <notificationbox id="feedback-messages" flex="1">
--- a/mobile/app/profile/extensions/feedback@mobile.mozilla.org/skin/overlay.css
+++ b/mobile/app/profile/extensions/feedback@mobile.mozilla.org/skin/overlay.css
@@ -1,16 +1,19 @@
 #tool-feedback {
   list-style-image: url("chrome://feedback/skin/beta-32.png");
+  background: url(chrome://browser/skin/images/toolbarbutton-default-64.png) no-repeat !important;
+  width: 64px;
+  height: 64px;
 }
 
+#tool-feedback:not([disabled="true"]):hover:active,
 #tool-feedback[checked="true"] {
-  -moz-border-image: url("chrome://browser/skin/images/toggledarkboth-active-64.png") 10 repeat repeat;
+  background: url(chrome://browser/skin/images/toolbarbutton-active-64.png) no-repeat !important;
 }
 
-
 #feedback-feedback-happy {
   list-style-image: url("chrome://feedback/skin/happy-32.png");
 }
 
 #feedback-feedback-sad {
   list-style-image: url("chrome://feedback/skin/sad-32.png");
 }