Bug 674368 - [Mac default] Download manager 'Clear List' button needs a focus ring. r=Mnyromyr.
authorstefanh@inbox.com
Sat, 06 Aug 2011 00:59:05 +0200
changeset 8247 fe906413af26b867220a77709b6c1387d0088865
parent 8246 eb1f0b511bda81a631d4472ffbb60fee80c26bc1
child 8248 b641b088aebec4a8c6b5a80ad82835e476b94b0b
push id6340
push userstefanh@inbox.com
push dateFri, 05 Aug 2011 22:59:32 +0000
treeherdercomm-central@fe906413af26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMnyromyr
bugs674368
Bug 674368 - [Mac default] Download manager 'Clear List' button needs a focus ring. r=Mnyromyr.
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
@@ -59,16 +59,25 @@
   background-image: -moz-linear-gradient(top, #FFFFFF, #ADADAD);
 }
 
 #clearListButton:active:hover:not([disabled="true"]) {
   background-image: none;
   box-shadow: inset rgba(0, 0, 0, 0.3) 0 -6px 10px, inset #000000 0 1px 3px, inset rgba(0, 0, 0, 0.2) 0 1px 3px, 0 1px rgba(255, 255, 255, .4);
 }
 
+#clearListButton:-moz-focusring {
+  border-color: rgba(102, 122, 155, 0.9);
+  box-shadow: inset 0 0 1px -moz-mac-focusring, 0 0 4px 1px -moz-mac-focusring, 0 0 1.5px 1px -moz-mac-focusring;
+}
+
+#clearListButton:-moz-system-metric(mac-graphite-theme):-moz-focusring {
+  border-color: rgba(59, 59, 59, 0.7);
+}
+
 #clearListButton[disabled="true"],
 #clearListButton:-moz-window-inactive {
   border-color: rgba(146, 146, 146, 0.84);
   background-image: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);
 }
 
 treechildren::-moz-tree-image {
   -moz-margin-start: -1px;