/*
# -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# 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/.
*/

/* Global Styles */

radio[pane=paneGeneral] {
  list-style-image: url("chrome://messenger/skin/preferences/general.png");
}
radio[pane=paneDisplay] {
  list-style-image: url("chrome://messenger/skin/preferences/display.png");
}
radio[pane=paneCompose] {
  list-style-image: url("chrome://messenger/skin/preferences/composition.png");
}
radio[pane=paneChat] {
  list-style-image: url("chrome://messenger/skin/preferences/chat.png"); /*FIXME*/
}
radio[pane=panePrivacy] {
  list-style-image: url("chrome://messenger/skin/preferences/privacy.png");
}
radio[pane=paneSecurity] {
  list-style-image: url("chrome://messenger/skin/preferences/security.png");
}
radio[pane=paneApplications] {
  list-style-image: url("chrome://messenger/skin/preferences/attachments.png");
}
radio[pane=paneAdvanced] {
  list-style-image: url("chrome://messenger/skin/preferences/advanced.png");
}

/* Attachments Pane */
#MailPreferences[animated="true"] #handlersView {
  height: 25em;
}

#MailPreferences[animated="false"] #handlersView {
  -moz-box-flex: 1;
}

/* Modeless Window Dialogs */
.windowDialog,
.windowDialog prefpane {
  padding: 0px;
}

.contentPane {
  margin: 9px 8px 5px;
}

.actionButtons {
  margin: 0px 3px 6px !important;
}

/* override the color style for tag items when they 
   have selection */
#tagList listitem[selected="true"] {
  color: -moz-DialogText !important;
}

#tagList:focus > listitem[selected="true"] {
  color: HighlightText !important;
}

/* Chat */
#timeBeforeAway {
  width: 4em;
}

/* Quota meter in Folder Properties */

#quotaPercentageBar {
  -moz-appearance: none;
  border: 1px solid ThreeDShadow;
}

#quotaPercentageBar > .progress-bar {
  -moz-appearance: none;
  background-color: #88AAFF;
  opacity: .5;
}

/* Attachments */

body {
  font: message-box;
}

a {
  color: -moz-nativehyperlinktext;
  text-decoration: underline;
}

/* Making sure there is some spacing between elements */

#provider-header {
  border-bottom: 1px solid black;
  margin-bottom: 20px;
  height: 50px;
}

#provider-name {
  padding: 0;
  margin: 0;
  margin-right: 120px;
}

#provider-name h1 {
  font-size: large;
}

#provider-name h2 {
  font: message-box;
}

#provider-terms {
  float: right;
  width: 110px;
}

#provider-terms a {
  font-size: small;
  display: block;
  margin-bottom: 5px;
  text-align: right;
}

#provider-space {
  text-align: right;
  margin-right: 190px;
  margin-top: 50px;
  height: 100px;
}

#cloudFileView {
  width: 150px;
  overflow: hidden;
}

#upgrade {
  margin-top: 1em;
}

#provider-space-visuals {
  width: 150px;
  height: 150px;
  float: right;
}

#provider-account-settings {
  text-align: right;
  position: absolute;
  bottom: 8px;
  right: 10px;
}

.space-swatch {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 2px;
  -moz-margin-start: 0.5ch;
  box-sizing: border-box;
}

/* Main pane padding */

#provider-management {
  margin: 0 10px;
}

#provider-name h1 {
  margin: 0;
}

/* Loading panel */
#cloudFileLoadingPanel, #cloudFileDefaultPanel {
  text-align: center;
  padding-top: 150px;
}

/* Flexing */
#provider-management {
  display: block;
  -moz-box-orient: vertical;
}

#provider-space label {
  -moz-margin-end: 0.5ch;
  vertical-align: middle;
}

#provider-space span {
  vertical-align: middle;
}

#provider-header {
  -moz-box-flex: 0;
}

#provider-spacebox {
  -moz-box-flex: 1;
}

#provider-account-settings {
  -moz-box-flex: 0;
}
