/*!
 * -------------------------------------------------------------------------
 * Branding plugin for GLPI
 * -------------------------------------------------------------------------
 *
 * LICENSE
 *
 * This file is part of Branding.
 *
 * Branding is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Branding is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Branding. If not, see <http://www.gnu.org/licenses/>.
 * -------------------------------------------------------------------------
 * @copyright Copyright (C) 2019-2023 by Teclib'.
 * @license   GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
 * @link      https://services.glpi-network.com
 * -------------------------------------------------------------------------
 */

.page-anonymous .glpi-logo,
.branding_logo_container.branding_login_logo_container > div {
   content: url("../front/image.load.php?target=login_page_logo") !important;
   background: none !important;
   width: auto !important; /* Let browser automatically define value, preserving aspect ratio (auto is the default value). */
   max-width: 100%; /* Not larger than min login form width. */
   height: auto !important; /* Let browser automatically define value, preserving aspect ratio (auto is the default value). */
}

/* 992px corresponds to the "lg" breakpoint */
@media (min-width: 992px) {
   .page-anonymous .glpi-logo,
   .branding_logo_container.branding_login_logo_container > div {
      max-width: 450px; /* Not larger than min login form width. */
   }
}
