/* 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 ../../shared/syncedtabs/sidebar.inc.css

/* These styles are intended to mimic XUL trees and the XUL search box. */

body {
   /* let the -moz-appearance of the sidebar shine through */
  background-color: transparent;
}

.item-title-container {
  box-sizing: border-box;
  align-items: center;
  height: 24px;
  font-size: 12px;
}

body:not([lwt-sidebar]) .item.selected:not(:focus) > .item-title-container {
  appearance: auto;
  -moz-default-appearance: -moz-mac-source-list-selection;
  -moz-font-smoothing-background-color: -moz-mac-source-list-selection;
}

body:not([lwt-sidebar-highlight]) .item.selected:focus > .item-title-container {
  appearance: auto;
  -moz-default-appearance: -moz-mac-active-source-list-selection;
  -moz-font-smoothing-background-color: -moz-mac-active-source-list-selection;
}
