Sha256: cd3c01f84ccafb7944b906bbc19a4ce44fba073dad156e9efee93cb93bfef21b

Contents?: true

Size: 1.47 KB

Versions: 62

Compression:

Stored size: 1.47 KB

Contents

/*------------------------------------*\
    #PROPERTY
\*------------------------------------*/

$property-name-invalid-color:  $red !default;
$property-requirement-required-color:  $red !default;

.property {
    margin-bottom: $vertical-margin;
}

.property--responsive {
    @include respond-to($medium-breakpoint) {
        display: table-row;
        margin: 0;
    }

    /**
     * Extend `.value {}` in _value.scss
     *
     * 1. bottom padding matches default property bottom margin
     */

    .value {
        display: block;

        @include respond-to($medium-breakpoint) {
            display: table-cell;
            padding: $spacing-unit; /* [1] */
            vertical-align: top;
        }
    }
}

.property--invalid {}

    /**
     * 1. allows use of `strong` elements
     * 2. bottom padding matches default property bottom margin
     */

    .property__name {
        display: block;
        font-weight: normal; /* [1] */

        .property--responsive & {
            @include respond-to($medium-breakpoint) {
                display: table-cell;
                padding: $spacing-unit; /* [2] */
                vertical-align: top;
            }
        }

        .property--invalid & {
            color: $property-name-invalid-color;
        }
    }

        .property__text {}

        .property__requirement {}

        .property__requirement--optional {}

        .property__requirement--required {
            color: $property-requirement-required-color;
        }

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.27 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.4 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.26 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.3 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.25 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.2 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.24 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.1 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.23 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.22 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.0 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.21 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.5.0.beta.1 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.20 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.19 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.18 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.17 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.16 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.15 app/assets/stylesheets/workarea/storefront/components/_property.scss
workarea-storefront-3.4.14 app/assets/stylesheets/workarea/storefront/components/_property.scss