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

Breadcrumb

  1. Drupal Core 11.1.x

throbber.css

Styling of AJAX actions throbber in off-canvas dialog.

@internal

File

core/misc/dialog/off-canvas/css/throbber.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. * Styling of AJAX actions throbber in off-canvas dialog.
  10. *
  11. * @internal
  12. */
  13. #drupal-off-canvas-wrapper .ajax-progress,
  14. #drupal-off-canvas-wrapper .ajax-progress-throbber {
  15. display: inline-block;
  16. overflow: hidden;
  17. width: 0.9375rem;
  18. height: 0.9375rem;
  19. margin: 0 0.625rem;
  20. animation: off-canvas-throbber-spin 1s linear infinite;
  21. vertical-align: middle;
  22. border: 2px solid var(--off-canvas-text-color);
  23. border-top-color: transparent;
  24. border-radius: 50%;
  25. }
  26. @media (forced-colors: active) {
  27. #drupal-off-canvas-wrapper .ajax-progress,
  28. #drupal-off-canvas-wrapper .ajax-progress-throbber {
  29. border-top-color: transparent;
  30. }
  31. }
  32. #drupal-off-canvas-wrapper .layout-selection .ajax-progress,
  33. #drupal-off-canvas-wrapper .inline-block-list .ajax-progress,
  34. #drupal-off-canvas-wrapper .layout-selection .ajax-progress-throbber,
  35. #drupal-off-canvas-wrapper .inline-block-list .ajax-progress-throbber {
  36. position: absolute;
  37. inset-block-start: 0;
  38. inset-block-end: 0;
  39. inset-inline-end: 0;
  40. margin-block: auto;
  41. }
  42. @keyframes off-canvas-throbber-spin {
  43. to {
  44. transform: rotate(360deg);
  45. }
  46. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal