Sha256: 254b5ad176d85482a2d402d837098baba4e6109a971827f848b357d5c22695e7

Contents?: true

Size: 1.67 KB

Versions: 46

Compression:

Stored size: 1.67 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 {
    @include govuk-link-style-inverse;
  }
}

.gem-c-metadata--inverse-padded {
  padding: govuk-spacing(2);

  .gem-c-metadata__list {
    margin: govuk-spacing(2);

    @include govuk-media-query($from: tablet) {
      margin: govuk-spacing(3);
    }
  }
}

.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

46 entries across 46 versions & 1 rubygems

Version Path
govuk_publishing_components-41.0.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-40.1.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-40.0.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.5 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.4 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.3 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.2.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.1.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-39.0.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-38.4.2 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-38.1.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-38.1.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-38.0.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-38.0.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-37.10.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-37.9.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-37.9.0 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
govuk_publishing_components-37.8.1 app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss