Sha256: 49eb81f48b4069ef57289779a3141d69500b32f1156bb13ef7012c61ca969c5d

Contents?: true

Size: 922 Bytes

Versions: 5

Compression:

Stored size: 922 Bytes

Contents

// Tables
// ==========================================================================

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;

  th,
  td {
    @include core-19;
    padding: em(12, 19) em(20, 19) em(9, 19) 0;

    text-align: left;
    border-bottom: 1px solid $border-colour;
  }

  thead th {
    font-weight: 700;
  }

  td:last-child,
  th:last-child {
    padding-right: 0;
  }

  // Right align table header cells and table cells with a numeric class
  .numeric {
    text-align: right;
  }

  // Allow a qualifying element, only table data cells should use tabular numbers
  // scss-lint:disable QualifyingElement
  td.numeric {
    font-family: $toolkit-font-stack-tabular;
  }

  caption {
    text-align: left;
  }
}

.table-font-xsmall {

  th {
    @include bold-16;
  }

  td {
    @include core-16;
  }

  th,
  td {
    padding: em(12, 16) em(20, 16) em(9, 16) 0;
  }
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
govuk_elements_rails-3.1.3 vendor/assets/stylesheets/elements/_tables.scss
govuk-jekyll-theme-0.1.2 _sass/govuk_elements/elements/_tables.scss
govuk-jekyll-theme-0.1.1 _sass/govuk_elements/elements/_tables.scss
govuk-jekyll-theme-0.1.0 _sass/govuk_elements/elements/_tables.scss
govuk_elements_rails-3.1.2 vendor/assets/stylesheets/elements/_tables.scss