Bug 536903 - [Mac] Need new css for clearListButton. r=Mnyromyr, sr=Neil.
authorstefanh@inbox.com
Tue, 29 Dec 2009 22:53:05 +0100
changeset 4603 a61f577ca2e4263b07338288259580f824cf79c1
parent 4602 77f7d8c11ea76089f3f331572d6009d29e2897ef
child 4604 2c8fc8ea5c2f8057f4de0581379806d581e7be9a
push id3598
push userstefanh@inbox.com
push dateTue, 29 Dec 2009 21:53:11 +0000
treeherdercomm-central@a61f577ca2e4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMnyromyr, Neil
bugs536903
Bug 536903 - [Mac] Need new css for clearListButton. r=Mnyromyr, sr=Neil.
suite/themes/classic/mac/communicator/downloads/downloadmanager.css
--- a/suite/themes/classic/mac/communicator/downloads/downloadmanager.css
+++ b/suite/themes/classic/mac/communicator/downloads/downloadmanager.css
@@ -15,16 +15,17 @@
  *
  * The Initial Developer of the Original Code is
  * the SeaMonkey project at mozilla.org.
  * Portions created by the Initial Developer are Copyright (C) 2008
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
  *   Robert Kaiser <kairo@kairo.at>
+ *   Markus Stange <mstange@themasta.com>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either of the GNU General Public License Version 2 or later (the "GPL"),
  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  * in which case the provisions of the GPL or the LGPL are applicable instead
  * of those above. If you wish to allow use of your version of this file only
  * under the terms of either the GPL or the LGPL, and not to allow others to
  * use your version of this file under the terms of the MPL, indicate your
@@ -41,34 +42,38 @@
    On rows and all cells, those properties for download states are available:
    active, inactive, resumable, paused, downloading, finished, failed, canceled, blocked
 */
 
 #clearListButton {
   -moz-appearance: none;
   -moz-box-orient: vertical;
   -moz-box-align: center;
-  text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
+  text-shadow: 0 1px rgba(255, 255, 255, 0.4);
   padding: 0;
   margin: 2px 4px 0 4px;
   min-height: 20px;
   min-width: 0;
-  border: solid transparent;
-  border-width: 0 6px;
-  -moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton.png") 0 6 round stretch;
+  border: 1px solid rgba(59, 59, 59, 0.9);
+  -moz-border-radius: 3px;
+  -moz-box-shadow: 0 1px rgba(255, 255, 255, 0.4);
+  background-color: #B5B5B5;
+  background-image: -moz-linear-gradient(top, #FFFFFF, #ADADAD);
 }
 
 #clearListButton:active:hover:not([disabled="true"]) {
-  -moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-down.png") 0 6 round stretch;
+  background-image: none;
+  -moz-box-shadow: inset rgba(0, 0, 0, 0.3) 0 -6px 14px, inset #000 0 1px 4px, inset rgba(0, 0, 0, 0.2) 0 1px 4px, 0 1px rgba(255, 255, 255, .4);
 }
 
 #clearListButton[disabled="true"],
 :root:not([active]) #clearListButton {
   color: #7C7C7C !important; /* remove this when we support click-through */
-  -moz-border-image: url("chrome://global/skin/toolbar/roundrectbutton-inactive.png") 0 6 round stretch;
+  border-color: rgba(146, 146, 146, 0.84);
+  background-image: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);
 }
 
 treechildren::-moz-tree-image {
   -moz-margin-start: -1px;
 }
 
 #ActionPlay {
   list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png");