Retail Merchandising System (MOSC)

MOSC Banner

Change colours of RMS16 css

TrevorWJNorth
TrevorWJNorth Posts: 757 Gold Trophy
edited Jul 28, 2017 6:20AM in Retail Merchandising System (MOSC) 2 comments

Comments

  • I wasn't able to do it by changing rms.css; although the steps allowed me to research another way; this is what I did and it worked in 16.0.1:

    cd $RETAIL_HOME/javaapp_rms/custom

    # If file exists only update it with the color

    ls -al Rms.ear/RmsViewController.war/WEB-INF/lib/RetailAppsFrameworkSkinResources.jar/META-INF/raf/retail-core/styles/retail-alta-r16-v1.css

    # If file does not exist first extract it:

    mkdir -p Rms.ear/RmsViewController.war/WEB-INF/lib/RetailAppsFrameworkSkinResources.jar

    cd Rms.ear/RmsViewController.war

    jar -xvf ../../../deploy/Rms.ear RmsViewController.war

    cd WEB-INF/lib/RetailAppsFrameworkSkinResources.jar

    jar -xvf RmsViewController.war WEB-INF/lib/RetailAppsFrameworkSkinResources.jar

    rm RmsViewController.war

    cd WEB-INF/lib/

    jar -xvf RetailAppsFrameworkSkinResources.jar META-INF/raf/retail-core/styles/retail-alta-r16-v1.css

    rm RetailAppsFrameworkSkinResources.jar

    mkdir RetailAppsFrameworkSkinResources.jar

    mv META-INF RetailAppsFrameworkSkinResources.jar

    cd $RETAIL_HOME/javaapp_rms/custom

    vi Rms.ear/RmsViewController.war/WEB-INF/lib/RetailAppsFrameworkSkinResources.jar/META-INF/raf/retail-core/styles/retail-alta-r16-v1.css

    # Search for /RetailUiShellGlobalAreaRowCell

    # Change from background-color: #f5f5f5

    # You may use the following colors or whichever you feel like:

    # Regular Colors: DEV=#008000 (Green); TST=#FFFF00 (Yellow); CNV=#800080 (Purple); PRD=#00FFFF (Aqua)

    # Light Colors: DEV=#CCFFCC (Green 90%); TST=#FFFFCC (Yellow 90%); CNV=#FFCCFF (Purple 90%); PRD=#CCFFFF (Aqua 90%)

    .RetailUiShellGlobalAreaRowCell {

        z-index: 8;

        background-color: #CCFFCC;

        border-bottom: 1px solid #c6c6c6;

        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.12)

    }

    # Save the file

    # Start RMS Managed Server and redeploy

    ordeploy -a RMS -t JAVA

    # Test the app; you will see only the color change in the top banner

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center