/**
 * Copyright (c) Enalean, 2018-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/plugin-agiledashboard-scrum-header";
@use "pkg:@tuleap/plugin-agiledashboard-scrum-milestone-header";

.agiledashboard-milestone-details-items-list-badge {
    margin: 0 5px 0 0;
}

.agiledashboard-milestone-details {
    display: flex;
}

.agiledashboard-milestone-details-items {
    flex: 1 1 auto;
}

.agiledashboard-milestone-details-graphs {
    flex: 0 0 640px;
    margin: 0 0 0 20px;
}

.agiledashboard-milestone-details-items-inconsistent-button {
    vertical-align: baseline;
}

@media screen and (max-width: 1200px) {
    .agiledashboard-milestone-details {
        flex-direction: column;
    }

    .agiledashboard-milestone-details-graphs {
        margin: 20px 0 0;
    }
}

/* stylelint-disable-next-line selector-no-qualifying-type */
#details .tlp-table > tbody > tr > td.agiledashboard-milestone-details-items-list-is-closed {
    background-color: #f8f8f8;
    color: #999999;
}
