/**
 * 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 "sass:color";
@use "pkg:@tuleap/tlp-swatch-colors/tlp-swatch-colors";
@use "pkg:@tuleap/plugin-tracker-chart-styles" as chart;

$remaining-effort-color: tlp-swatch-colors.$neon-green-primary;

.chart-plot-remaining-effort {
    fill: $remaining-effort-color;

    &.highlighted {
        stroke-width: 2px;
        stroke: color.adjust($remaining-effort-color, $lightness: 20%);
    }
}

.chart-curve-remaining-effort {
    stroke-width: 3px;
    stroke: $remaining-effort-color;
    fill: transparent;
}

.chart-badge {
    stroke-width: 1px;
    stroke: $remaining-effort-color;
    fill: transparent;
}

#chart-badge-value {
    stroke: transparent;
    fill: $remaining-effort-color;
}

.chart-curve-label {
    font-size: 12px;
}

.chart-column {
    opacity: 0.05;
    fill: transparent;

    &.highlighted {
        fill: chart.$text-color;
    }
}

.chart-tooltip-bubble {
    fill: #2f2f2f;
}

.chart-plot-ideal-burndown {
    fill: chart.$line-color;
}

.ideal-line {
    > circle {
        fill: chart.$line-color;
    }

    > path {
        stroke-width: 3px;
        stroke: chart.$line-color;
        fill: transparent;
    }
}
