releases-comm-central/im/content/blist.css

166 строки
4.6 KiB
CSS

/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the Instantbird messenging client, released
* 2007.
*
* The Initial Developer of the Original Code is
* Florian QUEZE <florian@instantbird.org>.
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
contact {
-moz-binding: url("chrome://instantbird/content/contact.xml#contact");
-moz-box-align: center;
}
contact[open],
#buddylistbox:focus > contact[selected] {
-moz-binding: url("chrome://instantbird/content/contact.xml#contact-big");
-moz-box-orient: vertical;
-moz-box-align: stretch;
}
contact[aliasing] .contactDisplayName {
-moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
}
buddy {
-moz-binding: url("chrome://instantbird/content/buddy.xml#buddy");
}
buddy[dummy] {
-moz-binding: url("chrome://instantbird/content/buddy.xml#buddy-dummy");
}
group {
-moz-binding: url("chrome://instantbird/content/group.xml#group");
-moz-box-align: center;
}
/* The height is required for the animation to work. The skin can
* specify an additionnal min-height value if there are things of
* constant size (icons + padding) */
contact,
buddy,
group {
height: 1em;
}
/* Possible values of the |state| attribute:
- not set: the binding is not initialized yet,
- showing: during the expand animation,
- visible: the buddy is visible to the user,
- fading: the buddy has signed-off, during the fade out animation,
- collapsing: collapse animation (before the node is removed from the DOM),
- collapsed: the buddy is inside a closed group.
*/
contact:not([state]),
buddy:not([state]) {
height: 0;
}
contact[state="showing"],
buddy[state="showing"] {
/* Should match the transition effect for contact/buddy collapsing so
that reordering doesn't make the whole list jump. */
-moz-transition: height .2s ease-in;
}
contact[state="fading"] {
opacity: 0;
-moz-transition: opacity .4s ease-in 1s;
}
contact[state="collapsing"],
buddy[state="collapsing"],
group[collapsing="true"] {
height: 0;
-moz-transition: height .2s ease-in;
}
contact[state="collapsing"] *,
contact[state="showing"] *,
buddy[state="collapsing"] *,
buddy[state="showing"] *,
group[collapsing="true"] * {
display: none;
}
tooltip[type="buddy"] {
-moz-binding: url("chrome://instantbird/content/buddytooltip.xml#tooltip");
}
#statusTypeIcon {
cursor: pointer;
}
#displayName,
#statusMessage:not([statusType="offline"]) {
cursor: text;
}
#displayName[editing],
#statusMessage[editing] {
-moz-appearance: textfield;
-moz-binding: url('chrome://global/content/bindings/textbox.xml#textbox');
}
.convUnreadCount,
.convUnreadTargetedCount,
.hideGroupButton,
.startChatBubble,
.expander-up,
.expander-down {
cursor: pointer;
}
.hideGroupButton,
.startChatBubble
{
display: none;
}
group:not([id="group-1"]):hover .hideGroupButton,
contact[cansend]:hover .startChatBubble,
contact[cansend][selected] .startChatBubble {
display: -moz-box;
}
conv {
-moz-binding: url("chrome://instantbird/content/conv.xml#conv");
-moz-box-align: center;
}
.convUnreadCount[value="0"],
.convUnreadTargetedCount[value="0"] {
display: none;
}
#buddyListMsg[listedConvCount="0"] > .listboxHeader {
display: none;
}