﻿/*#region QuickGrid*/
.quickgrid[theme=bootstrap] th button {
    font-family: inherit;
    color: inherit;
}

.quickgrid[theme=bootstrap] tbody tr {
    /*vertical-align: middle;*/
}

.quickgrid[theme=bootstrap] th .col-title {
    padding: 0 !important;
    font-weight: bold;
}

.quickgrid[theme=bootstrap] {
    margin-bottom: 0;
    position: relative;
}

.cell-elipsis td {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0px;
    white-space: nowrap;
}

.no-elipsis {
    overflow: initial !important;
    text-overflow: initial !important;
    max-width: initial !important;
    white-space: initial !important;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.quickgrid[theme=bootstrap] .col-title {
    padding: .5rem;
    padding-right: var(--col-gap);
    gap: 0.4rem;
}

.quickgrid[theme=bootstrap].loading {
    height: 220px;
}

.quickgrid[theme=bootstrap].loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    color: #007bff !important;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-top: -2rem;
    margin-left: -2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite, fade-in 1s forwards;
    transition: opacity linear 500ms;
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }  
    7% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.quickgrid[theme=bootstrap].loading > tbody {
    opacity: 0.25;
    transition: opacity linear 100ms;
    transition-delay: 70ms; /* Don't want flicker if the queries are resolving almost immediately */
    pointer-events: none;
}



.body-light tbody { /*Same as table-light*/
    --bs-table-color: #000;
    --bs-table-bg: #f8f9fa;
    --bs-table-border-color: #c6c7c8;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.white-custom-indicator .col-sort-desc .sort-indicator, .col-sort-asc[b-vznuo5fmpv] .sort-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"> <path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/> </svg>') !important; filter: brightness(0) invert(1);
}


.inProgressRowColor td {
    color: red !important;
}
/*#endregion*/

/*#region Utility (QuickGrid column width)*/
.w-0 {
    width: 0%;
}

.w-1 {
    width: 1%;
}

.w-2 {
    width: 2%;
}

.w-3 {
    width: 3%;
}

.w-4 {
    width: 4%;
}

.w-5 {
    width: 5%;
}

.w-6 {
    width: 6%;
}

.w-7 {
    width: 7%;
}

.w-8 {
    width: 8%;
}

.w-9 {
    width: 9%;
}

.w-10 {
    width: 10%;
}

.w-11 {
    width: 11%;
}

.w-12 {
    width: 12%;
}

.w-13 {
    width: 13%;
}

.w-14 {
    width: 14%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.max-width-10 {
    max-width: 10px;
}

.max-width-20 {
    max-width: 20px;
}

.max-width-30 {
    max-width: 30px;
}

.max-width-40 {
    max-width: 40px;
}

.max-width-50 {
    max-width: 50px;
}

.max-width-60 {
    max-width: 60px;
}

.max-width-70 {
    max-width: 70px;
}

.max-width-80 {
    max-width: 80px;
}

.max-width-90 {
    max-width: 90px;
}

.max-width-100 {
    max-width: 100px;
}

.max-width-110 {
    max-width: 110px;
}

.max-width-120 {
    max-width: 120px;
}

.max-width-130 {
    max-width: 130px;
}

.max-width-140 {
    max-width: 140px;
}

.max-width-150 {
    max-width: 150px;
}
/*#endregion*/

/* #region Skeleton */
.quickgrid.loading[theme=bootstrap] tbody td.skeleton {
    --loading-grey: #fff;
    /*box-shadow:none !important;    STRIPPED DISABLE   */
    background: linear-gradient(110deg, #e6e6e6 8%, #c4c4c4 18%, #e6e6e6 33%);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 3s shine linear infinite, fadeIn 1s;
    transition: opacity linear 100ms;
    /*background: #eee;*/
    border-radius: 5px;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}
/*#endregion*/
