Skip to content

Commit

Permalink
[refs #548] Update design example link hover styles
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhunter08 committed Feb 6, 2020
1 parent f244828 commit 0acb76e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/styles/design-example/_code-snippet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@
z-index: 1;

&:hover {
color: $nhsuk-link-hover-color;
text-decoration: none;
}

&:focus {
@include nhsuk-focused-text;

&:hover {
color: $nhsuk-focus-text-color;
}
}

@include mq($from: tablet) {
Expand Down Expand Up @@ -101,6 +106,7 @@
}

&:hover {
color: $nhsuk-link-hover-color;
outline: 0;
text-decoration: none;
}
Expand All @@ -119,6 +125,16 @@
box-shadow: 0 $button-shadow-size 0 $color_nhsuk-blue;
}

&:hover {
color: $nhsuk-link-color;
}

&:focus {
&:hover {
color: $nhsuk-focus-text-color;
}
}

}
}

Expand Down

0 comments on commit 0acb76e

Please sign in to comment.