/*
** Copyright (C) 2021-2026 initMAX s.r.o.
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program 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 Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/

/*
 * Config form - edition badge rendered at the top of the dialog by the
 * CI-injected ProTeaser (window.initmaxProTeaser). The v2 tree (6.4-7.4)
 * wraps the form in .dashboard-widget-form.dashboard-widget-tetrismax; the v1
 * tree (6.0/6.2) uses .dashboard-grid-widget-tetrismax. build-edition.py
 * generates the v1 copy of this sheet and rewrites the ../img/ URLs.
 */

.dashboard-widget-form.dashboard-widget-tetrismax .initmax-free::before,
.dashboard-grid-widget-tetrismax .initmax-free::before {
    content: '';

    background-image: url('../img/initmax-free.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-clip: padding-box;

    display: block;
    height: 4rem;
    margin: 2rem 0;
}

.dashboard-widget-form.dashboard-widget-tetrismax .initmax-pro::before,
.dashboard-grid-widget-tetrismax .initmax-pro::before {
    content: '';

    background-image: url('../img/initmax-pro.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-clip: padding-box;

    display: block;
    height: 4rem;
    margin: 2rem 0;
}
