From: Gaƫl Poupard Date: Mon, 14 Dec 2020 09:39:55 +0000 (+0100) Subject: docs(skip links): new powers for .visually-hidden-focusable X-Git-Tag: v5.0.0-beta2~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f67d72e8010307f657b2a55ae93fc5c9cab2a5;p=thirdparty%2Fbootstrap.git docs(skip links): new powers for .visually-hidden-focusable --- diff --git a/site/assets/scss/_skippy.scss b/site/assets/scss/_skippy.scss index 894db70db4..ea82c625b9 100644 --- a/site/assets/scss/_skippy.scss +++ b/site/assets/scss/_skippy.scss @@ -1,20 +1,7 @@ -// stylelint-disable declaration-no-important - .skippy { background-color: $bd-purple; a { color: $white; } - - &:focus-within a { - position: static !important; - width: auto !important; - height: auto !important; - padding: $spacer / 2 !important; - margin: $spacer / 4 !important; - overflow: visible !important; - clip: auto !important; - white-space: normal !important; - } } diff --git a/site/layouts/partials/skippy.html b/site/layouts/partials/skippy.html index f95eece578..8da5c0a018 100644 --- a/site/layouts/partials/skippy.html +++ b/site/layouts/partials/skippy.html @@ -1,8 +1,8 @@ -
+
- Skip to main content + Skip to main content {{ if (eq .Page.Layout "docs") -}} - Skip to docs navigation + Skip to docs navigation {{- end }}