/* 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://global/skin/inContentUI.css");

/* header */

#permissions-pagetitle {
  font-size: 200%;
  font-weight: bold;
  padding-bottom: 0.5em;
}

/* sites box */

#sites-box {
  padding: 10px;
  width: 25em;
}

#sites-filter {
  margin: 0;
}

#sites-list {
  -moz-appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.32);
  background-color: rgba(255, 255, 255, 0.4);
  margin: 5px 0 0 0;
}

.site {
  padding: 4px;
  border-bottom: 1px solid ThreeDLightShadow;
}

.site-favicon {
  height: 16px;
  width: 16px;
  -moz-margin-end: 4px;
  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}

#all-sites-item > .site-container > .site-favicon {
  list-style-image: none;
}

/* permissions box */

#permissions-box {
  padding-top: 10px;
  overflow-y: auto;
}

#site-description {
  font-size: 125%;
  -moz-margin-start: 6px; /* to match button margin */
}

#site-label {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

#defaults-description {
  font-size: 125%;
  font-weight: bold;
  -moz-margin-start: 6px;
}

.pref-item {
  margin-bottom: 10px;
}

.pref-icon {
  width: 48px;
  height: 48px;
  -moz-margin-end: 10px;
}

.pref-icon[type="password"] {
  list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png);
}
.pref-icon[type="image"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}
.pref-icon[type="popup"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}
.pref-icon[type="cookie"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}
.pref-icon[type="desktop-notification"] {
  list-style-image: url(chrome://browser/skin/notification-64.png);
}
.pref-icon[type="install"] {
  list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-48.png);
}
.pref-icon[type="geo"] {
  list-style-image: url(chrome://browser/skin/Geolocation-64.png);
}
.pref-icon[type="indexedDB"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}
.pref-icon[type="plugins"] {
  list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric-48.png);
}
.pref-icon[type="fullscreen"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}
.pref-icon[type="pointerLock"] {
  list-style-image: url(chrome://global/skin/icons/question-48.png);
}

.pref-title {
  font-size: 125%;
  margin-bottom: 0;
  font-weight: bold;
  margin-right: 0;
  padding-right: 0;
}

.pref-default {
  margin-left: 0.5em;
  padding-left: 0;
}

.pref-set-default {
  visibility: collapse;
}

.pref-menulist {
  margin-left: 6px;
  margin-right: 6px;
  min-width: 10em; /* native menulists ellipsize their longest entries by default on many themes */
}

.plugins-label {
  margin-right: 0;
  padding-right: 0;
}

.plugins-vulnerable {
  margin-left: 0;
  padding-left: 0;
  margin-right: 0;
  padding-right: 0;
}

.plugins-default {
  margin-left: 0.5em;
  padding-left: 0;
  margin-right: 1em;
  padding-right: 0;
}
