Sha256: 3b74ba1cd1fa0b76479f255e60e57c09b77d06cfab3e0dad7bfc1ea3dcec1b93

Contents?: true

Size: 1.38 KB

Versions: 8

Compression:

Stored size: 1.38 KB

Contents

@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;
  }

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

  .govuk-table__cell--numeric {
    @include govuk-font-tabular-numbers;
  }

  .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;
  }

  // Modifiers that make captions look more like their equivalent headings
  .govuk-table__caption--xl,
  .govuk-table__caption--l,
  .govuk-table__caption--m {
    margin-bottom: govuk-spacing(3);
  }

  .govuk-table__caption--xl {
    @include govuk-font-size($size: 48);
  }

  .govuk-table__caption--l {
    @include govuk-font-size($size: 36);
  }

  .govuk-table__caption--m {
    @include govuk-font-size($size: 24);
  }
}

/*# sourceMappingURL=_index.scss.map */

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-42.1.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-42.0.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-41.1.2 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-41.1.1 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-41.1.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-41.0.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-40.1.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss
govuk_publishing_components-40.0.0 node_modules/govuk-frontend/dist/govuk/components/table/_index.scss