Sha256: 27845283f386a73f9afb65d449b36c34b24665275f059e98f2e9639a71d61203

Contents?: true

Size: 1.22 KB

Versions: 25

Compression:

Stored size: 1.22 KB

Contents

@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;
  }
}

/*# sourceMappingURL=_section-break.scss.map */

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
govuk_publishing_components-39.2.5 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.2.4 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.2.3 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.2.2 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.2.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.2.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.1.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-39.0.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-38.4.2 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-38.1.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-38.1.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-38.0.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-38.0.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.10.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.9.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.9.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.8.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.8.0 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.7.1 node_modules/govuk-frontend/govuk/core/_section-break.scss
govuk_publishing_components-37.7.0 node_modules/govuk-frontend/govuk/core/_section-break.scss