<?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: Reporter - Custom CSS for Buttons and Animation Effects.  It Works! in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655617#M3444</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;&amp;nbsp;Thank you for this.&amp;nbsp; I have implemented your suggested change!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2025 19:02:45 GMT</pubDate>
    <dc:creator>LakesGISMaps</dc:creator>
    <dc:date>2025-10-06T19:02:45Z</dc:date>
    <item>
      <title>Reporter - Custom CSS for Buttons and Animation Effects.  It Works!</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655057#M3439</link>
      <description>&lt;P&gt;The button that is clicked to create/fill out the report form in the reporter app can be targeted to change the color and add effects to it.&amp;nbsp; All of the other buttons can be targeted as well. I used an animation to get people's attention on where to click to create a report:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6381010201112w95h95r585" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6381010201112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6381010201112w95h95r585');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6381010201112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* Define the animation sequence for a pulsing button with a glow */
@keyframes pulse-scale-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.9); /* Opaque red */
  }
  50% {
    transform: scale(1.05); /* Scales the button slightly larger */
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); /* Fading red */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Apply the styles and animation only to the "Create a Request" button */
calcite-button[slot="footer"] 
  --calcite-color-brand: red;
  --calcite-font-weight-normal: bold;
  animation: pulse-scale-glow 2s infinite;
}

/* Pause the animation when the button is hovered over */
calcite-button[slot="footer"]:hover {
  animation-play-state: paused;
}​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to find the name for the calcite button, I right-clicked the button and then chose inspect.&amp;nbsp; In the Elements tab, this will give you the name of the button to target.&amp;nbsp; In this case, this is the name of the button:&amp;nbsp; &lt;STRONG&gt;slot="footer"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LakesGISMaps_0-1759453023396.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141328iBCE42961FB6D411B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LakesGISMaps_0-1759453023396.png" alt="LakesGISMaps_0-1759453023396.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;LakesGISMaps_0-1759453023396.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 13:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655057#M3439</guid>
      <dc:creator>LakesGISMaps</dc:creator>
      <dc:date>2025-10-03T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reporter - Custom CSS for Buttons and Animation Effects.  It Works!</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655546#M3442</link>
      <description>&lt;P&gt;Great info thanks for sharing. One quick caveat about adding animation to your site is that it can cause accessibility issues. Some users have motion sensitivity and others find it a distraction - some of these users set prefers-reduced-motion on their computer to let web apps that honor this setting know that they prefer less animation on the site. You could update your css to respect this by modifying your css to check for prefers-reduced-motion here's an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;@media (prefers-reduced-motion: no-preference) {
  @keyframes pulse-scale-glow {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.9);
    }
    50% {
      transform: scale(1.05);
      box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
  }

  calcite-button[slot="footer"] {
    --calcite-color-brand: red;
    --calcite-font-weight-normal: bold;
    animation: pulse-scale-glow 2s infinite;
  }

  calcite-button[slot="footer"]:hover {
    animation-play-state: paused;
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 16:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655546#M3442</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2025-10-06T16:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reporter - Custom CSS for Buttons and Animation Effects.  It Works!</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655617#M3444</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;&amp;nbsp;Thank you for this.&amp;nbsp; I have implemented your suggested change!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 19:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/reporter-custom-css-for-buttons-and-animation/m-p/1655617#M3444</guid>
      <dc:creator>LakesGISMaps</dc:creator>
      <dc:date>2025-10-06T19:02:45Z</dc:date>
    </item>
  </channel>
</rss>

