/**
 * Copyright (c) Enalean, 2020-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/>.
 */

.git-repository-tag-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.git-repository-tag-title {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 20px;
}

.git-repository-tag-info {
    display: flex;
    align-items: flex-start;

    @media screen and (max-width: 1000px) {
        flex-direction: column;
    }
}

.git-repository-tag-description {
    min-width: 300px;
    margin: 0 var(--tlp-x-large-spacing) 0 0;
    padding: 0 0 0 var(--tlp-medium-spacing);
    border-left: 2px solid var(--tlp-main-color);
    white-space: pre-wrap;

    @media screen and (max-width: 1000px) {
        width: 100%;
        margin: 0 0 var(--tlp-medium-spacing);
    }
}

.git-repository-tag-metadata {
    flex: 0 1 auto;
}

.git-repository-tag-metadata-properties {
    display: flex;
    flex-wrap: wrap;
}

.git-repository-tag-metadata-properties-group {
    margin: 0;

    &:first-child {
        margin: 0 var(--tlp-x-large-spacing) var(--tlp-medium-spacing) 0;
    }
}

.git-repository-tag-metadata-username-date {
    display: flex;
    align-items: center;
}

.git-repository-tag-metadata-username-avatar {
    flex: 0 0 auto;
    margin: 0 5px 0 0;
}

.git-repository-tag-metadata-date {
    margin: 0 0 0 var(--tlp-small-spacing);
    font-size: 14px;

    > .fa-clock {
        margin: 0 2px 0 0;
        font-size: 12px;
    }
}
