/*!
    *
    * Wijmo Library 5.20252.44
    * https://developer.mescius.com/wijmo
    *
    * Copyright(c) MESCIUS inc. All rights reserved.
    *
    * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
    * us.sales@mescius.com
    * https://developer.mescius.com/wijmo/licensing
    *
    */

// wijmo.grid.search

.wj-content.wj-flexgridsearch { // see _input.css
    vertical-align: middle; // so labeledinput.css works in IE
    display: inline-table; // so height:100% works properly even without <!DOCTYPE html> tag
    border-collapse: separate;
    // Delete the default cancel button style of the input type search
    input[type="search"]::-webkit-search-cancel-button {
        display: none;
        -webkit-appearance: none;
    }
}

.wj-flexgrid {
    .wj-cell span.wj-state-match {
        background: yellow;
        color: $wj-txt; // make this readable when the cell is selected
        font-weight: bold;
        @if global-variable-exists(wj-search-highlight-txt) {
            & {
                color: $wj-search-highlight-txt;
            }
        }
    }
    .wj-cell span.wj-state-exact-match-space {
        white-space: pre;
    }
    @media (forced-colors: active) {
        .wj-cell span.wj-state-match {
            background: Highlight;
        }
    }
}
