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

@use "pkg:@tuleap/plugin-tracker-artifact-modal";
@use "./includes/socket";
@use "./includes/artifact-links-graph";
@use "./includes/graph";
@use "./includes/campaign";
@use "./includes/execution-list";
@use "./includes/campaign-progression";
@use "./includes/presence";
@use "./includes/administration";
@use "./includes/project-header-background";

/* stylelint-disable selector-no-qualifying-type */
body.testmanagement {
    #main-container {
        display: flex;
        flex: 1 1 auto;
        height: 100vh;
        min-height: 0;

        main[role="main"] {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
        }
    }
}

#testmanagement-app {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;

    > ui-view[data-test-management-main-content] {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;

        > ui-view {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            height: 100%;
        }
    }
}

#testmanagement-breadcrumb {
    flex: 0 0 auto;
    padding-top: var(--tlp-large-spacing);
}

.loader {
    width: 26px;
    height: 26px;
    margin: 0 auto;
    background-image: url("@tuleap/burningparrot-theme/images/spinner.gif");
}

.testmanagement-button-update-status {
    width: 100%;
}
