Sha256: 943305d682181f25f802fa68db8611752752188822b6a7ddc2fb9ab5bef5a816

Contents?: true

Size: 1.47 KB

Versions: 158

Compression:

Stored size: 1.47 KB

Contents

.gem-c-metadata {
  @include govuk-text-colour;
  @include govuk-font(16);
  @include responsive-bottom-margin;
  @include govuk-clearfix;

  a {
    @include govuk-link-common;
    @include govuk-link-style-default;
    font-weight: bold;
  }

  .gem-c-metadata__definition-link {
    font-weight: normal;
  }
}

.gem-c-metadata.direction-rtl {
  direction: rtl;
  text-align: start;
}

.gem-c-metadata--inverse {
  color: govuk-colour("white");

  a:link,
  a:active,
  a:visited {
    color: govuk-colour("white");
  }

  a:focus {
    color: govuk-colour("black");
  }
}

.gem-c-metadata__term,
.gem-c-metadata__definition {
  line-height: 1.4;
}

.gem-c-metadata__term {
  margin-top: .5em;

  @include govuk-media-query($from: tablet) {
    box-sizing: border-box;
    float: left;
    clear: left;
    padding-right: govuk-spacing(1);
    margin-top: 0;
  }
}

.gem-c-metadata.direction-rtl .gem-c-metadata__term {
  float: right;
  clear: right;

  @include govuk-media-query($from: tablet) {
    padding-left: govuk-spacing(1);
    padding-right: 0;
  }
}

.gem-c-metadata__definition {
  margin: 0;

  @include govuk-media-query($from: tablet) {
    &:not(:last-of-type) {
      margin-bottom: govuk-spacing(1);
    }
  }
}

.gem-c-metadata.direction-rtl .gem-c-metadata__definition {
  float: right;
}

.gem-c-metadata__toggle-wrap {
  display: none;
}

.js-enabled .gem-c-metadata__toggle-wrap {
  display: block;
}

.js-enabled .gem-c-metadata__toggle-items.js-hidden {
  display: none;
}

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
govuk_publishing_components-34.12.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.11.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.10.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.10.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.9.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.9.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.8.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.8.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.7.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.7.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.6.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.5.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.5.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.4.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.4.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.4.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.3.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.2.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.1.3 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.1.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss