<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: identify widget 'selected' colors in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239559#M6462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick.&amp;nbsp; Once again thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 17:23:43 GMT</pubDate>
    <dc:creator>JasonStanton__GISP</dc:creator>
    <dc:date>2016-02-02T17:23:43Z</dc:date>
    <item>
      <title>identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239553#M6456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Identify Widget (wab v1.3) I am trying to modify the colors of the "identify-list-item"s.&amp;nbsp; I have the "item" as white, the "alt" as blue and both "selected"s as green.&amp;nbsp; However, when I select an item it obtains the same color as the "alt" (blue).&amp;nbsp; I have done the same thing for the eLocate widget and it works fine.&amp;nbsp; Anyone have any ideas?...it would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239553#M6456</guid>
      <dc:creator>JasonStanton__GISP</dc:creator>
      <dc:date>2016-02-02T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239554#M6457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What theme are you using? Did you adjust the css for that specific themes .identify-list-item.selected and .identify-list-item.selected.alt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 13:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239554#M6457</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-02T13:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239555#M6458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, I appreciate your help!&amp;nbsp; I am using the foldable theme and yes I edited the appropriate css as suggested (hopefully correctly).&amp;nbsp; Here is a link to a &lt;A href="https://mrmapper.mrpc.org/webapps/testtodelete/"&gt;test app&lt;/A&gt; if it helps.&amp;nbsp; Also, here is the code relative to this discussion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.identify-list-item{&lt;/P&gt;&lt;P&gt;&amp;nbsp; line-height: 30px;&lt;/P&gt;&lt;P&gt;&amp;nbsp; font-size: 12px;&lt;/P&gt;&lt;P&gt;&amp;nbsp; white-space: pre;&lt;/P&gt;&lt;P&gt;&amp;nbsp; position: relative;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.identify-list-item.alt{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #d3d3f2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; outline: auto;&lt;/P&gt;&lt;P&gt;&amp;nbsp; outline-color: #000;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item.selected{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #86B186;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item.selected.alt{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #86B186;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item:hover{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #9393df;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item.alt:hover{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #9393df;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item.selected:hover{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #9393df;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.identify-list-item.selected.alt:hover{&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: #9393df;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 13:59:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239555#M6458</guid>
      <dc:creator>JasonStanton__GISP</dc:creator>
      <dc:date>2016-02-02T13:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239556#M6459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So it looks like I have some work to do for the next release with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the List.js comment out these two lines (line 14 and 31) as indicated in the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _onMouseOver: function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (evt.target.id === '' &amp;amp;&amp;amp; evt.target.parentNode.id === '') {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var id = evt.target.id.toLowerCase();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!id) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id = evt.target.parentNode.id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var item = this._getItemById(id);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!item) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this._selectedNode = id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.emit('mouseover', this.selectedIndex, item);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _onMouseOut: function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (evt.target.id === '' &amp;amp;&amp;amp; evt.target.parentNode.id === '') {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var id = evt.target.id.toLowerCase();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!id) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id = evt.target.parentNode.id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var item = this._getItemById(id);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!item) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this._selectedNode = id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.emit('mouseout', this.selectedIndex, item);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239556#M6459</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239557#M6460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - that worked, if I select a record the appropriate color is used.&amp;nbsp; However, if i click on a record ("item", color=white), then any other record , the originally selected record is shaded with the "Item.alt" color (blue), rather than reverting to the "item" (white) color.&amp;nbsp; Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239557#M6460</guid>
      <dc:creator>JasonStanton__GISP</dc:creator>
      <dc:date>2016-02-02T16:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239558#M6461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It does make sense as I forgot to give you another necessary change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update the _onClick function to this one:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _onClick: function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (evt.target.id === '' &amp;amp;&amp;amp; evt.target.parentNode.id === '') {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var id = evt.target.id.toLowerCase();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!id) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id = evt.target.parentNode.id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var item = this._getItemById(id);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!item) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domClass.replace(id, this._itemSelectedCSS, ((item.alt) ? this._itemAltCSS:this._itemCSS));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this._selectedNode) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var item_selected = this._getItemById(this._selectedNode);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(item_selected){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domClass.replace(this._selectedNode, ((!item_selected.alt)? this._itemAltCSS:this._itemCSS), this._itemSelectedCSS);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._selectedNode = id;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.emit('click', this.selectedIndex, item);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239558#M6461</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: identify widget 'selected' colors</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239559#M6462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick.&amp;nbsp; Once again thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 17:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/identify-widget-selected-colors/m-p/239559#M6462</guid>
      <dc:creator>JasonStanton__GISP</dc:creator>
      <dc:date>2016-02-02T17:23:43Z</dc:date>
    </item>
  </channel>
</rss>

