%if 0
/* 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/. */
%endif

#social-sidebar-header {
  padding: 3px;
}

#manage-share-providers,
#social-sidebar-button {
  list-style-image: url("chrome://browser/skin/Toolbar.png");
  -moz-image-region: rect(0, 468px, 18px, 450px);
}

#social-sidebar-button {
  -moz-appearance: none;
  border: none;
  padding: 0;
  margin: 2px;
}
#manage-share-providers > .toolbarbutton-icon,
#social-sidebar-button > .toolbarbutton-icon {
  min-height: 18px;
  min-width: 18px;
}

#social-sidebar-button > .toolbarbutton-menu-dropmarker {
  display: none;
}

#social-sidebar-button[loading="true"] {
  list-style-image: url("chrome://global/skin/icons/loading_16.png");
}

#social-sidebar-favico {
  max-height: 16px;
  max-width: 16px;
  padding: 0;
  margin: 2px;
}

.chat-status-icon {
  max-height: 16px;
  max-width: 16px;
  padding: 0;
}

.chat-toolbarbutton {
  -moz-appearance: none;
  border: none;
  padding: 0 3px;
  margin: 0;
  background: none;
}

.chat-toolbarbutton:hover {
  background-color: rgba(255,255,255,.35);
}

.chat-toolbarbutton:hover:active {
  background-color: rgba(255,255,255,.5);
}

.chat-toolbarbutton > .toolbarbutton-text {
  display: none;
}

.chat-toolbarbutton > .toolbarbutton-icon {
  width: 16px;
  height: 16px;
}

.chat-close-button {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
}

.chat-close-button:-moz-any(:hover,:hover:active) {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
}

.chat-minimize-button {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
}

.chat-minimize-button:-moz-any(:hover,:hover:active) {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
}

.chat-swap-button {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
  transform: rotate(180deg);
}

.chat-swap-button:-moz-any(:hover,:hover:active) {
  list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
}

chatbar > chatbox > .chat-titlebar > .chat-swap-button {
  transform: none;
}

.chat-title {
  font-weight: bold;
  color: black;
  text-shadow: none;
  cursor: inherit;
}

.chat-titlebar {
  height: 30px;
  min-height: 30px;
  width: 100%;
  margin: 0;
  padding: 7px 6px;
  border: none;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.chat-titlebar > .notification-anchor-icon {
  margin-left: 2px;
  margin-right: 2px;
}

.chat-titlebar[minimized="true"] {
  border-bottom: none;
}

.chat-titlebar[activity] {
  background-image: radial-gradient(ellipse closest-side at center, rgb(255,255,255), transparent);
  background-repeat: no-repeat;
  background-size: 100% 20px;
  background-position: 0 -10px;
}

chatbox[dark=true] > .chat-titlebar,
chatbox[dark=true] > .chat-titlebar[selected] {
  border-bottom: none;
  background-color: #000;
  background-image: none;
}

chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
  font-weight: normal;
  color: #c1c1c1;
}

.chat-frame {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.chatbar-button {
  list-style-image: url("chrome://browser/skin/social/services-16.png");
  margin: 0;
  padding: 2px;
  height: 21px;
  width: 21px;
  border: 1px solid #ccc;
  border-bottom: none;
}

@media (min-resolution: 2dppx) {
  .chatbar-button {
    list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
  }
}

.chatbar-button > .toolbarbutton-icon {
  width: 16px;
}

.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
  width: auto;
  height: auto;
  max-height: 16px;
  max-width: 16px;
}

.chatbar-button[open="true"] {
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2);
}

.chatbar-button > .toolbarbutton-text,
.chatbar-button > .toolbarbutton-menu-dropmarker {
  display: none;
}

.chatbar-button > menupopup > menuitem[activity] {
  font-weight: bold;
}

.chatbar-innerbox {
  background: transparent;
  margin: -285px 0 0;
  overflow: hidden;
}

chatbar {
  -moz-margin-end: 20px;
}

chatbox {
  -moz-margin-start: 4px;
  background-color: white;
  border: 1px solid #ccc;
  border-bottom: none;
}

window > chatbox {
  -moz-margin-start: 0px;
  margin: 0px;
  border: none;
  padding: 0px;
}
