/**
 * Copyright (C) 2018-2021  The Software Heritage developers
 * See the AUTHORS file at the top-level directory of this distribution
 * License: GNU Affero General Public License version 3, or any later version
 * See top-level LICENSE file for more information
 */

.swh-visit-icon {
    left: -20px;
    top: -2px;
    position: relative;
}

.swh-visit-icon::before {
    font-family: "Material Design Icons";
    margin-right: 3px;
    vertical-align: bottom;
}

.swh-visit-full {
    color: green;
}

.swh-visit-full::before {
    /* mdi-check-bold */
    content: "\f0e1e";
}

.swh-visit-partial {
    color: #edc344;
}

.swh-visit-partial::before {
    /* mdi-alter */
    content: "\f0026";
}

.swh-visit-failed {
    color: #f00;
}

.swh-visit-failed::before {
    /* mdi-close-thick */
    content: "\f1398";
}

.swh-visit-ongoing {
    color: #00f;
}

.swh-visit-ongoing::before {
    /* mdi-sync */
    content: "\f04e6";
}

.swh-visit-created {
    color: #7d8080;
}

.swh-visit-created::before {
    /* mdi-camera-plus */
    content: "\f0edb";
}

.swh-visit-not_found {
    color: #000;
}

.swh-visit-not_found::before {
    /* mdi-web-off */
    content: "\f0a8e";
}

#swh-visits-calendar.calendar {
    min-height: 700px;
    overflow: visible;
}

#swh-visits-calendar.calendar table td {
    width: 28px;
    height: 28px;
    padding: 0;
}

svg .grid line {
    stroke: lightgrey;
    stroke-opacity: 0.7;
    shape-rendering: crispedges;
}

svg .grid path {
    stroke-width: 0;
}

.swh-visits-list-column {
    float: left;
    padding: 10px;
}

.swh-visits-list-row {
    padding-left: 50px;
}

.swh-visits-list-row::after {
    content: "";
    display: table;
    clear: both;
}
