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
This commit is contained in:
dean_tessman%hotmail.com 2002-09-23 01:00:33 +00:00
parent 8f697df0c0
commit d9fe2e30b9
3 changed files with 15 additions and 4 deletions

View File

@ -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"] {

View File

@ -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 ::::: */

View File

@ -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;
}