/**
 * Copyright (c) Enalean, 2023-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/>.
 */

@use "pkg:@tuleap/tlp-swatch-colors";

.additional-connectors-or {
    display: block;
    position: relative;
    height: 50px;
    color: #bbbbbb;
    font-size: 12px;

    > span {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        padding: 0 10px;
        transform: translate(-50%, -50%);
        background: #ffffff;
        white-space: nowrap;
    }

    &::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        border-top: 1px solid #f1f1f1;
    }
}

.additional-connectors-list > a {
    width: 100%;
    height: 58px;
    margin: 0 auto 10px;
    line-height: 58px;
}

.colored-button {
    @include tlp-swatch-colors.colored-button-colors;
}
