Sha256: 52a21c982c9fe6b1d319b0419f2bd7aa4460c741dc406d5e122f20d9df35bd24

Contents?: true

Size: 1.53 KB

Versions: 10

Compression:

Stored size: 1.53 KB

Contents

@import "govuk_publishing_components/individual_component_support";

.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

10 entries across 10 versions & 1 rubygems

Version Path
govuk_publishing_components-35.3.3 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.3.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.3.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.3.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.2.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.1.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.1.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-35.0.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.14.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-34.13.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss