Sha256: 838ca368d1e38511de512f934ca0bd13e16ea3e0a2cb06cf33f191d08f6738ca

Contents?: true

Size: 1.55 KB

Versions: 195

Compression:

Stored size: 1.55 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;
  }
}

.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 {
  margin-top: .5em;
  line-height: 1.4;

  @include govuk-media-query($from: tablet) {
    box-sizing: border-box;
    float: left;
    clear: left;
    width: 30%;
    max-width: 11em;
    padding-right: govuk-spacing(2);
    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(2);
    padding-right: 0;
  }
}

.gem-c-metadata__definition {
  margin: 0;
  line-height: 1.4;

  @include govuk-media-query($from: tablet) {
    float: left;
    width: 70%;
  }
}

.gem-c-metadata__definition-link {
  text-decoration: none;
}

.gem-c-metadata__definition-link:focus,
.gem-c-metadata__definition-link:active,
.gem-c-metadata__definition-link:hover {
  text-decoration: underline;
}

.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

195 entries across 195 versions & 1 rubygems

Version Path
govuk_publishing_components-24.10.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.10.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.9.4 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.9.3 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.9.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.9.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.9.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.8.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.7.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.7.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.6.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.6.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.5.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.4.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.4.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.3.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.3.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.2.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.1.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-24.1.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss