<?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: Possible to style accordion item in Custom CSS setting for Nearby Instant App? in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1633983#M851</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;, that worked!&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 17:59:34 GMT</pubDate>
    <dc:creator>MatthewKing</dc:creator>
    <dc:date>2025-07-17T17:59:34Z</dc:date>
    <item>
      <title>Possible to style accordion item in Custom CSS setting for Nearby Instant App?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1631306#M846</link>
      <description>&lt;P&gt;I'm using the Nearby Instant App and would like to style (change color) the results list header (not sure what the name is).&amp;nbsp; I've been reading the calcite design system info on the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/accordion/" target="_self"&gt;developer website&lt;/A&gt; and using the sample tool it looks like I can change the color,&amp;nbsp; but when I copy over to the Custom CSS on the Nearby Instant app it doesn't take.&amp;nbsp; So the question is what's the CSS to change these items?&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;This is from the developer website&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-08 163945.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136123iA307E12903874052/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-07-08 163945.png" alt="Screenshot 2025-07-08 163945.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2025-07-08 163945.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is what I'm trying to style&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-08 164251.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136124iED9004421ABA6F2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-07-08 164251.png" alt="Screenshot 2025-07-08 164251.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2025-07-08 164251.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 20:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1631306#M846</guid>
      <dc:creator>MatthewKing</dc:creator>
      <dc:date>2025-07-08T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to style accordion item in Custom CSS setting for Nearby Instant App?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1631685#M848</link>
      <description>&lt;P&gt;You should be able to update the background color for Nearby using the following css.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-accordion{
--calcite-accordion-background-color:yellow;

}&lt;/LI-CODE&gt;&lt;P&gt;And depending on how the app is configured you may be able to use just this option if all you want is the title area background to be a different color:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.calcite-mode-light, calcite-accordion{
--calcite-block-header-background-color:magenta;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jul 2025 17:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1631685#M848</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2025-07-09T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to style accordion item in Custom CSS setting for Nearby Instant App?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1632084#M849</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;That second CSS did the trick.&amp;nbsp; The first one created yellow around the items, but the next one (magenta) was what I was looking for.&amp;nbsp; I thought I had already tried that one, but I guess not.&lt;/P&gt;&lt;P&gt;Another question, what's the CSS for the distance box (that color stayed white) for each of the items?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-07-10 121940.png" style="width: 289px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136310iBE51881E11E00729/image-dimensions/289x146?v=v2" width="289" height="146" role="button" title="Screenshot 2025-07-10 121940.png" alt="Screenshot 2025-07-10 121940.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2025-07-10 121940.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-07-10 121901.png" style="width: 288px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136311i3270C4BF23EC9549/image-dimensions/288x147?v=v2" width="288" height="147" role="button" title="Screenshot 2025-07-10 121901.png" alt="Screenshot 2025-07-10 121901.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2025-07-10 121901.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 16:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1632084#M849</guid>
      <dc:creator>MatthewKing</dc:creator>
      <dc:date>2025-07-10T16:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to style accordion item in Custom CSS setting for Nearby Instant App?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1632238#M850</link>
      <description>&lt;P&gt;You should be able to style that section using the class (dist) that is applied. Here's an example:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.dist{
background:magenta;}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 22:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1632238#M850</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2025-07-10T22:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to style accordion item in Custom CSS setting for Nearby Instant App?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1633983#M851</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;, that worked!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 17:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/possible-to-style-accordion-item-in-custom-css/m-p/1633983#M851</guid>
      <dc:creator>MatthewKing</dc:creator>
      <dc:date>2025-07-17T17:59:34Z</dc:date>
    </item>
  </channel>
</rss>

