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.68.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.67.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.67.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.67.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.66.4 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.66.3 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.66.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.66.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.66.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.65.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.65.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.64.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.63.3 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.63.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.63.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.63.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.62.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.61.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.60.3 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-21.60.2 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss