Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Long description icons

    Posted Tue July 01, 2025 03:37 AM

    IN MAS 9 it is very difficult to distinguish between and populated and a non populated Long description using the icons - there used to be colour pallette to distinguish them by the icons but now they are grey. Can the icon colour be changed when a Long description is populated?. 



    ------------------------------
    Geoff Stokes
    Principal Consultant
    BPD Zenith
    Adelaide
    0419860603
    ------------------------------


  • 2.  RE: Long description icons

    Posted Wed July 02, 2025 02:25 AM
    Edited by Andrzej Więcław Wed July 02, 2025 02:25 AM

    Hi Geoff

    in fact you have several options to achieve this. 

    1. You can simply replace img_longdescription_on.gif with your own one by including your image as applications/maximo/maximouiweb/webmodule/webclient/skins/mas8/imagesimg_longdescription_on.gif in your customization archive.
    2. You can provide custom CSS by including applications/maximo/maximouiweb/webmodule/webclient/css/extended.css stylesheet in your customization archive. For example with this simple CSS you may add a shadow background to your image.
      /*
        Applies a smooth transition effect to the filter property for both images.
        This ensures the change animates in both directions (on to off, and off to on).
      */
      img[src*="img_longdescription_"] {
        transition: filter 0.2s ease-in-out;
      }
      
      /*
        Targets the "on" state image specifically.
        It increases the brightness and adds a subtle red glow to indicate an active state.
      */
      img[src$="img_longdescription_on.gif"] {
        filter: brightness(1.1) drop-shadow(0 0 2px red);
      }

    3. With MAS 9+ your can use global CSS injection (ref. Updating the user interface) and use CSS-based technique described above to style MAS Manage UI-element without a need to apply any customization archive and performing full build cycle.



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

    Andrzej Więcław
    Maximo Technical SME
    ZNAPZ B.V.
    Wrocław, Poland
    ------------------------------