Sha256: 96f27b7ba526c347842a0fc5efdef0a60dde973337b0399438f71cbae479c8cc

Contents?: true

Size: 1.11 KB

Versions: 35

Compression:

Stored size: 1.11 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-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;
    border-bottom: 1px solid $govuk-border-colour;
    text-align: left;
  }

  .govuk-table__cell {
    padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 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

35 entries across 35 versions & 1 rubygems

Version Path
govuk_publishing_components-11.0.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-10.2.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-10.1.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-10.0.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.28.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.27.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.26.1 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.26.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.25.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.24.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.23.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.22.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.21.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.20.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.19.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.18.0 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.17.1 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.17 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.16.1 node_modules/govuk-frontend/components/table/_table.scss
govuk_publishing_components-9.16.0 node_modules/govuk-frontend/components/table/_table.scss