skip-link.css

Same filename in this branch
  1. main core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
  2. main core/themes/olivero/css/components/skip-link.css
  3. main core/themes/claro/css/components/skip-link.css
  4. main core/themes/admin/css/components/skip-link.css
Same filename and directory in other branches
  1. 10 core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
  2. 10 core/themes/olivero/css/components/skip-link.css
  3. 10 core/themes/claro/css/components/skip-link.css
  4. 11.x core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
  5. 11.x core/themes/olivero/css/components/skip-link.css
  6. 11.x core/themes/claro/css/components/skip-link.css
  7. 9 core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
  8. 9 core/themes/olivero/css/components/skip-link.css
  9. 9 core/themes/seven/css/components/skip-link.css
  10. 9 core/themes/claro/css/components/skip-link.css
  11. 9 core/themes/bartik/css/components/skip-link.css
  12. 8.9.x core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
  13. 8.9.x core/themes/seven/css/components/skip-link.css
  14. 8.9.x core/themes/claro/css/components/skip-link.css
  15. 8.9.x core/themes/bartik/css/components/skip-link.css
  16. 11.x core/themes/admin/css/components/skip-link.css
  17. 11.x core/themes/default_admin/css/components/skip-link.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.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Skip link
  10. *
  11. * Allows keyboard users to quickly skip to the main content of the page.
  12. */
  13. /* Intentionally flip the background and foreground colors to provide visual
  14. differentiation while maintaining contrast. */
  15. .skip-link {
  16. z-index: 503;
  17. top: 0;
  18. inset-inline-start: 0;
  19. padding: 1px 0.625rem 2px;
  20. color: var(--admin-color-bg-raised);
  21. border-end-end-radius: 10px;
  22. background: var(--admin-color-text-loud);
  23. box-shadow: var(--admin-shadow-color-1);
  24. font-size: 0.94em;
  25. &.visually-hidden.focusable:focus {
  26. position: absolute !important;
  27. }
  28. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.