From 6aedf6e2422bcff0c878b51e8202beb7cf00cba1 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 16 Jan 2009 15:18:07 +0100 Subject: [PATCH] make tree focus ring not insert additional space around the tree body --- LCARStrek/global/tree.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index b5c035c8..2e949ebc 100644 --- a/LCARStrek/global/tree.css +++ b/LCARStrek/global/tree.css @@ -56,11 +56,12 @@ tree { /* ::::: tree focusring ::::: */ .focusring > .tree-stack > .tree-rows > .tree-bodybox { - border: 1px solid transparent; + outline: 1px solid transparent; + outline-offset: -1px; } .focusring:focus > .tree-stack > .tree-rows > .tree-bodybox { - border: 1px dotted #008484; + outline: 1px dotted #008484; } /* ::::: tree rows ::::: */ @@ -83,7 +84,7 @@ treechildren::-moz-tree-row(selected, focus) { } treechildren::-moz-tree-row(current, focus) { - border: 1px dotted #FF9F00; + border: 1px dotted #008484; } treechildren::-moz-tree-row(selected, current, focus) { @@ -157,11 +158,11 @@ tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus } tree[seltype="cell"] > treechildren::-moz-tree-cell(active, current, focus) { - border: 1px dotted #FF9F00; + border: 1px dotted #008484; } tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, current, focus) { - border: 1px dotted #FF9F00; + border: 1px dotted #008484; } tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, current, focus) { -- 2.43.0