HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpkoopkj/wp-content/themes/ohio/assets/sass/components/patterns/_search.scss
// Fixed Search

.search-global {
    
    &.fixed {
        position: fixed;
        @include spacer(left);
        @include spacer(bottom);
        z-index: 50;

        .ion {

            &.light-typo {
                color: $color-white;
            }

            &.dark-typo {
                color: $color-black;
            }
        }
    }
}

// Search Form

.search {
    position: relative;
    

    &-field {
        width: 100%;

    }

    &-submit {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        margin: 0;
        min-width: 3.125rem;

        .icon {
            margin: 0;
        }

        &.-text:hover {
            box-shadow: none;
        }
    }

    select[name="search_term"] {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 3.625rem;
        max-width: 9rem;
        margin: 0;

        &,
        &:active,
        &:focus {
            background-color: transparent;
        }
    }
}

// Search Popup

.search-popup {

	.holder {
        max-width: 65vh;
        margin: 0 auto;
        padding-left: $grid-spacer;
        padding-right: $grid-spacer;
        padding-top: $header-height;

        @include sm-screen {

            max-width: 100%;
        }

        .search {

            &-field {
                min-height: 3.5rem;

                @include input-placeholder {

                    color: $color-grey-light;
                }
            }

            select {

                @include chevron(light);
            }

            select,
            &-submit,
            &-field {
                color: $color-white;
            }

            &-results {
                max-height: 27rem;
                padding-bottom: 0.5rem;
                overflow-x: visible;
                overflow-y: auto;

                .search-suggestions,
                .no-search-results {
                    margin: 1rem 0;
                    color: $color-grey;
                }

                // Product row

                .product-item {
                    position: relative;
                    padding: 1.25rem 0;
                    border-top: 1px solid $color-border;

                    @include flex;
                    @include align-items(center);
                    @include flex-just(space-between);

                    > * {
                        color: $color-white;
                    }

                    img {
                        max-width: 4rem;
                        min-width: 4rem;
                        height: auto;
                    }

                    &-name {
                        font-weight: 600;
                    }

                    &-details {
                        margin-left: 1rem;
                        flex-grow: 2;

                        @include flex;
                        @include flex-direction(column);
                        @include align-items(flex-start);

                        .title {
                            color: $color-white;
                        }

                        span {

                            > a {
                                color: $color-grey-light;
                                font-size: $font-size-small;
                            } 
                        }
                    }

                    &-price {
                        font-weight: 600;
                    }

                    &:first-child {
                        border: none;
                    }
                }

                .search-results_btn {
                    margin-top: 1rem;
                }

                .button {
                    color: $color-white;
                }
            }
        }
	}
}