/* ==UserStyle==
@name           HCMC-colorizer
@description    Colorizes Oracle HCM Cloud environments (oraclecloud.com). dev1, dev2, test and prod all get different colors so you know where you are.
@namespace      https://greasyfork.org/en/users/709009
@version        20D.1
@license        MIT
@author         masebu
@downloadURL none
==/UserStyle== */

@-moz-document regexp("^(?:(?!(dev1|dev2|test)).)+\\.fa\\.([^.]*)\\.oraclecloud\\.com/.*") {
/* prod is red-ish

20A: replace .xmx with .x32x
20C: replace x32x with x2zz, .xkh with .xkf
20D: keep only .xmw and .kioskPanelBkgd, still compatible with 20C, hopping it'll stay
*/

/* -- main panels */
.xmw, /* nav/branding bar */
.kioskPanelBkgd, /* page header */
/* -- analytics */
.masterBrandingArea,
.PageContentOuterDiv {
    background: #db1414 !important;
}

/* dark-blue nav icons don't render well on blue, make them white*/
.svg-glob .svg-outline {
    stroke: white !important
}
}

@-moz-document regexp(".*test.*\\.fa\\.([^.]*)\\.oraclecloud\\.com/.*") {
/* test is orange-ish

20A: replace .xmx with .x32x
20C: replace x32x with x2zz, .xkh with .xkf
20D: keep only .xmw and .kioskPanelBkgd, still compatible with 20C, hopping it'll stay
*/

/* -- main panels */
.xmw, /* nav/branding bar */
.kioskPanelBkgd, /* page header */
/* -- analytics */
.masterBrandingArea,
.PageContentOuterDiv {
    background: #ff8830 !important;
}

/* dark-blue nav icons don't render well on blue, make them white*/
.svg-glob .svg-outline {
    stroke: white !important
}
}

@-moz-document regexp(".*dev2.*\\.fa\\.([^.]*)\\.oraclecloud\\.com/.*") {

/* dev1 is blue-ish

20A: replace .xmx with .x32x
20C: replace x32x with x2zz, .xkh with .xkf
20D: keep only .xmw and .kioskPanelBkgd, still compatible with 20C, hopping it'll stay
*/

/* -- main panels */
.xmw, /* nav/branding bar */
.kioskPanelBkgd, /* page header */
/* -- analytics */
.masterBrandingArea,
.PageContentOuterDiv {
    background: #0464d3 !important;
}

/* dark-blue nav icons don't render well on blue, make them white*/
.svg-glob .svg-outline {
    stroke: white !important
}
}

@-moz-document regexp(".*dev1.*\\.fa\\.([^.]*)\\.oraclecloud\\.com/.*") {
/* dev1 is green-ish

20A: replace .xmx with .x32x
20C: replace x32x with x2zz, .xkh with .xkf
20D: keep only .xmw and .kioskPanelBkgd, still compatible with 20C, hopping it'll stay
*/

/* -- main panels */
.xmw, /* nav/branding bar */
.kioskPanelBkgd, /* page header */
/* -- analytics */
.masterBrandingArea,
.PageContentOuterDiv {
    background: #417324 !important;
}

/* dark-blue nav icons don't render well on dark-green, make them white*/
.svg-glob .svg-outline {
    stroke: white !important
}
}