Sha256: 9b285e159504e131159c1f721e9a76fefaae41c386dd65c23c2d5d320232b506

Contents?: true

Size: 1.42 KB

Versions: 62

Compression:

Stored size: 1.42 KB

Contents

/*------------------------------------*\
    #DATA-CARD
\*------------------------------------*/

$data-card-minimum-width:      200px !default;
$data-card-border-color:       $light-gray !default;

$data-card-default-indicator:  '✓' !default;


.data-card {
    margin:  0 0 $vertical-margin;
    padding: ($spacing-unit * 2);
    min-width: $data-card-minimum-width;
    border: 1px solid $data-card-border-color;
    border-radius: 5px;
}

/**
 * 1. adjacent `.data-card__cell`
 * 2. adjacent `.data-card__cell` within a `.data-card--row`
 */

    .data-card__cell {
        margin-bottom: $vertical-margin;

        & + & { /* [1] */
            margin: 0;
        }

        .data-card--row & {
            display: table-cell;
            padding: ($spacing-unit * 2);
        }

        .data-card--row & + & { /* [2] */
            text-align: right;
        }
    }

        .data-card__line {
            margin: 0;

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

        .data-card__credit-card {}

            .data-card__credit-card-number {
                display: inline-block;
                vertical-align: middle;
            }

        .data-card__credit-card--default {
            &:after {
                content: $data-card-default-indicator;
            }
        }


.data-card--row {
    display: table;
    width: 100%;
    border-spacing:  0;
    border-collapse: collapse;
}

Version data entries

62 entries across 62 versions & 1 rubygems

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