Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

utility.css

Re-create utility styles for off-canvas dialog that are removed in the reset.

@internal

File

core/misc/dialog/off-canvas/css/utility.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. * Re-create utility styles for off-canvas dialog that are removed in the reset.
  10. *
  11. * @internal
  12. */
  13. #drupal-off-canvas-wrapper .hidden {
  14. display: none;
  15. }
  16. #drupal-off-canvas-wrapper .visually-hidden {
  17. position: absolute !important;
  18. overflow: hidden;
  19. clip: rect(1px, 1px, 1px, 1px);
  20. width: 1px !important;
  21. height: 1px !important;
  22. word-wrap: normal;
  23. }
  24. #drupal-off-canvas-wrapper .visually-hidden.focusable:is(:active, :focus) {
  25. position: static !important;
  26. overflow: visible;
  27. clip: auto;
  28. width: auto !important;
  29. height: auto !important;
  30. }
  31. #drupal-off-canvas-wrapper .invisible {
  32. visibility: hidden;
  33. }
RSS feed
Powered by Drupal