/* Charlie Mac Branding - replaces the GLPI logo everywhere. */

/* Dark surfaces (top navbar + left sidebar): WHITE logo.
   content:normal kills GLPI's content:var(--logo) image (was overlapping). */
.glpi-logo {
  content: normal !important;
  background: none !important;
  background-image: url("../pics/cm-logo-white.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Login page (light background): full-colour logo, larger.
   display:inline-block is required because killing content: collapses the
   inline <span> to zero size (so the background had no box to paint). */
.page-anonymous .glpi-logo {
  display: inline-block !important;
  background-image: url("../pics/cm-logo.png") !important;
  width: 320px !important;
  height: 120px !important;
}
