/**
 * 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/pie-chart";

.widget-jenkins-job-icon {
    max-width: 10px;
    margin: 0 5px 0 0;
}

.widget-lastbuilds-weather-img {
    vertical-align: middle;
}

.hudson-test-results-link {
    padding: var(--tlp-medium-spacing);
}

#test-results-pie-legend {
    padding: var(--tlp-medium-spacing);

    > ul {
        margin: 0;
        padding: 0;
    }
}

.test-results-pie {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.test-results-pie-legend {
    display: flex;
    align-items: center;
    text-decoration: none;

    > .test-results-pie-legend-text-span {
        min-height: 0;
        color: var(--tlp-dimmed-color);
        font-size: 12px;
        line-height: 18px;
        cursor: default;
    }
}

.test-results-pie-legend-selected {
    font-weight: 600;
}

.test-results-pie-slice-path {
    opacity: 0.8;
}

.test-results-pie-slice-text {
    font-weight: 600;
}
