Sha256: 28d28f0046aa9761acb921794acd1eaa048e5d8e39cc26a1f8d23f6a1cb1b2fc

Contents?: true

Size: 462 Bytes

Versions: 332

Compression:

Stored size: 462 Bytes

Contents

// TODO: Remove when appropriate
// govuk_template overrides the styles set by
// govuk-frontend 3.0.0. This mixin is intended as a temporary fix
// to ensure focus styles are as expected in apps using govuk_template

@mixin govuk-template-link-focus-override {
  &:focus,
  &:active:focus,
  &:link:focus,
  &:visited:focus {
    @include govuk-focused-text;
    color: govuk-colour("black") !important; // stylelint-disable-line declaration-no-important
  }
}

Version data entries

332 entries across 332 versions & 1 rubygems

Version Path
govuk_publishing_components-45.9.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.8.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.7.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.6.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.6.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.5.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.4.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.4.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.3.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.2.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.1.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-45.0.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.11.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.10.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.9.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.9.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.8.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.7.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.7.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
govuk_publishing_components-44.6.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss