Sha256: 45147a446152713084b545de7199589f5e8d538e0ec1175fa8a21991c9441f4d

Contents?: true

Size: 674 Bytes

Versions: 209

Compression:

Stored size: 674 Bytes

Contents

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

@include govuk-exports("govuk/component/inset-text") {
  .govuk-inset-text {
    @include govuk-font($size: 19);
    @include govuk-text-colour;
    padding: govuk-spacing(3);
    // Margin top intended to collapse
    // This adds an additional 10px to the paragraph above
    @include govuk-responsive-margin(6, "top");
    @include govuk-responsive-margin(6, "bottom");

    clear: both;

    border-left: $govuk-border-width-wide solid $govuk-border-colour;

    > :first-child {
      margin-top: 0;
    }

    > :only-child,
    > :last-child {
      margin-bottom: 0;
    }
  }
}

Version data entries

209 entries across 209 versions & 3 rubygems

Version Path
govuk_publishing_components-21.22.2 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.22.1 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.22.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.21.3 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.21.2 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.21.1 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.21.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.20.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.19.1 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.19.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.18.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.17.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.16.3 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.16.2 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.16.1 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.16.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.15.2 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.15.1 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.15.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
govuk_publishing_components-21.14.0 node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss