Sha256: 744b277b5906f2e46203f0357afd1d3530c889e61c23b0777fe049c95e67070c

Contents?: true

Size: 1.13 KB

Versions: 172

Compression:

Stored size: 1.13 KB

Contents

.gem-c-translation-nav {
  @include responsive-top-margin;
  @include govuk-text-colour;
  @include govuk-font(16);
  margin-bottom: govuk-spacing(6);
  border-bottom: 1px solid $govuk-border-colour;
}

.gem-c-translation-nav__list {
  @include govuk-clearfix;
  list-style: none;
  margin: 0 (- govuk-spacing(2));
  padding: 0;
}

.gem-c-translation-nav__list-item {
  float: left;
  padding-left: govuk-spacing(2);
  padding-right: govuk-spacing(2);
  margin-bottom: govuk-spacing(2);
  border-right: 1px solid $govuk-border-colour;
  height: 16px;

  .direction-rtl & {
    direction: rtl;
    float: right;
    text-align: start;
    border-left: 1px solid $govuk-border-colour;
    border-right: 0;
  }
}

.gem-c-translation-nav__link {
  @extend %govuk-link;
}

.gem-c-translation-nav--inverse {
  border-color: govuk-colour("white");

  .gem-c-translation-nav__list-item,
  .gem-c-translation-nav__link {
    color: govuk-colour("white");

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

.gem-c-translation-nav__list-item:last-child {
  border-right: 0;
  border-left: 0;
}

.gem-c-translation-nav--no-margin-top {
  margin-top: 0;
}

Version data entries

172 entries across 172 versions & 1 rubygems

Version Path
govuk_publishing_components-24.9.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.9.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.8.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.7.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.7.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.6.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.6.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.5.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.4.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.4.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.3.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.3.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.2.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.1.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.1.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-24.0.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-23.15.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-23.14.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-23.13.1 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
govuk_publishing_components-23.13.0 app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss