From e4cd92cced81082182fcdb353f59b9c4be8607e4 Mon Sep 17 00:00:00 2001 From: "aaronleventhal%moonset.net" Date: Sat, 1 Oct 2005 00:57:35 +0000 Subject: [PATCH] Bug 301776. Reduce focus outline for listitems and treeitems back to 1px thickness. 2px was too ugly. Patch by Caleb. r=mconnor, a=mscott git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181374 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/themes/qute/global/listbox.css | 6 +++--- mozilla/toolkit/themes/qute/global/tree.css | 6 +++--- mozilla/toolkit/themes/winstripe/global/listbox.css | 6 +++--- mozilla/toolkit/themes/winstripe/global/tree.css | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mozilla/toolkit/themes/qute/global/listbox.css b/mozilla/toolkit/themes/qute/global/listbox.css index 597c3c4a909..c6300cad50c 100644 --- a/mozilla/toolkit/themes/qute/global/listbox.css +++ b/mozilla/toolkit/themes/qute/global/listbox.css @@ -67,12 +67,12 @@ listitem { } listbox:focus > listitem[selected="true"][current="true"] { - outline: 2px dotted #F3D982; + outline: 1px dotted #F3D982; } listbox:focus > listitem[current="true"] { - outline: 2px dotted Highlight; - -moz-outline-offset: -2px; + outline: 1px dotted Highlight; + -moz-outline-offset: -1px; } listitem[selected="true"] { diff --git a/mozilla/toolkit/themes/qute/global/tree.css b/mozilla/toolkit/themes/qute/global/tree.css index cd778756868..e5f7465730d 100644 --- a/mozilla/toolkit/themes/qute/global/tree.css +++ b/mozilla/toolkit/themes/qute/global/tree.css @@ -70,7 +70,7 @@ tree { /* ::::: tree rows ::::: */ treechildren::-moz-tree-row { - border: 2px solid transparent; + border: 1px solid transparent; background-color: transparent; min-height: 18px; height: 1.3em; @@ -85,11 +85,11 @@ treechildren::-moz-tree-row(selected, focus) { } treechildren::-moz-tree-row(current, focus) { - border: 2px dotted Highlight; + border: 1px dotted Highlight; } treechildren::-moz-tree-row(selected, current, focus) { - border: 2px dotted #C0C0C0; + border: 1px dotted #C0C0C0; } tree[selstyle="primary"] > treechildren::-moz-tree-row { diff --git a/mozilla/toolkit/themes/winstripe/global/listbox.css b/mozilla/toolkit/themes/winstripe/global/listbox.css index 8b209ce1ad6..5891dba8cee 100644 --- a/mozilla/toolkit/themes/winstripe/global/listbox.css +++ b/mozilla/toolkit/themes/winstripe/global/listbox.css @@ -67,12 +67,12 @@ listitem { } listbox:focus > listitem[selected="true"][current="true"] { - outline: 2px dotted #F3D982; + outline: 1px dotted #F3D982; } listbox:focus > listitem[current="true"] { - outline: 2px dotted Highlight; - -moz-outline-offset: -2px; + outline: 1px dotted Highlight; + -moz-outline-offset: -1px; } listitem[selected="true"] { diff --git a/mozilla/toolkit/themes/winstripe/global/tree.css b/mozilla/toolkit/themes/winstripe/global/tree.css index 8405ca19845..c41042f0634 100644 --- a/mozilla/toolkit/themes/winstripe/global/tree.css +++ b/mozilla/toolkit/themes/winstripe/global/tree.css @@ -70,7 +70,7 @@ tree { /* ::::: tree rows ::::: */ treechildren::-moz-tree-row { - border: 2px solid transparent; + border: 1px solid transparent; min-height: 18px; height: 1.3em; } @@ -84,11 +84,11 @@ treechildren::-moz-tree-row(selected, focus) { } treechildren::-moz-tree-row(current, focus) { - border: 2px dotted Highlight; + border: 1px dotted Highlight; } treechildren::-moz-tree-row(selected, current, focus) { - border: 2px dotted #F3D982; + border: 1px dotted #F3D982; } /* ::::: tree cells ::::: */