Sha256: 69ee7dccea689fd36de6ae96e2fa3410513f9f4b986b18f6759f8933c3261ed6

Contents?: true

Size: 811 Bytes

Versions: 62

Compression:

Stored size: 811 Bytes

Contents

/*------------------------------------*\
    #TABLE
\*------------------------------------*/

$table-price-discount-color:  $red !default;


/**
 * This component enhances the default styling for tables within
 * `base/_tables.scss`.
 *
 * 1. handle `p` elements differently if found inside a table.
 */

.table {
    width: 100%;

    p { /* [1] */
        margin: 0;

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

.table--totals {
    td {
        text-align: right;
    }
}

    .table__price-discount {
        color: $table-price-discount-color;
        white-space: nowrap;
    }

    .table__prices {
        text-align: right;
    }

        .table__price {}

            .table__price-label {}

    .table__quantity {
        text-align: center;
    }

    .table__total {}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.15 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.36 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.14 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.35 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.13 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.34 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.12 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.33 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.11 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.10 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.32 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.9 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.31 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.8 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.30 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.7 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.29 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.6 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.4.28 app/assets/stylesheets/workarea/storefront/components/_table.scss
workarea-storefront-3.5.5 app/assets/stylesheets/workarea/storefront/components/_table.scss