/*
 * TES colours for the React consoles -- account (keycloak.v3) and admin
 * (keycloak.v2). ONE file, mounted into both themes' resources (the
 * ConfigMap maps it twice; see ../../kustomization.yaml). Same palette and
 * reasoning as login/resources/css/tes.css: #557630 carries white text at
 * 6.4:1, #9BC631 is an accent and dark-mode link colour only.
 */
:root {
    --pf-v5-global--primary-color--100: #557630;
    --pf-v5-global--primary-color--200: #3F5823;
    --pf-v5-global--link--Color: #557630;
    --pf-v5-global--link--Color--hover: #3F5823;
    --pf-v5-global--active-color--100: #557630;
    /* the selected menu item's marker (PatternFly draws it blue) */
    --pf-v5-global--active-color--400: #9BC631;
}

html.pf-v5-theme-dark {
    --pf-v5-global--primary-color--100: #557630;
    --pf-v5-global--primary-color--200: #6A9139;
    --pf-v5-global--primary-color--300: #557630;
    --pf-v5-global--primary-color--light-100: #9BC631;
    --pf-v5-global--primary-color--dark-100: #557630;
    --pf-v5-global--link--Color: #9BC631;
    --pf-v5-global--link--Color--hover: #B5D95E;
    --pf-v5-global--active-color--100: #9BC631;
    --pf-v5-global--active-color--400: #9BC631;
}

/* The masthead: TES green under the bar, so the console reads as TES at a
   glance in either scheme. */
.pf-v5-c-masthead {
    border-bottom: 3px solid #9BC631;
}

/* The logo in the masthead. The masthead is ALWAYS dark, in both
   schemes, so it takes tes-logo-on-dark.svg -- the login SVG without its
   light-scheme rule, letters always white (regenerate with the sed line in
   ../../README.md; the login page keeps the scheme-following original).
   The admin console reads no logo property in 26.7, so `content` replaces
   its image; the account console's `logo` property points at the same
   file and gets the same size. The artwork fills about half its canvas,
   hence 48px. */
.keycloak-admin--logo__image,
.pf-v5-c-masthead__brand img {
    content: url('../img/tes-logo-on-dark.svg');
    height: 48px;
    width: auto;
}
