Sha256: 20e2cf9c1fd7897f50aae1a48638233411c0a80d6840c0dc04d5925795d0fd66
Contents?: true
Size: 1.23 KB
Versions: 39
Compression:
Stored size: 1.23 KB
Contents
@include govuk-exports("govuk/component/skip-link") { .govuk-skip-link { @include govuk-visually-hidden-focusable; @include govuk-typography-common; @include govuk-link-decoration; @include govuk-link-style-text; @include govuk-typography-responsive($size: 16); display: block; padding: govuk-spacing(2) govuk-spacing(3); // Respect 'display cutout' safe area (avoids notches and rounded corners) @supports (padding: unquote("max(calc(0px))")) { $padding-safe-area-right: calc(#{govuk-spacing(3)} + env(safe-area-inset-right)); $padding-safe-area-left: calc(#{govuk-spacing(3)} + env(safe-area-inset-left)); // Use max() to pick largest padding, default or with safe area // Escaped due to Sass max() vs. CSS native max() padding-right: unquote("max(#{govuk-spacing(3)}, #{$padding-safe-area-right})"); padding-left: unquote("max(#{govuk-spacing(3)}, #{$padding-safe-area-left})"); } &:focus { outline: $govuk-focus-width solid $govuk-focus-colour; outline-offset: 0; background-color: $govuk-focus-colour; // Undo unwanted changes when global styles are enabled @if ($govuk-global-styles) { box-shadow: none; } } } }
Version data entries
39 entries across 39 versions & 3 rubygems