Improve the appearance of the selected contact when the contact list isn't focused.

This commit is contained in:
Florian Quèze 2011-09-22 01:13:30 +02:00
Родитель a4ba484b05
Коммит c086ce776b
2 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -40,7 +40,7 @@ contact {
-moz-box-align: center;
}
contact[open],
contact[selected] {
#buddylistbox:focus > contact[selected] {
-moz-binding: url("chrome://instantbird/content/contact.xml#contact-big");
-moz-box-orient: vertical;
-moz-box-align: stretch;

Просмотреть файл

@ -97,19 +97,19 @@ group>* {
padding-bottom: 2px;
}
#buddylistbox:focus > contact[selected="true"],
#buddylistbox:focus > group[selected="true"],
#convlistbox:focus > conv[selected="true"] {
background-color: -moz-Dialog;
color: -moz-DialogText;
}
contact[open]:not([selected]):not([droptarget]) {
contact[open] {
background: -moz-linear-gradient(45deg, -moz-Dialog, white 20%, white 80%, -moz-Dialog);
}
#buddylistbox:focus > contact[selected="true"],
#buddylistbox:focus > group[selected="true"],
#convlistbox:focus > conv[selected="true"] {
background: -moz-Dialog;
color: -moz-DialogText;
}
:-moz-any(contact, buddy)[droptarget] {
background-color: Highlight;
background: Highlight;
}
contact[droptarget] .contact-hbox,
@ -118,7 +118,7 @@ buddy[droptarget] {
}
contact[droptarget] > buddy[dummy] {
background-color: Highlight;
background: Highlight;
color: HighlightText;
}