@import '../../../styles/variables.less';

app-statusbar-jobs {
    position: relative;
    display: flex;
    flex-direction: row;
    margin-right: 12px;
    & div.global,
    & div.session,
    & div.pinned {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        border-left: 1px solid var(--scheme-color-4);
        padding: 0 6px;
    }
    & mat-spinner {
        margin-right: 6px;
    }
    & .mat-progress-spinner circle, .mat-spinner circle {
        stroke: var(--scheme-color-accent);
    }
    & span.pinned-job {
        position: relative;
        display: flex;
        flex-direction: row;
        margin-left: 6px;
        align-items: center;
        &:first-child{
            margin-left: 0;
        }
        & mat-icon {
            height: 16px;
            width: 16px;
            color: var(--scheme-color-0);
            font-size: 16px;
            padding-right: 6px;
        }
    }
    & span.name{
        font-size: 10px;
        color: var(--scheme-color-2);
    }
    & span.indicator {
        position: relative;
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background-color: var(--scheme-color-accent);
        margin-right: 6px;
    }

}

& div.status-bar-jobs-list {
    position: relative;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    & div.job{
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 3px 0;
        & mat-icon {
            height: 16px;
            width: 16px;
            color: var(--scheme-color-0);
            font-size: 16px;
            padding-right: 6px;
        }
        & span.description{
            flex:auto;
            & span.name {
                position: relative;
                display: block;
                color: var(--scheme-color-0);
                line-height: 16px;
            }
            & span.desc {
                position: relative;
                display: block;    
                color: var(--scheme-color-2);
                line-height: 16px;
            }    
        }
    }
}
