Sha256: 5a3a3473c3f9c631bfbcca2ed94bdac615b23e30405b3274697cc742d45b4ab4

Contents?: true

Size: 1.24 KB

Versions: 209

Compression:

Stored size: 1.24 KB

Contents

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

@include govuk-exports("govuk/core/section-break") {

  %govuk-section-break {
    margin: 0;
    border: 0;

    // fix double-width section break and forced visible section break
    // when combined with styles from alphagov/elements
    @include govuk-compatibility(govuk_elements) {
      height: 0;
    }
  }

  .govuk-section-break {
    @extend %govuk-section-break;
  }

  // Sizes

  %govuk-section-break--xl {
    @include govuk-responsive-margin(8, "top");
    @include govuk-responsive-margin(8, "bottom");
  }

  .govuk-section-break--xl {
    @extend %govuk-section-break--xl;
  }

  %govuk-section-break--l {
    @include govuk-responsive-margin(6, "top");
    @include govuk-responsive-margin(6, "bottom");
  }

  .govuk-section-break--l {
    @extend %govuk-section-break--l;
  }

  %govuk-section-break--m {
    @include govuk-responsive-margin(4, "top");
    @include govuk-responsive-margin(4, "bottom");
  }

  .govuk-section-break--m {
    @extend %govuk-section-break--m;
  }

  // Visible variant

  %govuk-section-break--visible {
    border-bottom: 1px solid $govuk-border-colour;
  }

  .govuk-section-break--visible {
    @extend %govuk-section-break--visible;
  }
}

Version data entries

209 entries across 209 versions & 3 rubygems

Version Path
govuk_tech_docs-2.2.2 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_tech_docs-2.2.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_tech_docs-2.2.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_tech_docs-2.1.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_tech_docs-2.1.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_tech_docs-2.0.13 node_modules/govuk-frontend/govuk/core/_section-break.scss
dxw_govuk_frontend_rails-3.6.0 vendor/assets/stylesheets/core/_section-break.scss
dxw_govuk_frontend_rails-3.5.0 vendor/assets/stylesheets/core/_section-break.scss
govuk_publishing_components-21.54.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.53.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.52.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.52.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.51.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.50.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.50.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.49.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.48.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/core/_section-break.scss