% 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/.

%include blist.css

/* This applies only if Glass is available. */
@media all and (-moz-windows-compositor) {
  #blistWindow {
    -moz-appearance: -moz-win-borderless-glass;
    background: transparent;
  }

  #blistMenubar > menu:-moz-window-inactive,
  #displayName[usingDefault]:not([editing]) {
    color: GrayText;
    text-shadow: 0 0 1px Menu,
                 0 0 1px Menu,
                 0 0 2px Menu,
                 0 0 5px Menu;
  }
}

/* Our fallback for Aero Basic: set the background color appropriately. */
@media not all and (-moz-windows-compositor) {
  #blistWindow:-moz-system-metric(windows-default-theme) {
    background-color: rgb(185, 209, 234);
  }
  #blistWindow:-moz-system-metric(windows-default-theme):-moz-window-inactive {
    background-color: rgb(215, 228, 242);
  }
}

/* Used by both Aero themes */
@media all and (-moz-windows-theme: aero) {
  #status {
    -moz-appearance: none;
    background: transparent;
    border: none;
  }

  /* This thing has a border we need to remove. */
  #mainToolbox {
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px 5px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
  }

  #statusArea {
    -moz-appearance: none;
    margin-left: 1px;
    margin-right: 1px;
    border: none;
  }

  #buddyListMsg {
    border-left: 1px solid rgba(0, 0, 0, 0.25);
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.8);
  }

  .listboxHeader {
    background-color: transparent;
    background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
    border: none;
  }

  #contactsHeader {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }
}
