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-16.9.2 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.9.1 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
dxw_govuk_frontend_rails-2.9.0.pre.alpha.1 vendor/assets/stylesheets/components/inset-text/_inset-text.scss
govuk_publishing_components-16.9.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.8.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.7.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.6.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.5.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss
govuk_publishing_components-16.4.0 node_modules/govuk-frontend/components/inset-text/_inset-text.scss