ajax-progress.module.css

Same filename in this branch
  1. 9 core/themes/olivero/css/components/ajax-progress.module.css
  2. 9 core/themes/stable9/css/system/components/ajax-progress.module.css
  3. 9 core/themes/stable/css/system/components/ajax-progress.module.css
  4. 9 core/modules/system/css/components/ajax-progress.module.css
Same filename in other branches
  1. 8.9.x core/themes/claro/css/components/ajax-progress.module.css
  2. 8.9.x core/themes/stable/css/system/components/ajax-progress.module.css
  3. 8.9.x core/modules/system/css/components/ajax-progress.module.css
  4. 10 core/themes/olivero/css/components/ajax-progress.module.css
  5. 10 core/themes/stable9/css/system/components/ajax-progress.module.css
  6. 10 core/themes/claro/css/components/ajax-progress.module.css
  7. 10 core/modules/system/css/components/ajax-progress.module.css
  8. 11.x core/themes/olivero/css/components/ajax-progress.module.css
  9. 11.x core/themes/stable9/css/system/components/ajax-progress.module.css
  10. 11.x core/themes/claro/css/components/ajax-progress.module.css
  11. 11.x core/modules/system/css/components/ajax-progress.module.css
  12. 11.x core/misc/components/ajax-progress.module.css
  13. 11.x core/themes/stable9/css/core/components/ajax-progress.module.css
  14. 10 core/misc/components/ajax-progress.module.css
  15. 10 core/themes/stable9/css/core/components/ajax-progress.module.css

Throbber.

File

core/themes/claro/css/components/ajax-progress.module.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. * Throbber.
  10. */
  11. .ajax-progress {
  12. display: inline-block;
  13. }
  14. /**
  15. * Progress bar.
  16. */
  17. .ajax-progress-bar {
  18. width: 13em;
  19. padding: 0 0.3125rem; /* 0 5px */
  20. }
  21. /**
  22. * Throbber.
  23. */
  24. .ajax-progress--throbber {
  25. position: relative;
  26. display: inline-flex;
  27. align-content: center;
  28. height: 1.125rem;
  29. margin: -0.1875rem 0.75rem 0;
  30. vertical-align: middle;
  31. white-space: nowrap;
  32. line-height: 1.125rem;
  33. }
  34. /**
  35. * Remove margin from ajax throbbers following buttons because buttons already
  36. * have a large margin set.
  37. */
  38. .js .button:not(.js-hide) + .ajax-progress--throbber {
  39. margin-left: 0; /* LTR */
  40. }
  41. [dir="rtl"].js .button:not(.js-hide) + .ajax-progress--throbber {
  42. margin-right: 0;
  43. margin-left: 0.75rem;
  44. }
  45. /**
  46. * Restore start margin for ajax throbbers inside a managed file widget.
  47. */
  48. .js .form-type--managed-file .button:not(.js-hide) + .ajax-progress--throbber,
  49. .js .file-operations-cell .button:not(.js-hide) + .ajax-progress--throbber {
  50. margin-left: 0.75rem; /* LTR */
  51. }
  52. [dir="rtl"].js .form-type--managed-file .button:not(.js-hide) + .ajax-progress--throbber,
  53. [dir="rtl"].js .file-operations-cell .button:not(.js-hide) + .ajax-progress--throbber {
  54. margin-right: 0.75rem;
  55. margin-left: 0.75rem;
  56. }
  57. .ajax-progress__throbber {
  58. box-sizing: border-box;
  59. width: 1.125rem;
  60. height: 1.125rem;
  61. animation: claro-throbber 0.75s linear infinite;
  62. border: 2px solid #003ecc;
  63. border-right: 2px dotted transparent;
  64. border-radius: 50%;
  65. }
  66. .ajax-progress__message {
  67. display: inline-block;
  68. padding-left: 0.75rem;
  69. font-size: 0.889rem;
  70. }
  71. [dir="rtl"] .ajax-progress__message {
  72. padding-right: 0.75rem;
  73. padding-left: 0;
  74. }
  75. /**
  76. * Full screen throbber.
  77. */
  78. .ajax-progress--fullscreen,
  79. .ui-dialog .ajax-progress--throbber {
  80. position: fixed;
  81. z-index: 1000;
  82. top: 50%;
  83. left: 50%;
  84. box-sizing: border-box;
  85. width: 3.5rem; /* 56px */
  86. height: 3.5rem;
  87. margin: -1.75rem;
  88. border: 1px solid rgba(216, 217, 224, 0.8);
  89. border-radius: 3.5rem;
  90. background: #fff;
  91. box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1);
  92. }
  93. .ajax-progress__throbber--fullscreen,
  94. .ui-dialog .ajax-progress__throbber {
  95. position: absolute;
  96. top: 50%;
  97. left: 50%;
  98. width: 1.75rem; /* 28px */
  99. height: 1.75rem; /* 28px */
  100. margin: -0.875rem;
  101. content: "";
  102. border: 3px solid #003ecc;
  103. border-right: 3px dotted transparent;
  104. }
  105. .ui-dialog .ajax-progress__message {
  106. display: none;
  107. }
  108. @media screen and (-ms-high-contrast: active) {
  109. /**
  110. * Throbber animation is shaky on Edge RTL on high contrast for border width
  111. * less than 4px.
  112. */
  113. @supports (-ms-ime-align:auto) {
  114. [dir="rtl"] .ajax-progress__throbber {
  115. border-width: 4px;
  116. }
  117. }
  118. }
  119. @keyframes claro-throbber {
  120. 0% {
  121. transform: rotateZ(0);
  122. }
  123. 100% {
  124. transform: rotateZ(360deg);
  125. }
  126. }

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