/**
 * @project         MapGuide Open Source Web Studio
 * @revision        $Id: list.css,v 1.4 2006/06/09 13:44:31 pspencer Exp $
 * @copyright       &copy; 2006 DM Solutions Group Inc.
 * released under LGPL License with MapGuide Open Source (see index.html)
 */

/* ============== */
/* JX LIST STYLES */
/* ============== */

ul.jxList {
  /* needs to be explicitly positioned so that the closeImg is positioned properly */
  position: relative;
  display: block;
  margin: 0px;
  padding: 0px;
  border: none;
  list-style-type: none;
}

ul.jxList li {
  /* needs to be explicitly positioned so that the closeImg is positioned properly */
  position: relative;
  display: block;
  margin: 0px;
  padding: 0px;
  border: none;
  height:20px;
}

ul.jxList li a {
  /* needs to be explicitly positioned so that the closeImg is positioned properly */
  position: relative;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  padding: 0;
  padding-left:24px;
  /* this value needs to be the height of it's parent
     minus it's own margin, padding and border values */ 
  line-height:20px;
  /* height needs to be set for IE.  Same value as line height. */
  height: 20px;
  color: #000;
  background-position: 2px 2px;
  background-repeat: no-repeat;
}

ul.jxList li a:hover {
  background-color: #E1EDFA; 
  /*background-color: #ffffcc; */
}

ul.jxList li.selected a {
  font-weight: bold;
  background-color: #AFD4FA;
  /*background-color: #ddffaa; */
}

ul.jxList li.modified a {
  color: red;
}

ul.jxList img.resourceCloseImg {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border: none;
}


/* RESOURCE ICONS */

a.ResourceFolder {
    background-image: url(../images/tree_folder.png);
}
a.MapDefinition {
    background-image: url(../images/tree_map.png);
}
a.LayerDefinition {
    background-image: url(../images/tree_layer.png);
}
a.FeatureSource {
    background-image: url(../images/tree_data.png);
}
a.DrawingSource {
    background-image: url(../images/tree_data.png);
}
a.WebLayout {
    background-image: url(../images/tree_layout.png);
}
a.SymbolLibrary {
    background-image: url(../images/tree_symbol.png);
}
a.LoadProcedure {
    background-image: url(../images/tree_load.png);
}
a.PrintLayout {
    background-image: url(../images/tree_print.png);
}
a.HtmlPage {
    background-image: url(../images/tree_page.png);
}
a.IframePage {
    background-image: url(../images/tree_page.png);
}
