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

.dashboard-project-header {
    display: flex;
    flex-direction: column;
    padding: var(--tlp-medium-spacing) 400px var(--tlp-large-spacing) var(--tlp-medium-spacing);
}

.dashboard-project-header-main {
    display: flex;
    align-items: flex-start;
    margin: 0 0 var(--tlp-medium-spacing);
}

.dashboard-project-header-access {
    margin: 14px var(--tlp-medium-spacing) 0 0; // magix value
}

.dashboard-project-header-members {
    margin: 14px 0 0; // magix value
}

.dashboard-project-header-trovecat {
    color: var(--tlp-dimmed-color);
    font-size: 0.75rem;
}

.dashboard-project-header-trovecat-link {
    color: var(--tlp-warning-color);
    text-decoration: underline;

    &:focus,
    &:hover,
    &:active {
        color: var(--tlp-warning-color-darker-10);
    }
}

.dashboard-project-header-trovecat-icon {
    margin: 0 3px 0 0;
    font-size: 0.65rem;
}

.dashboard-project-title {
    margin: 0 var(--tlp-medium-spacing) 0 0;
    color: var(--tlp-dark-color);
    font-size: 2.75rem;
    font-weight: 500;
}

.dashboard-project-title-parent {
    display: block;
    margin: 0 0 1px;
    font-size: 12px;
    font-weight: 400;
}

.dashboard-project-title-parent-icon {
    width: 13px;
    height: 10px;
    margin: 2px 0 0;
    fill: var(--tlp-dimmed-color);
    vertical-align: top;

    + .dashboard-project-title-name {
        margin: 0 0 0 -7px;
    }
}

.dashboard-project-title-name-icon {
    margin: 0 calc(var(--tlp-small-spacing) / 2) 0 0;
}
