Sha256: 144bebb66eda6cbac3b1252a29d0f1fed8159087acfbec849eb94741174dff91

Contents?: true

Size: 1.54 KB

Versions: 56

Compression:

Stored size: 1.54 KB

Contents

.gem-c-subscription-links {
  @include govuk-text-colour;
  @include bold-19;

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

  .gem-c-subscription-links__list {
    list-style: none;
    margin: 0 (-$gutter-half / 2);
    padding: 0;
  }

  .gem-c-subscription-links__list-item {
    display: inline-block;
    margin-left: $gutter-half / 2;
    margin-right: $gutter-half / 2;
    margin-bottom: $gutter-half;
  }

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

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

  .gem-c-subscription-links__link--feed {
    background-image: image-url("govuk_publishing_components/feed-icon-black.png");

    // if this is a toggle, only show if js is enabled
    &[data-controls] {
      display: none;

      .js-enabled & {
        display: block;
      }
    }
  }

  .gem-c-subscription-links__link--email-alerts {
    background-image: image-url("govuk_publishing_components/mail-icon.png");

    @include device-pixel-ratio() {
      background-image: image-url("govuk_publishing_components/mail-icon-x2.png");
      background-size: 20px 14px;
    }
  }

  .gem-c-subscription-links__feed-box {
    padding: $gutter-half;
    margin-bottom: $gutter-half;
    background: $grey-3;

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

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
govuk_publishing_components-16.8.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.7.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.6.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.5.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.4.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.3.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.2.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.1.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-16.0.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-15.3.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-15.2.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-15.1.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-15.0.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-14.0.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.8.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.8.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.7.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.6.1 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.6.0 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
govuk_publishing_components-13.5.4 app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss