# tableberg/1.2.0/src/components/SearchInput/style.scss

Tableberg – Simple Gutenberg Table Block, version 1.2.0. 96 lines.

- Page: https://pluginprobe.com/plugins/tableberg/1.2.0/code/src/components/SearchInput/style.scss
- Raw: https://pluginprobe.com/plugins/tableberg/1.2.0/raw/src/components/SearchInput/style.scss
- Modified: 2026-09-30T16:56:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tableberg/1.2.0/code/src/components/SearchInput/style.scss#L10-L20`.

```scss
.tableberg-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 12px 0;

    // The field's frame lives on the wrapper, not the input, and the icon is
    // a flex sibling rather than an overlay. Themes style bare inputs
    // (`input[type="text"]`) which outranks a single class, so an overlaid
    // icon ended up sitting on top of the placeholder whenever a theme
    // replaced our padding. Laid out in flow, they cannot collide.
    &__input-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        max-width: 300px;
        padding: 8px 10px;
        border: 1px solid var(--wp--preset--color--contrast, #1e1e1e);
        border-radius: 4px;

        &:focus-within {
            border-color: var(--wp-admin-theme-color, #007cba);
            box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba);
        }
    }

    &__icon {
        display: flex;
        flex: 0 0 auto;
        color: #757575;
        pointer-events: none;
    }

    // Scoped one level deeper so a theme's `input[type="text"]` rules do not
    // win over the reset.
    .tableberg-search__input {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        color: inherit;
        font-size: 0.875em;
        font-family: inherit;
        line-height: 1.4;

        &::placeholder {
            color: #757575;
        }

        &:focus {
            border: 0;
            outline: none;
            box-shadow: none;
        }
    }

    .tableberg-search__clear {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 2px;
        cursor: pointer;
        color: #757575;

        &:hover {
            color: var(--wp--preset--color--contrast, #1e1e1e);
            background-color: rgba(0, 0, 0, 0.05);
        }
    }

    &__results {
        font-size: 0.875em;
        color: #757575;
        white-space: nowrap;
    }
}

.wp-block-tableberg tbody tr.tableberg-search-row--hidden {
    display: none;
}

.wp-block-tableberg mark.tableberg-search-highlight {
    background-color: var(--tableberg-search-highlight-color, #fff3a3);
    border-radius: 2px;
    padding: 0;
}

```
