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.60.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.60.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.59.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.58.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.57.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.57.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.56.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.56.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.56.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.55.4 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.55.3 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.55.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.55.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.55.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.54.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.53.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.52.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.52.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.51.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.50.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss