From d9105d328593d47a3336c2abd0360687b8ed6a3f Mon Sep 17 00:00:00 2001 From: Mike Conley Date: Thu, 18 Oct 2012 15:18:17 -0400 Subject: [PATCH] =?UTF-8?q?Bug=20760777=20-=20Downloads=20Panel=E2=80=99s?= =?UTF-8?q?=20focus=20ring=20is=20too=20subtle.=20r=3Dmak77.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- browser/themes/gnomestripe/downloads/downloads.css | 9 ++++++++- browser/themes/pinstripe/downloads/downloads.css | 7 ++++++- browser/themes/winstripe/downloads/downloads.css | 7 ++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/browser/themes/gnomestripe/downloads/downloads.css b/browser/themes/gnomestripe/downloads/downloads.css index 99ac0896b84d..d54eae2ff617 100644 --- a/browser/themes/gnomestripe/downloads/downloads.css +++ b/browser/themes/gnomestripe/downloads/downloads.css @@ -33,6 +33,10 @@ margin: 1em; } +#downloadsHistory:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; +} + /*** List items ***/ richlistitem[type="download"] { @@ -55,7 +59,7 @@ richlistitem[type="download"]:last-child { } #downloadsListBox:-moz-focusring > richlistitem[type="download"][selected] { - outline: 1px #999 dotted; + outline: 1px -moz-dialogtext dotted; outline-offset: -1px; -moz-outline-radius: 3px; } @@ -98,6 +102,9 @@ richlistitem[type="download"]:last-child { padding: 0; } +.downloadButton:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; +} /*** Highlighted list items ***/ richlistitem[type="download"][state="1"]:hover { diff --git a/browser/themes/pinstripe/downloads/downloads.css b/browser/themes/pinstripe/downloads/downloads.css index cbb74c4af5a3..c526e5ad0769 100644 --- a/browser/themes/pinstripe/downloads/downloads.css +++ b/browser/themes/pinstripe/downloads/downloads.css @@ -43,6 +43,7 @@ } #downloadsHistory:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; border-top-left-radius: 6px; border-top-right-radius: 6px; } @@ -74,7 +75,7 @@ richlistitem[type="download"]:last-child { } #downloadsListBox:-moz-focusring > richlistitem[type="download"][selected] { - outline: 1px #999 dotted; + outline: 1px -moz-dialogtext dotted; outline-offset: -1px; -moz-outline-radius: 3px; } @@ -116,6 +117,10 @@ richlistitem[type="download"]:last-child { padding: 0; } +.downloadButton:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; +} + /*** Highlighted list items ***/ richlistitem[type="download"][state="1"]:hover { diff --git a/browser/themes/winstripe/downloads/downloads.css b/browser/themes/winstripe/downloads/downloads.css index 7895dc324c7c..b721048a2767 100644 --- a/browser/themes/winstripe/downloads/downloads.css +++ b/browser/themes/winstripe/downloads/downloads.css @@ -7,6 +7,7 @@ %ifndef WINSTRIPE_AERO #downloadsHistory, #downloadsHistory:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; } @@ -69,7 +70,7 @@ richlistitem[type="download"]:first-child { } #downloadsListBox:-moz-focusring > richlistitem[type="download"][selected] { - outline: 1px #999 dotted; + outline: 1px -moz-dialogtext dotted; outline-offset: -1px; -moz-outline-radius: 3px; } @@ -111,6 +112,10 @@ richlistitem[type="download"]:first-child { padding: 0; } +.downloadButton:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; +} + /*** Highlighted list items ***/ richlistitem[type="download"][state="1"]:hover {