﻿
/** Simple drag and drop with Blazor CSS **/

.jobs-container {
    display: flex;
   /* justify-content:space-between;*/
}

.jobs-list-header {
    position: sticky;
    top: 0px;
    backdrop-filter: blur(5px);
    background-color: rgba(230, 230, 230, 0.50);
}

.job-status {
    display: flex;
    flex-direction: column;
    max-height: 78vh;
    overflow-y: auto;
    min-width: 250px;
    overflow-x: hidden;
}

    .job-status ul {
        flex: 1;
    }

.dropzone {
    padding: 15px;
    list-style: none;
}

.no-drop {
    border: 2px red;
}

.can-drop {
    border: 2px green;
}

.draggable {
    margin-bottom: 10px;
    padding: 10px 5px;
    border: 1px none #424d5c;
    cursor: grab;
    color: #231f7d;
    border-radius: 5px;
    background-color:whitesmoke;
    box-shadow:1.5px 1.5px 7px rgba(74, 84, 108, 0.84);
    width: 200px;
}
.draggable:hover{
    background-color:lightgray;
}
    .draggable:active {
        cursor: grabbing;
    }

.dragging {
    cursor: grabbing;
}

.description {
    font-size: 18px;
    font-weight:600;
    margin-bottom: 0;
    margin-top: 10px;
}

.last-updated {
    padding-left: 50px;
    margin-top: 0;
    margin-bottom: 3px;
    font-size: 11px;
    color: #8eacff;
    font-weight: bold;
}

    .last-updated small {
        text-transform: uppercase;
        color: #c4cbd4;
        font-size: 11px;
    }

/* misc */
.contrib-card {
    padding: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .contrib-card img {
        height: 50px;
        width: 50px;
    }

.screenshot {
    text-align: center;
    display: block;
}

    .screenshot img {
        max-width: 100%;
    }

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui::before {
    margin: auto;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui {
    z-index: 9999;
    display: none;
    background: #fff;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}
