/*
 * The contents of this file are subject to the Netscape 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/NPL/
 *
 * 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 Communicator client code, released
 * March 31, 1998.
 *
 * The Initial Developer of the Original Code is Netscape
 * Communications Corporation. Portions created by Netscape are
 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
 * Rights Reserved.
 *
 * Contributor(s):
 *
 */

/* ===== subscribe.css ==================================================
  == Styles for the Subscribe dialog.
  ======================================================================= */

@import url("chrome://messenger/skin/");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: subscribed icons  :::::: */

treechildren::-moz-tree-image(subscribedColumn),
treechildren::-moz-tree-image(subscribedColumn2) {
  margin-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/dot.gif");
}

treechildren::-moz-tree-image(subscribedColumn, Subscribed-true),
treechildren::-moz-tree-image(subscribedColumn2, subscribed) {
  list-style-image: url("chrome://messenger/skin/icons/check.gif");
}

treechildren::-moz-tree-image(subscribedColumn, Subscribable-false) {
  list-style-image: none;
}

treechildren::-moz-tree-cell-text(nameColumn, Subscribable-false) {
  color: gray;
  font-style: italic;
}

/* ::::: folder icons :::::: */

treechildren::-moz-tree-image(nameColumn) {
  margin-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
}

treechildren::-moz-tree-image(nameColumn, ServerType-nntp),
treechildren::-moz-tree-image(nameColumn2, nntp) {
  margin-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif");
}

/* ::::: server icons :::::: */

.subscribeMenuItem {
  list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
}

.subscribeMenuItem[ServerType="imap"][IsSecure="true"] {
  list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
}

.subscribeMenuItem[ServerType="nntp"] {
  list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
}

.subscribeMenuItem[ServerType="nntp"][IsSecure="true"] {
  list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
}
