ajax-progress.module.css

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

Visual styles for ajax-progress throbber.

File

core/themes/olivero/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. * Visual styles for ajax-progress throbber.
  10. */
  11. .ajax-progress {
  12. display: inline-block;
  13. }
  14. /**
  15. * Throbber.
  16. */
  17. .ajax-progress-throbber {
  18. position: relative;
  19. display: inline-flex;
  20. align-content: center;
  21. height: 1.125rem;
  22. margin-block-start: -0.1875rem;
  23. margin-block-end: 0;
  24. margin-inline-start: var(--sp0-5);
  25. margin-inline-end: var(--sp0-5);
  26. vertical-align: middle;
  27. white-space: nowrap;
  28. line-height: 1.125rem;
  29. }
  30. .ajax-progress-throbber .throbber {
  31. width: 1.125rem;
  32. height: 1.125rem;
  33. border-width: 2px;
  34. border-color: var(--color--primary-50) transparent var(--color--primary-50) var(--color--primary-50);
  35. }
  36. .ajax-progress-throbber .message {
  37. display: inline-block;
  38. padding-inline-start: var(--sp0-5);
  39. font-size: var(--font-size-s);
  40. font-weight: 400;
  41. }
  42. /**
  43. * Full screen throbber.
  44. */
  45. .ajax-progress-fullscreen {
  46. position: fixed;
  47. z-index: 1000;
  48. inset-block-start: 50%;
  49. inset-inline-start: 50%;
  50. width: 3.5rem;
  51. height: 3.5rem;
  52. margin: -1.75rem;
  53. border: 1px solid var(--color--gray-70);
  54. border-radius: 3.5rem;
  55. background-color: var(--color--white);
  56. box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1); /* LTR */
  57. }
  58. .ajax-progress-fullscreen::before {
  59. position: absolute;
  60. inset-block-start: 50%;
  61. inset-inline-start: 50%;
  62. width: 1.75rem;
  63. height: 1.75rem;
  64. margin: -0.875rem;
  65. content: "";
  66. border-width: 3px;
  67. }
  68. [dir="rtl"] .ajax-progress-fullscreen {
  69. box-shadow: 0 -0.25rem 0.625rem rgba(34, 35, 48, 0.1);
  70. }
  71. /**
  72. * Common styles for all kinds of throbbers.
  73. */
  74. .ajax-progress-throbber .throbber,
  75. .ajax-progress-fullscreen::before {
  76. animation: olivero-throbber 0.75s linear infinite;
  77. border-style: solid dotted solid solid;
  78. border-color: var(--color--primary-50) transparent var(--color--primary-50) var(--color--primary-50);
  79. border-radius: 50%;
  80. }
  81. /**
  82. * Remove margin from ajax throbbers following buttons because buttons already
  83. * have a large margin set.
  84. */
  85. html.js .button:not(.js-hide) + .ajax-progress-throbber {
  86. margin-inline-start: 0;
  87. }
  88. @keyframes olivero-throbber {
  89. 0% {
  90. transform: rotateZ(0);
  91. }
  92. 100% {
  93. transform: rotateZ(360deg);
  94. }
  95. }

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