/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is mozilla.org code.
 *
 * The Initial Developer of the Original Code is Daniel Brooks.
 * Portions created by the Initial Developer are Copyright (C) 2001-2007
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Kevin Gerich  <webmail@kmgerich.com>
 *   Daniel Brooks <db48x@yahoo.com>
 *   Florian QUEZE <f.qu@queze.net>
 *   Markus Stange <mstange@themasta.com>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

@import "chrome://global/skin/";

#main-window {
  border: none !important;
  -moz-appearance: none !important;
  width: 600px !important;
  height: 530px !important;
}

windowdragbox {
  height: 36px;
  -moz-appearance: -moz-mac-unified-toolbar;
  -moz-box-align: center;
}

#tabbox {
  margin: 0;
  -moz-appearance: none;
  padding: 0;
}

#tabs {
  padding: 1px;
  margin: 5px 0 9px;
  -moz-appearance: none;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 3px;
  box-shadow: 0 1px rgba(255, 255, 255, 0.4);
}

.tab-middle {
  padding: 0;
}

.tab-icon {
  display: none;
}

#mainDeck {
  -moz-appearance: none;
}

tab {
  -moz-appearance: none;
  -moz-box-orient: vertical;
  font: menu;
  text-shadow: 0 1px rgba(255, 255, 255, 0.4);
  margin: 0;
  padding: 0 4px;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.8);
  background: -moz-linear-gradient(top, #FFF, #ADADAD) repeat-x;
}

tab:active:hover {
  background: #B5B5B5;
  box-shadow: inset rgba(0, 0, 0, 0.3) 0 -6px 10px, inset #000 0 1px 3px, inset rgba(0, 0, 0, 0.2) 0 1px 3px;
}

tab[selected=true] {
  color: #FFF !important;
  text-shadow:  0 1px rgba(0, 0, 0, 0.4);
  background: #606060;
  box-shadow: inset #2A2A2A 0 3px 3.5px;
}

tab[selected=true]:active:hover {
  background-color: #4E4E4E;
  box-shadow: inset #1c1c1c 0 3px 3.5px;
}

#tabs:-moz-window-inactive {
  background-color: rgba(0, 0, 0, 0.25);
}

tab:-moz-window-inactive {
  border-color: rgba(0, 0, 0, 0.4);
  background-image: -moz-linear-gradient(top, #FFF, #CCC);
}

tab[selected=true]:-moz-window-inactive {
  background: #8E8E8E;
  box-shadow: inset rgba(0, 0, 0, 0.5) 0 3px 3.5px;
}

#tabs:-moz-locale-dir(ltr) > :first-child,
#tabs:-moz-locale-dir(rtl) > :last-child {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
   border-left: none !important;
}

#tabs:-moz-locale-dir(ltr) > :last-child,
#tabs:-moz-locale-dir(rtl) > :first-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* Misc */
tree {
  margin: .5em;
}

.gridSeparator {
  width: .5em;
}

textbox {
  background: transparent !important;
  border: none;
  padding: 0px;
  margin-top: 1px;
  -moz-appearance: none;
  -moz-user-focus: none;
}

textbox.header {
  -moz-margin-start: 0;
}

.iframe {
  margin: .5em;
  background: white;
  overflow: auto;
}

.fixedsize {
  height: 8.5em;
}

textbox[disabled] {
  font-style: italic;
}

/* General Tab */
#metatree {
  margin: 0;
}

#metaTags > .groupbox-body {
  padding: 0;
}

#general-security-identity {
  white-space: pre-wrap;
  line-height: 2em;
}

/* Media Tab */
#imagetree {
  min-height: 10em;
}

#thepreviewimage {
  margin: 1em;
}

treechildren::-moz-tree-cell-text(broken) {
  font-style: italic;
  color: graytext;
}

/* Feeds Tab */
#feedListbox > richlistitem {
  padding-top: 6px;
  padding-bottom: 6px;
  -moz-padding-start: 7px;
  -moz-padding-end: 7px;
  min-height: 25px;
  border-bottom: 1px dotted #C0C0C0;
}

.feedTitle { 
  font-weight: bold;
}

/* Permissions Tab */
#permList {
  margin-top: .5em;
  overflow: auto;
}

#permList > richlistitem {
  padding-top: 6px;
  padding-bottom: 6px;
  -moz-padding-start: 7px;
  -moz-padding-end: 7px;
  min-height: 25px;
  border-bottom: 1px dotted #C0C0C0;
}

#permList > richlistitem > label {
  font-weight: bold;
}

/* Security Tab */
#security-technical-longform1,
#security-technical-longform2 {
  -moz-margin-start: 6px;
}

.fieldValue {
  font-weight: bold;
}

#identity-icon {
  width: 64px;
  height: 64px;
  list-style-image: url("chrome://navigator/skin/icons/identity.png");
  -moz-image-region: rect(0px, 64px, 64px, 0px);
}

#identity-icon.verifiedDomain {
  -moz-image-region: rect(64px, 64px, 128px, 0px);
}

#identity-icon.verifiedIdentity {
  -moz-image-region: rect(128px, 64px, 192px, 0px);
}
