throbber.css

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

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