/* 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 organizer.css

%filter substitution
%define toolbarHighlight rgba(255,255,255,.5)
%define customToolbarColor hsl(210,75%,92%)

#placesView {
  border-top: none;
}

@media not all and (-moz-windows-classic) {
  #placesToolbox {
    -moz-appearance: none;
    background-color: transparent;
  }

  #placesToolbar {
    -moz-appearance: none;
    background-color: -moz-Dialog;
    color: -moz-dialogText;
  }
}

@media (-moz-windows-compositor) {
  #placesToolbox {
    border-top: none;
  }

  #placesToolbar {
    background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
  }
}

@media (-moz-windows-default-theme) {
  #placesView,
  #searchModifiers,
  #infoPane,
  #placesList,
  #placeContent {
    background-color: #EEF3FA;
  }

  #placesToolbar {
    background-color: @customToolbarColor@;
    color: black;
  }

  #placesView > splitter {
    border: 0;
    -moz-border-end: 1px solid #A9B7C9;
    min-width: 0;
    width: 3px;
    background-color: transparent;
    -moz-margin-start: -3px;
    position: relative;
  }

  #searchModifiers {
    border-bottom: 1px solid #A9B7C9;
  }

  #organizerScopeBar {
    -moz-appearance: none;
    border: none;
  }

  #detailsDeck {
    border-top-color: #A9B7C9;
  }

  #searchFilter {
    -moz-appearance: none;
    padding: 2px;
    -moz-padding-start: 4px;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.32);
    border-radius: 2px;
  }
}
