make tree focus ring not insert additional space around the tree body
authorRobert Kaiser <kairo@kairo.at>
Fri, 16 Jan 2009 14:18:07 +0000 (15:18 +0100)
committerRobert Kaiser <kairo@kairo.at>
Fri, 16 Jan 2009 14:18:07 +0000 (15:18 +0100)
LCARStrek/global/tree.css

index b5c035c86a53ca331fdbfc773a2d832ae2df7557..2e949ebc168d86f2f5cb9e485c092ff8d0e08730 100644 (file)
@@ -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) {