﻿/* BUTTONS*/
button[name]::before {
    font-family: "FontAwesome";
    font-size: 12px;
    color: inherit;
    margin-right: 5px;
}

button[name="revalidate"]::before {
    content: "\f560";
}

button[name="recalculate"]::before {
    content: "\f1ec";
}

button[name="editValue"]::before {
    content: "\f044";
}

button[name="confirmValue"]::before {
    content: "\f05d";
}

button[name="addToValue"]::before {
    content: "\f196";
}

button[name="saveChanges"]::before {
    content: "\f0c7";
}

button[name="discardChanges"]::before {
    content: "\f05e";
}

button[name="refresh"]::before {
    content: "\f021";
}


button[name="selectAll"]::before {
    content: "\f096";
}

button[name="selectAll"].selected::before {
    content: "\f046";
}

button[name="history"]::before {
    content: "\f096";
}

button[name="history"].selected::before {
    content: "\f046";
}


button[name="enableEdit"]::before {
    content: "\f205";
}

button[name="enableEdit"].selected::before {
    content: "\f204";
}


.history-content {
    color: darkgray;
}

#logDetailModal .modal-content {
    top: 50%;
    transform: translate(0, -50%);
    max-width: 100% !important;
    max-width: 100% !important;
    min-width: 800px;
    box-sizing: border-box;
    overflow: hidden;
}

#logDetailModal label {
    font-weight: bold;
}

#logDetailModal .modal-body {
    overflow-x: hidden;
}

#logDetailModal span {
    display: block;
    width: 100%;
    min-height: 20px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5;
    white-space: normal;
    overflow-wrap: break-word;
    resize: vertical;
    box-sizing: border-box;
    word-wrap: break-word;
}

#error-table-container {
    height: 77vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(11, 21, 37, .1);
    border-radius: 0.2rem;
    overflow-x: auto;
}

#error-table table {
    width: 100%;
    border-collapse: collapse;
}

#error-table thead {
    position: sticky;
    top: 0;
    background: white;
    display: table;
    width: 100%;
    table-layout: fixed;
}

#error-table tbody {
    display: block;
    overflow-y: auto;
}

    #error-table tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    #error-table tbody td {
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 12px;
    }

    #error-table tbody tr:hover {
        background-color: #f5f5f5;
        cursor: default;
    }
