Sha256: 9f505bfef6490e5b01d82a805f2122592a465c31ffe8449bfea5cb9e42f7ffcf

Contents?: true

Size: 1.57 KB

Versions: 147

Compression:

Stored size: 1.57 KB

Contents

.gem-c-subscription-links {
  @include govuk-text-colour;
  @include govuk-font(19, $weight: bold);

  .gem-c-subscription-links__hidden-header {
    @include govuk-visually-hidden;
  }

  .gem-c-subscription-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .gem-c-subscription-links__list--small {
    @include govuk-font(16);
  }

  .gem-c-subscription-links__list-item {
    display: inline-block;
    margin-right: govuk-spacing(4);
    margin-bottom: govuk-spacing(3);

    &:last-child {
      margin-right: 0;
    }
  }

  .gem-c-subscription-links__list-item--small {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: govuk-spacing(2);

    &:first-child {
      margin-right: govuk-spacing(2);
    }

    &:only-child {
      margin-right: 0;
    }
  }

  .gem-c-subscription-links__link {
    @extend %govuk-link;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 0 20%;

    @include govuk-media-query($from: tablet) {
      background-position: 0 35%;
    }
  }

  .gem-c-subscription-links__feed-box {
    padding: govuk-spacing(3);
    margin-bottom: govuk-spacing(3);
    background: govuk-colour("light-grey", $legacy: "grey-3");

    .js-enabled &.js-hidden {
      display: none;
    }
  }

  .gem-c-subscription-links__feed-hidden-description {
    @include govuk-visually-hidden;
  }
}

.gem-c-subscription-links__icon {
  margin-right: .1em;
}

.gem-c-subscription-links__list-item--small {
  .gem-c-subscription-links__icon {
    @include scale(.9);
    transform-origin: bottom left;
  }
}

Version data entries

147 entries across 147 versions & 1 rubygems

Version Path
govuk_publishing_components-21.38.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.38.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.37.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.36.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.36.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.35.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.34.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.34.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.33.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.32.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.31.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.30.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.29.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.29.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.28.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.28.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.27.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.27.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.26.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.26.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss