﻿.resultListElement {
    background-color: var(--color-backgroundElements);
    border-radius: 5px;
    transition: box-shadow 0.5s;
    width: 100%;
    margin-bottom: 5px;
}

    .resultListElement:hover {
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.05);
    }

.resultListElementInstallation {
    border-style: solid;
    border-color: var(--color-greyTransparent);
    border-width: 0px 0px 1px 0px;
    padding: 5px 10px 5px 10px;
}

    .resultListElementInstallation > p {
        font-size: 0.8em;
        opacity: 0.5;
    }

        .resultListElementInstallation > p::before {
            display: inline-block;
            vertical-align: top;
            background-image: url('../images/home.png');
            background-size: contain;
            background-repeat: no-repeat;
            margin-right: 5px;
            width: 12px;
            height: 12px;
            content: '';
            filter: invert(42%) sepia(1%) saturate(2391%) hue-rotate(131deg) brightness(110%) contrast(72%);
        }

.resultListElementDetails {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    gap: 10px;
    padding: 10px
}

    .resultListElementDetails > .fields {
        margin-top: 4px;
        flex: 1;
        flex-flow: row nowrap;
        display: flex;
        flex-flow: row wrap;
        gap: 20px;
    }

    .resultListElementDetails > .resultOk {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--color-green);
    }

    .resultListElementDetails > .resultError {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--color-red);
    }

    .resultListElementDetails .date {
        width: 170px;
    }

    .resultListElementDetails .schedule {
        flex: 1 0 300px;
    }

        .resultListElementDetails .schedule::before {
            display: inline-block;
            vertical-align: top;
            background-image: url('../images/timer.png');
            background-size: contain;
            background-repeat: no-repeat;
            margin-right: 5px;
            margin-top: -2px;
            width: 20px;
            height: 20px;
            content: '';
            filter: invert(42%) sepia(1%) saturate(2391%) hue-rotate(131deg) brightness(110%) contrast(72%);
        }

    .resultListElementDetails .task {
        flex: 1 0 300px;
    }

        .resultListElementDetails .task::before {
            display: inline-block;
            vertical-align: top;
            background-image: url('../images/timer.png');
            background-size: contain;
            background-repeat: no-repeat;
            margin-right: 5px;
            margin-top: -2px;
            width: 20px;
            height: 20px;
            content: '';
            filter: invert(42%) sepia(1%) saturate(2391%) hue-rotate(131deg) brightness(110%) contrast(72%);
        }

    .resultListElementDetails .taskVersion {
        flex: 0 0 50px;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    .resultListElementDetails .elapsed {
        flex: 1 0 150px;
    }

        .resultListElementDetails .elapsed::before {
            display: inline-block;
            vertical-align: top;
            background-image: url('../images/timer.png');
            background-size: contain;
            background-repeat: no-repeat;
            margin-right: 5px;
            margin-top: -2px;
            width: 20px;
            height: 20px;
            content: '';
            filter: invert(42%) sepia(1%) saturate(2391%) hue-rotate(131deg) brightness(110%) contrast(72%);
        }


@media (prefers-color-scheme: dark) {
    .resultListElementDetails .schedule::before {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(241deg) brightness(103%) contrast(103%);
    }

    .resultListElementDetails .task::before {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(241deg) brightness(103%) contrast(103%);
    }

    .resultListElementDetails .elapsed::before {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(241deg) brightness(103%) contrast(103%);
    }
}
