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_tech_docs-2.2.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.2.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.2.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.1.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-2.0.13 node_modules/govuk-frontend/govuk/objects/_grid.scss
dxw_govuk_frontend_rails-3.6.0 vendor/assets/stylesheets/objects/_grid.scss
dxw_govuk_frontend_rails-3.5.0 vendor/assets/stylesheets/objects/_grid.scss
govuk_publishing_components-21.54.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.53.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.52.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.52.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.51.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.50.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.50.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.49.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.48.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/objects/_grid.scss