ajax.css

Same filename in this branch
  1. main core/themes/admin/migration/css/components/ajax.css
Same filename and directory in other branches
  1. 11.x core/themes/admin/migration/css/components/ajax.css
  2. 11.x core/themes/default_admin/migration/css/components/ajax.css

AJAX progress indicator styles.

File

core/themes/default_admin/migration/css/components/ajax.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. * AJAX progress indicator styles.
  10. */
  11. @keyframes gin-throbber {
  12. 0% {
  13. transform: rotateZ(0);
  14. }
  15. 100% {
  16. transform: rotateZ(360deg);
  17. }
  18. }
  19. .ajax-progress__throbber,
  20. .ajax-progress__throbber--fullscreen,
  21. .ui-dialog .ajax-progress__throbber,
  22. .media-library-item .ajax-progress__throbber {
  23. border: 3px solid var(--gin-color-primary);
  24. border-inline-end: 0.1875rem dotted transparent;
  25. }
  26. .ajax-progress .ajax-progress__message {
  27. color: var(--gin-color-text);
  28. }
  29. [dir].gin--dark-mode .ajax-progress--fullscreen {
  30. border-color: transparent;
  31. background-color: var(--gin-color-primary);
  32. box-shadow: 0 2px 6px 0 var(--gin-bg-app);
  33. .ajax-progress__throbber,
  34. .ajax-progress__throbber--fullscreen {
  35. border: 3px solid var(--gin-bg-app);
  36. border-inline-end: 0.1875rem dotted transparent;
  37. }
  38. }
  39. .media-library-widget {
  40. .ajax-progress__throbber,
  41. .ajax-progress__throbber--fullscreen {
  42. border: 2px solid var(--gin-color-primary);
  43. border-inline-end: 2px dotted transparent;
  44. }
  45. }
  46. .ui-dialog .ajax-progress-throbber {
  47. padding: var(--space-xs);
  48. border: 1px solid rgb(216, 217, 224, 0.8);
  49. border-radius: 50%;
  50. background: var(--gin-bg-app);
  51. box-shadow: 0 2px 6px 0 rgb(34, 35, 48, 0.1);
  52. .gin--dark-mode
  53. }
  54. .ui-dialog .ajax-progress-throbber::before,
  55. .contextual-links .ajax-progress-throbber::before {
  56. position: absolute;
  57. display: block;
  58. width: 1.125rem;
  59. height: 1.125rem;
  60. content: "";
  61. animation: gin-throbber 0.75s linear infinite;
  62. border: 2px solid var(--gin-color-primary);
  63. border-inline-end: 2px dotted transparent;
  64. border-radius: 50%;
  65. inset-block-start: var(--space-xs);
  66. inset-inline-start: var(--space-xs);
  67. }
  68. .gin--dark-mode .ui-dialog .ajax-progress,
  69. .gin--dark-mode .media-library-item .ajax-progress.ajax-progress.ajax-progress {
  70. border-color: var(--gin-bg-app);
  71. background-color: var(--gin-bg-app);
  72. }
  73. .contextual-links li {
  74. position: relative;
  75. }
  76. .contextual-links .ajax-progress-throbber {
  77. position: absolute;
  78. inset-block-start: 0;
  79. inset-inline-end: var(--space-xxs);
  80. width: 1.5rem;
  81. height: 1.5rem;
  82. &::before {
  83. inset-block-start: 0;
  84. inset-inline-start: 0.25em;
  85. }
  86. }
  87. .gin-autocomplete__message {
  88. color: var(--gin-color-primary);
  89. }

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