Sha256: e7428269de6b9d326190827a013b112a23981ef94b32a73a4ba9132c18bdbd1d

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 KB

Contents

/*------------------------------------*\
    #SWATCH-OPTIONS
\*------------------------------------*/

$swatch-options-outline: 1px solid $light-gray !default;
$swatch-options-selected-outline:  1px solid $highlight-color !default;

.swatch-options {}

.swatch-options--small {}

    .swatch-options__label {
        margin: 0;
    }

    .swatch-options__group {
        @extend %inline-list;
    }

        .swatch-options__swatch {
            position: relative;
            margin: 0 0 $spacing-unit;
            width:  44px;
            height: 44px;
            outline: $swatch-options-outline;
            overflow: hidden;

            & + & {
                margin-left: $spacing-unit;
            }

            .swatch-options--small & {
                margin-top:    $spacing-unit;
                margin-bottom: 0;
                width:  22px;
                height: 22px;
            }
        }

        .swatch-options__swatch--selected {
            outline: $swatch-options-selected-outline;
        }

            .swatch-options__swatch-button,
            .swatch-options__swatch-button-image,
            .swatch-options__swatch-button-text {
                display: block;
                position: absolute;
                top:    0;
                right:  0;
                bottom: 0;
                left:   0;
            }

            .swatch-options__swatch-name {}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_options.scss
workarea-one_theme-1.3.0 app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_options.scss