Sha256: 791134430bd5554fd182800187040e49a4efabf264aa2bd4a28fde1d262ba1d6

Contents?: true

Size: 1.11 KB

Versions: 39

Compression:

Stored size: 1.11 KB

Contents

@include govuk-exports("govuk/core/links") {

  %govuk-link {
    @include govuk-link-common;
    @include govuk-link-style-default;
    @include govuk-link-print-friendly;
  }

  .govuk-link {
    @extend %govuk-link;
  }

  // Variant classes should always be used in conjunction with the .govuk-link
  // class, so we do not need the common link styles as they will be inherited.

  .govuk-link--muted {
    @include govuk-link-style-muted;
  }

  .govuk-link--text-colour {
    @include govuk-link-style-text;
  }

  // 'No visited state' link mixin
  //
  // Used in cases where it is not helpful to distinguish between visited and
  // non-visited links.
  //
  // For example, navigation links to pages with dynamic content like admin
  // dashboards. The content on the page is changing all the time, so the fact
  // that you’ve visited it before is not important.
  //
  // This is not abstracted as a mixin because it does not provide states for
  // all pseudo-selectors so it does not make sense to use it in composition.
  .govuk-link--no-visited-state {
    &:visited {
      color: $govuk-link-colour;
    }
  }
}

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
govuk_publishing_components-11.0.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-10.2.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-10.1.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-10.0.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.28.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.27.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.26.1 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.26.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.25.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.24.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.23.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.22.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.21.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.20.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.19.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.18.0 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.17.1 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.17 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.16.1 node_modules/govuk-frontend/core/_links.scss
govuk_publishing_components-9.16.0 node_modules/govuk-frontend/core/_links.scss