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.5.27 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.26 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.45 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.25 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.23 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.44 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.22 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.43 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.21 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.42 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.20 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.41 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.19 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.40 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.18 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.39 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.17 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.38 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.5.16 app/assets/stylesheets/workarea/storefront/components/_data_card.scss
workarea-storefront-3.4.37 app/assets/stylesheets/workarea/storefront/components/_data_card.scss