skip-link.pcss.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/themes/olivero/css/components/skip-link.pcss.css
- 10 core/themes/claro/css/components/skip-link.pcss.css
- 11.x core/themes/olivero/css/components/skip-link.pcss.css
- 11.x core/themes/claro/css/components/skip-link.pcss.css
- 9 core/themes/olivero/css/components/skip-link.pcss.css
- 9 core/themes/claro/css/components/skip-link.pcss.css
- 8.9.x core/themes/claro/css/components/skip-link.pcss.css
- 11.x core/themes/admin/css/components/skip-link.pcss.css
- 11.x core/themes/default_admin/css/components/skip-link.pcss.css
Skip link
Allows keyboard users to quickly skip to the main content of the page.
File
-
core/
themes/ default_admin/ css/ components/ skip-link.pcss.css
View source
- /**
- * @file
- * Skip link
- *
- * Allows keyboard users to quickly skip to the main content of the page.
- */
-
- /* Intentionally flip the background and foreground colors to provide visual
- differentiation while maintaining contrast. */
- .skip-link {
- z-index: 503;
- top: 0;
- inset-inline-start: 0;
- padding: 1px 10px 2px;
- color: var(--admin-color-bg-raised);
- border-end-end-radius: 10px;
- background: var(--admin-color-text-loud);
- box-shadow: var(--admin-shadow-color-1);
- font-size: 0.94em;
-
- &.visually-hidden.focusable:focus {
- position: absolute !important;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.