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