/**
 * Copyright (c) Enalean, 2017-Present. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap 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.
 *
 * Tuleap 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 Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

.toggler-noajax,
.toggler-hide-noajax,
.toggler,
.toggler-hide {
    position: relative;
    padding: 0 0 0 16px;
    cursor: pointer;

    &::before {
        position: absolute;
        top: 2px;
        left: 0;
        font-family: "Font Awesome 6 Free";
        font-size: 14px;
        font-weight: 400;
    }
}

.toggler,
.toggler-noajax {
    &::before {
        content: "\f146"; // fa-minus-square
    }
}

.toggler-hide,
.toggler-hide-noajax {
    &::before {
        content: "\f0fe"; // fa-plus-square
    }

    ~ * {
        display: none;
    }
}
