Sha256: dbf04d49b59c188f2349aab2ab1b42787ac4e920d4f7b9abe24a1d0d9ee3722e

Contents?: true

Size: 975 Bytes

Versions: 73

Compression:

Stored size: 975 Bytes

Contents

// Govspeak tables
// https://components.publishing.service.gov.uk/component-guide/govspeak/tables
//
// Support:
// - alphagov/whitehall: ✔︎
// - alphagov/govspeak: ✔︎

.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
.gem-c-govspeak {
  table {
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    margin: govuk-spacing(6) 0;
    overflow-x: auto;
    width: 100%;
    @include govuk-font($size: 14);

    caption {
      text-align: left;
      margin-bottom: .5em;
    }

    th,
    td {
      vertical-align: top;
      padding: govuk-spacing(2) govuk-spacing(2) govuk-spacing(2) 0;
      border-bottom: solid 1px govuk-colour("mid-grey", $legacy: "grey-2");
    }

    th {
      @include govuk-font($size: 14, $weight: bold);
      text-align: left;
      color: $govuk-text-colour;
    }

    td small {
      font-size: 1em;
    }
  }
}

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
govuk_publishing_components-27.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.1.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-27.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-26.0.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.7.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.6.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.5.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.4.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.3.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.3.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.2.3 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.2.2 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.2.1 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss
govuk_publishing_components-25.2.0 app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss