Sha256: 57a8f03706fe7fc7f87100fcbbfc7968e583131304965b5173e2d3145aa0c55a

Contents?: true

Size: 623 Bytes

Versions: 5

Compression:

Stored size: 623 Bytes

Contents

/*------------------------------------*\
    #QUICKVIEW-BUTTON
\*------------------------------------*/

// scss-lint:disable ImportantRule

$quickview-button-top-offset:  33% !default;

/**
 * 1. disable quickview buttons for touch devices
 */
.quickview-button {
    display: none;

    .product-summary:hover & {
        @include respond-to($medium-breakpoint) {
            @include center(horizontal);
            display: block;
            position: absolute;
            top: $quickview-button-top-offset;
            white-space: nowrap;
        }

        .touch & { display: none !important; } /* [1] */
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss
workarea-nvy_theme-1.2.0 app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss
workarea-nvy_theme-1.1.4 app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss
workarea-nvy_theme-1.1.3 app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss
workarea-nvy_theme-1.1.2 app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss