Sha256: 31110b6c40b51ed67d7d823c76748a052561302e5193be23687fec07fe1b0033

Contents?: true

Size: 1.04 KB

Versions: 43

Compression:

Stored size: 1.04 KB

Contents

@if not mixin-exists("govuk-exports") {
  @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
}

@import "../base";

@include govuk-exports("govuk/overrides/width") {
  .govuk-\!-width-full {
    width: 100% !important;
  }

  .govuk-\!-width-three-quarters {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 75% !important;
    }
  }

  .govuk-\!-width-two-thirds {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 66.66% !important;
    }
  }

  .govuk-\!-width-one-half {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 50% !important;
    }
  }

  .govuk-\!-width-one-third {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 33.33% !important;
    }
  }

  .govuk-\!-width-one-quarter {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 25% !important;
    }
  }
}

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
dxw_govuk_frontend_rails-3.8.0 vendor/assets/stylesheets/overrides/_width.scss
govuk_publishing_components-23.3.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-23.2.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-23.2.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-23.1.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-23.0.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.69.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.68.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.68.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.67.2 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.67.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.67.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.66.4 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.66.3 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.66.2 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.66.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.66.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.65.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.65.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-21.64.0 node_modules/govuk-frontend/govuk/overrides/_width.scss