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
This commit is contained in:
@@ -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"] {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"] {
|
||||
|
||||
@@ -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 ::::: */
|
||||
|
||||
Reference in New Issue
Block a user