From d9fe2e30b91ef0b9e706fc208dff2d609349b01d Mon Sep 17 00:00:00 2001 From: "dean_tessman%hotmail.com" Date: Mon, 23 Sep 2002 01:00:33 +0000 Subject: [PATCH] Bug 64076 - xul listbox: Show dotted border around focused item r=andreww@netscape.com, sr=hewitt@netscape.com git-svn-id: svn://10.0.0.236/trunk@130225 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/themes/classic/global/win/listbox.css | 9 +++++++-- mozilla/themes/classic/global/win/tree.css | 7 ++++++- mozilla/themes/modern/global/listbox.css | 3 ++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/mozilla/themes/classic/global/win/listbox.css b/mozilla/themes/classic/global/win/listbox.css index 7fb188adaa0..acbc3fd2ca8 100644 --- a/mozilla/themes/classic/global/win/listbox.css +++ b/mozilla/themes/classic/global/win/listbox.css @@ -19,6 +19,7 @@ * * Contributor(s): * Joe Hewitt (hewitt@netscape.com) + * Dean Tessman (dean_tessman@hotmail.com) */ /* ===== listbox.css ======================================================= @@ -46,8 +47,12 @@ listitem { border: 1px solid transparent; } -listbox:focus > listitem[selected="true"][current="true"] { - border: 1px dotted #F5DB95; +listbox:focus > listitem[current="true"] { + border: 1px dotted #000000; +} + +listbox:focus > listitem[current="true"][selected="true"] { + border: 1px dotted #C0C0C0; } listitem[selected="true"] { diff --git a/mozilla/themes/classic/global/win/tree.css b/mozilla/themes/classic/global/win/tree.css index 271d8cff0bf..de7a973edbb 100644 --- a/mozilla/themes/classic/global/win/tree.css +++ b/mozilla/themes/classic/global/win/tree.css @@ -19,6 +19,7 @@ * * Contributor(s): * Joe Hewitt (hewitt@netscape.com) + * Dean Tessman (dean_tessman@hotmail.com) */ /* ===== tree.css =================================================== @@ -57,7 +58,11 @@ treechildren:-moz-tree-row(selected, focus) { } treechildren:-moz-tree-row(current, focus) { - border: 1px dotted #F5DB95; + border: 1px dotted #000000; +} + +treechildren:-moz-tree-row(selected, current, focus) { + border: 1px dotted #C0C0C0; } /* ::::: tree cells ::::: */ diff --git a/mozilla/themes/modern/global/listbox.css b/mozilla/themes/modern/global/listbox.css index acfd74e8682..1f1be990f87 100644 --- a/mozilla/themes/modern/global/listbox.css +++ b/mozilla/themes/modern/global/listbox.css @@ -19,6 +19,7 @@ * * Contributor(s): * Joe Hewitt (hewitt@netscape.com) + * Dean Tessman (dean_tessman@hotmail.com) */ /* ===== listbox.css ======================================================= @@ -47,7 +48,7 @@ listitem { border-bottom: 1px solid transparent; } -listbox:focus > listitem[selected="true"][current="true"] { +listbox:focus > listitem[current="true"] { border-top-color: #000000; border-bottom-color: #000000; }