/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url("chrome://messenger/skin/shared/chat.css");

.convUnreadTargetedCount {
  padding: 2px 7px;
}

.convUnreadCount,
.contactDisplayName,
.convDisplayName,
.contactStatusText,
.convStatusText {
  margin-top: 2px;
}

#listSplitter,
#contextSplitter,
.splitter[orient="vertical"],
 #logsSplitter {
  appearance: none;
}

.im-placeholder-button-box > button {
  padding-inline: 8px;
}

/* Adaptation from #folderTree */
:root:not([lwt-tree]) #listPaneBox {
  background-color: -moz-OddTreeRow;
}

#listPaneBox > * {
  background: transparent !important;
  appearance: none !important;
  border: none;
}

.conv-textbox > .textbox-input-box {
  background: inherit;
}

.conv-counter {
  padding-bottom: 0;
  padding-inline-end: 5px;
  margin-inline-end: 2px;
  margin-bottom: 2px !important; /* override 4px from description */
}

:root:not([lwt-tree]) #conv-top-info {
  appearance: none;
  background-color: -moz-Dialog;
  color: -moz-DialogText;
}

.conv-nicklist-header,
.conv-logs-header-label {
  color: -moz-DialogText;
  background-color: -moz-Dialog;
  padding-inline-start: 3px;
}

.conv-nicklist-header-label {
  font-weight: bold;
  margin-inline: 0 2px !important;
}

#nicklist > richlistitem[inactive][selected] > label {
  color: -moz-cellhighlighttext !important;
}

richlistitem[is="chat-group-richlistitem"] .twisty {
  margin-inline-end: 2px;
}

.startChatBubble > .button-box > .button-icon,
.closeConversationButton > .button-box > .button-icon {
  margin-inline-end: 0;
}

.conv-hbox {
  align-items: center;
}

#setStatusTypeMenupopup .menu-iconic-icon,
#imAccountsStatus .menu-iconic-icon {
  visibility: visible;
}

.encryption-button:hover {
  color: inherit;
}
