Sha256: 92c4f23a2a1f37d586fceec290dccd7d6216402a5621be762d7cec4e535b1f45

Contents?: true

Size: 745 Bytes

Versions: 143

Compression:

Stored size: 745 Bytes

Contents

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

@include govuk-exports("govuk/objects/grid") {

  .govuk-grid-row {
    @include govuk-clearfix;
    margin-right: - ($govuk-gutter-half);
    margin-left: - ($govuk-gutter-half);
  }

  @each $width in map-keys($govuk-grid-widths) {
    .govuk-grid-column-#{$width} {
      @include govuk-grid-column($width)
    }
  }

  // These *must* be defined in a separate loop as they have the same
  // specificity as the non-breakpoint specific classes, so need to appear after
  // them in the outputted CSS
  @each $width in map-keys($govuk-grid-widths) {
    .govuk-grid-column-#{$width}-from-desktop {
      @include govuk-grid-column($width, $at: desktop)
    }
  }
}

Version data entries

143 entries across 143 versions & 3 rubygems

Version Path
govuk_publishing_components-20.2.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-20.2.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-20.2.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.3 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-20.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-20.0.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.0.pre.test.pre.release.pre.525 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.0.pre.test.pre.release.pre.524 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.0.test.pre.release.521 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-19.0.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
dxw_govuk_frontend_rails-3.1.0 vendor/assets/stylesheets/objects/_grid.scss
dxw_govuk_frontend_rails-3.0.0 vendor/assets/stylesheets/objects/_grid.scss
govuk_publishing_components-18.3.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-18.3.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-18.2.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-18.1.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-18.1.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-18.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss