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

tree[type="places"] {
  -moz-binding: url("chrome://browser/content/places/tree.xml#places-tree");
}

tree[type="places"] > treechildren::-moz-tree-cell {
  /* ensure we use the direction of the website title / url instead of the
   * browser locale */
  unicode-bidi: plaintext;
}

#bhtTitleText {
  /* ensure we use the direction of the website title instead of the
   * browser locale */
  unicode-bidi: plaintext;
}

.toolbar-drop-indicator {
  position: relative;
  z-index: 1;
}

menupopup[placespopup="true"] {
  -moz-binding: url("chrome://browser/content/places/menu.xml#places-popup-base");
}

/* Apply crisp rendering for favicons at exactly 2dppx resolution */
@media (resolution: 2dppx) {
  #bookmarksChildren,
  .sidebar-placesTreechildren,
  .placesTree > treechildren {
    image-rendering: -moz-crisp-edges;
  }
}
