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

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

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

/* ::::: Subscription Icons  :::::: */

treechildren::-moz-tree-image(subscribedColumn),
treechildren::-moz-tree-image(subscribedColumn2) {
  -moz-margin-end: 2px;
  list-style-image: url("chrome://messenger/skin/icons/notchecked.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;
}

/* ::::: Folders :::::: */

treechildren::-moz-tree-image(nameColumn) {
  -moz-margin-end: 2px;
  list-style-image: url("chrome://messenger/skin/icons/folder.png");
  -moz-image-region: rect(0 16px 16px 0);
}

treechildren::-moz-tree-image(nameColumn, ServerType-nntp),
treechildren::-moz-tree-image(nameColumn2, nntp) {
  -moz-margin-end: 2px;
  -moz-image-region: rect(0 160px 16px 144px);
}

/* ::::: Servers :::::: */

.subscribeMenuItem {
  list-style-image: url("chrome://messenger/skin/icons/server.png");
  -moz-image-region: rect(0 16px 16px 0);
}

.subscribeMenuItem[ServerType="imap"][IsSecure="true"] {
  -moz-image-region: rect(0 32px 16px 16px);
}

.subscribeMenuItem[ServerType="nntp"] {
  -moz-image-region: rect(0 64px 16px 48px);
}

.subscribeMenuItem[ServerType="nntp"][IsSecure="true"] {
  -moz-image-region: rect(0 80px 16px 64px);
}
