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

/* ===== filterDialog.css ===============================================
  == Styles for the Mail Filters dialog.
  ======================================================================= */

@import url("chrome://messenger/skin/shared/filterDialog.css");

#filterListDialog {
  padding: 0;
}

#filterHeader {
  margin: 8px;
  font: menu;
}

#filterListGrid {
  margin: 8px;
}

/* ::::: columns :::::: */

.search-menulist,
.search-value-menulist {
  width: 14.5em;
}

.small-button {
  min-width: 22px;
  height: 20px;
  padding-block: 0 1px;
  padding-inline: 0 1px;
  margin: 4px 0;
}

.small-button:first-child {
  margin-inline-start: 2px;
}

listcell > hbox {
  justify-content: flex-end;
}

/* No '.filler' here, so add margin to make more room. */
hbox > .small-button + .small-button {
  margin-inline-end: 2px;
}

#searchTermList > listitem[selected="true"] {
  background-color: inherit;
}

toolbarbutton[is="toolbarbutton-menu-button"] > toolbarbutton {
  min-height: 0;
}
