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

@namespace html url(http://www.w3.org/1999/xhtml);

/* These styles affect only the bound element, not other page content. */

.mainBox {
  text-align: center;
  background-image: -moz-repeating-linear-gradient(-45deg,
                                                   rgba(65, 65, 65, 0.8),
                                                   rgba(65, 65, 65, 0.8) 20px,
                                                   rgba(69, 69, 69, 0.8) 20px,
                                                   rgba(69, 69, 69, 0.8) 40px);
  color: white;
  border-radius: 12px;
  /* recessed effect with dark inner shadow and lightened bottom */
  box-shadow: inset 0 1px 3.5px rgba(0,0,0,0.8),
              0 1px 0 rgba(255,255,255,0.2);
  padding: 5px;
  -moz-user-select: none;
}

html|a {
  color: white;
}

.icon {
  min-width: 48px;
  min-height: 48px;
  background-position: center;
  background-repeat: no-repeat;
}
:-moz-type-unsupported .icon {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginMissing.png);
}
:-moz-type-unsupported .icon[status="ready"] {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginDownload.png);
}
:-moz-handler-clicktoplay .icon,
:-moz-handler-vulnerable-updatable .icon,
:-moz-handler-vulnerable-no-update .icon {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginClickToPlay.png);
}
:-moz-handler-disabled .icon {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginDisabled.png);
}
:-moz-handler-blocked .icon {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png);
}
:-moz-handler-crashed .icon {
  background-image: url(chrome://mozapps/skin/plugins/contentPluginCrashed.png);
}

.throbber {
  padding-left: 16px; /* width of the background image */
  background: url(chrome://global/skin/icons/loading_16.png) no-repeat;
  margin-left: 5px;
}

.msg {
  font: message-box;
  font-size: 12px;
  cursor: default;
  text-shadow: rgba(0,0,0,0.8) 0 0 3.5px;
}

:-moz-handler-clicktoplay .msgClickToPlay,
:-moz-handler-vulnerable-updatable .msgClickToPlay,
:-moz-handler-vulnerable-no-update .msgClickToPlay {
  cursor: pointer;
}

@media not all and (-moz-touch-enabled) {
  :-moz-handler-clicktoplay .msgTapToPlay {
    display: none;
  }
}

@media (-moz-touch-enabled) {
  :-moz-handler-clicktoplay .msgClickToPlay {
    display: none;
  }
}

.submitStatus div {
  min-height: 19px; /* height of biggest line (with throbber) */
}

.msgBottomLinks {
  padding-left: 2px;
  padding-right: 2px;
}

.helpIcon {
  float: left;
  display: inline-block;
  min-width: 16px;
  min-height: 16px;
  background: url(chrome://mozapps/skin/plugins/pluginHelp-16.png) no-repeat;
}
