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

Breadcrumb

  1. Drupal Core 11.1.x

throbber.pcss.css

Styling of AJAX actions throbber in off-canvas dialog.

@internal

File

core/misc/dialog/off-canvas/css/throbber.pcss.css

View source
  1. /**
  2. * @file
  3. * Styling of AJAX actions throbber in off-canvas dialog.
  4. *
  5. * @internal
  6. */
  7. #drupal-off-canvas-wrapper {
  8. & .ajax-progress, /* This is the CSS class used in Claro. */
  9. & .ajax-progress-throbber {
  10. display: inline-block;
  11. overflow: hidden;
  12. width: 15px;
  13. height: 15px;
  14. margin: 0 10px;
  15. animation: off-canvas-throbber-spin 1s linear infinite;
  16. vertical-align: middle;
  17. border: 2px solid var(--off-canvas-text-color);
  18. border-top-color: transparent;
  19. border-radius: 50%;
  20. @media (forced-colors: active) {
  21. border-top-color: transparent;
  22. }
  23. }
  24. & .layout-selection,
  25. & .inline-block-list {
  26. & .ajax-progress,
  27. & .ajax-progress-throbber {
  28. position: absolute;
  29. inset-block-start: 0;
  30. inset-block-end: 0;
  31. inset-inline-end: 0;
  32. margin-block: auto;
  33. }
  34. }
  35. }
  36. @keyframes off-canvas-throbber-spin {
  37. to {
  38. transform: rotate(360deg);
  39. }
  40. }

API Navigation

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