No notes defined.
<nav aria-label="Links to content areas">
<ul class="list-unstyled">
<li>
<a href="#current-page-nav" class="sds-skipNavigation sds-box -insetMd sds-scaleInteraction text-underline">
Skip to page navigation
</a>
</li>
<li>
<a href="#main" class="sds-skipNavigation sds-box -insetMd sds-scaleInteraction text-underline">
Skip to content
</a>
</li>
<li>
<a href="#page-footer" class="sds-skipNavigation sds-box -insetMd sds-scaleInteraction text-underline">
Skip to footer
</a>
</li>
</ul>
</nav>
<nav aria-label="Links to content areas">
<ul class="list-unstyled">
<li>
{% render "@skip-navigation",{
href: "current-page-nav",
text: "Skip to page navigation"
},true %}
</li>
<li>
{% render "@skip-navigation",{
href: "main",
text: "Skip to content"
},true %}
</li>
<li>
{% render "@skip-navigation",{
href: "page-footer",
text: "Skip to footer"
},true %}
</li>
</ul>
</nav>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}skipNavigation {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
@include custom-prop-fallback("color","ui-interaction-active-text-color");
opacity: 0;
transition-duration: 0.15s;
transition-timing-function: linear;
transition-property: opacity, transform;
display: inline-flex;
text-align: center;
position: fixed;
z-index: z("modal-backdrop");
margin: auto;
top: map-deep-get($design-tokens,"ui-space-stack-static-1000");
left: 50%;
transform: translate(-50%,-150%);
/* Pseudo Elements */
&::before {
}
&::after {
}
/*
Include elements that are linked to the current element but have to reside at the root level of the stylesheet
(e.g: keyframes)
*/
@at-root {
}
/* children - write selector in full in comments in order to facilitate search */
// skipNavigation__childElement
&__childElement {
// follows same logic as parent
}
/* modifiers */
// skipNavigation -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
@include custom-prop-fallback("color","ui-interaction-active-hovered-text-color");
}
}
&:focus,
&:focus-visible {
opacity: 1;
transform: translate(-50%,0);
outline-offset: -($border-width);
}
&:active {
}
&:focus,
&:active {
}
}