Sha256: 8ce4532866a4d7c2e6647418d5af1540e39e3d130fba131e098f3237201e8dd2

Contents?: true

Size: 775 Bytes

Versions: 66

Compression:

Stored size: 775 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, $class: false)
    }
  }

  // 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, $class: false)
    }
  }
}

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
govuk_publishing_components-17.21.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.20.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.19.1 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.19.0 node_modules/govuk-frontend/objects/_grid.scss
dxw_govuk_frontend_rails-2.13.0 vendor/assets/stylesheets/objects/_grid.scss
dxw_govuk_frontend_rails-2.12.0 vendor/assets/stylesheets/objects/_grid.scss
govuk_publishing_components-17.18.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.17.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.16.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.15.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.14.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.13.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.12.2 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.12.1 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.12.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.11.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.10.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.9.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.8.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-17.7.0 node_modules/govuk-frontend/objects/_grid.scss