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

@import url("chrome://messenger/skin/shared/in-content/aboutPreferences.css");

@media not all and (-moz-windows-default-theme) {
  radio[pane=paneGeneral] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#general-native");
  }

  radio[pane=paneDisplay] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#display-native");
  }

  radio[pane=paneApplications] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#applications-native");
  }

  radio[pane=panePrivacy] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#privacy-native");
  }

  radio[pane=paneSecurity]> .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#security-native");
  }

  radio[pane=paneCompose] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#compose-native");
  }

  radio[pane=paneAdvanced] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#advanced-native");
  }

  radio[pane=paneChat] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#chat-native");
  }

  radio[pane=paneLightning] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#calendar-native");
  }

  radio[pane=paneAccount] > .paneButtonIcon {
    list-style-image: url("chrome://messenger/skin/shared/in-content/icons.svg#account-native");
  }
}

radio {
  -moz-binding: url("chrome://global/content/bindings/radio.xml#radio") !important;
}

.actionsMenu > .menulist-label-box > .menulist-icon {
  margin-inline-end: 9px;
}

textbox + button,
filefield + button {
  margin-inline-start: -4px;
}

/**
 * Dialog
 */

#dialogTitle {
  font-size: 1.05em;
}
