/**
 * 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/>.
 */

$button-size: 46px;
$from-bottom: 10px;

.add-in-place {
    display: flex;
    position: absolute;
    z-index: 1000;
    bottom: $from-bottom;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow-y: auto;
    transition: opacity 75ms;
    opacity: 0;
    pointer-events: none;
    scrollbar-gutter: stable;
}

.kanban-add-in-place-button {
    display: flex;
    justify-content: center;
    width: $button-size;
    height: $button-size;
    padding: 0;
    overflow: visible;
    transition:
        border-radius 50ms,
        width 150ms,
        height 150ms;
    border-radius: 50%;
    box-shadow: var(--tlp-flyover-shadow);
}

.kanban-add-in-place-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 80px;
    margin: 0 5px;
}

.kanban-add-in-place-form-buttons {
    align-self: flex-end;
    margin: 10px 0 0;
}
