Sha256: 3163a7948c0394b7874079984a8fd93d84a78f1363be581952379920c6b1aba1

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

@import "../../settings/all";
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("govuk/component/table") {
  .govuk-table {
    @include govuk-font($size: 19);
    @include govuk-text-colour;
    width: 100%;
    @include govuk-responsive-margin(6, "bottom");

    border-spacing: 0;
    border-collapse: collapse;
  }

  .govuk-table__header {
    @include govuk-typography-weight-bold;

    padding: govuk-em(govuk-spacing(2), 19px) govuk-em(govuk-spacing(4), 19px) govuk-em(govuk-spacing(2), 19px) 0;
    border-bottom: 1px solid $govuk-border-colour;
    text-align: left;
  }

  .govuk-table__cell {
    padding: govuk-em(govuk-spacing(2), 19px) govuk-em(govuk-spacing(4), 19px) govuk-em(govuk-spacing(2), 19px) 0;
    border-bottom: 1px solid $govuk-border-colour;
    text-align: left;
  }

  .govuk-table__cell--numeric {
    @include govuk-font($size: false, $tabular: true);
  }

  .govuk-table__header--numeric,
  .govuk-table__cell--numeric {
    text-align: right;
  }

  .govuk-table__header:last-child,
  .govuk-table__cell:last-child {
    padding-right: 0;
  }

  .govuk-table__caption {
    @include govuk-typography-weight-bold;

    display: table-caption;
    text-align: left;
  }
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
govuk_publishing_components-9.5.1 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.5.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.4.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_fe_assets-0.1.0.pre.alpha node_modules/govuk-frontend/components/table/_table.scss