Sha256: bf97bb8d8cd80351c1e7755ecd4244ac22bf8f4f18e8dc9d59a1094f60a39485

Contents?: true

Size: 963 Bytes

Versions: 96

Compression:

Stored size: 963 Bytes

Contents

@if not mixin-exists("govuk-exports") {
  @warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
}

@import "../base";

@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;
  }

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

  .govuk-link--no-underline {
    @include govuk-link-style-no-underline;
  }

  .govuk-link--no-visited-state {
    @include govuk-link-style-no-visited-state;
  }
}

Version data entries

96 entries across 93 versions & 4 rubygems

Version Path
defra_ruby_template-3.15.1 vendor/assets/stylesheets/core/_links.scss
defra_ruby_template-3.15.1 node_modules/govuk-frontend/govuk/core/_links.scss
defra_ruby_template-3.15.0 vendor/assets/stylesheets/core/_links.scss
defra_ruby_template-3.15.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.5.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.4.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.3.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.2.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.1.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-28.0.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.20.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.19.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.18.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_tech_docs-3.0.1 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.17.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.16.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.15.0 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.14.2 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.14.1 node_modules/govuk-frontend/govuk/core/_links.scss
govuk_publishing_components-27.14.0 node_modules/govuk-frontend/govuk/core/_links.scss