ajax-progress.module.css

Same filename in this branch
  1. 9 core/themes/stable9/css/system/components/ajax-progress.module.css
  2. 9 core/themes/claro/css/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

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. [dir="ltr"] .ajax-progress-throbber {
  18. margin-left: 0.5625rem;
  19. }
  20. [dir="rtl"] .ajax-progress-throbber {
  21. margin-right: 0.5625rem;
  22. }
  23. [dir="ltr"] .ajax-progress-throbber {
  24. margin-right: 0.5625rem;
  25. }
  26. [dir="rtl"] .ajax-progress-throbber {
  27. margin-left: 0.5625rem;
  28. }
  29. .ajax-progress-throbber {
  30. position: relative;
  31. display: inline-flex;
  32. align-content: center;
  33. height: 1.125rem;
  34. margin-top: -0.1875rem;
  35. margin-bottom: 0;
  36. vertical-align: middle;
  37. white-space: nowrap;
  38. line-height: 1.125rem;
  39. }
  40. .ajax-progress-throbber .throbber {
  41. width: 1.125rem;
  42. height: 1.125rem;
  43. border-width: 2px;
  44. border-color: #2494db transparent #2494db #2494db;
  45. }
  46. [dir="ltr"] .ajax-progress-throbber .message {
  47. padding-left: 0.5625rem;
  48. }
  49. [dir="rtl"] .ajax-progress-throbber .message {
  50. padding-right: 0.5625rem;
  51. }
  52. .ajax-progress-throbber .message {
  53. display: inline-block;
  54. font-size: 0.875rem;
  55. font-weight: 400;
  56. }
  57. /**
  58. * Full screen throbber.
  59. */
  60. [dir="ltr"] .ajax-progress-fullscreen {
  61. left: 50%;
  62. }
  63. [dir="rtl"] .ajax-progress-fullscreen {
  64. right: 50%;
  65. }
  66. .ajax-progress-fullscreen {
  67. position: fixed;
  68. z-index: 1000;
  69. top: 50%;
  70. width: 3.5rem;
  71. height: 3.5rem;
  72. margin: -1.75rem;
  73. border: 1px solid #afb8be;
  74. border-radius: 3.5rem;
  75. background-color: #fff;
  76. box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1); /* LTR */
  77. }
  78. [dir="ltr"] .ajax-progress-fullscreen:before {
  79. left: 50%;
  80. }
  81. [dir="rtl"] .ajax-progress-fullscreen:before {
  82. right: 50%;
  83. }
  84. .ajax-progress-fullscreen:before {
  85. position: absolute;
  86. top: 50%;
  87. width: 1.75rem;
  88. height: 1.75rem;
  89. margin: -0.875rem;
  90. content: "";
  91. border-width: 3px;
  92. }
  93. [dir="rtl"] .ajax-progress-fullscreen {
  94. box-shadow: 0 -0.25rem 0.625rem rgba(34, 35, 48, 0.1);
  95. }
  96. /**
  97. * Common styles for all kinds of throbbers.
  98. */
  99. .ajax-progress-throbber .throbber,
  100. .ajax-progress-fullscreen:before {
  101. animation: olivero-throbber 0.75s linear infinite;
  102. border-style: solid dotted solid solid;
  103. border-color: #2494db transparent #2494db #2494db;
  104. border-radius: 50%;
  105. }
  106. /**
  107. * Remove margin from ajax throbbers following buttons because buttons already
  108. * have a large margin set.
  109. */
  110. html[dir="ltr"].js .button:not(.js-hide) + .ajax-progress-throbber {
  111. margin-left: 0;
  112. }
  113. html[dir="rtl"].js .button:not(.js-hide) + .ajax-progress-throbber {
  114. margin-right: 0;
  115. }
  116. @keyframes olivero-throbber {
  117. 0% {
  118. transform: rotateZ(0);
  119. }
  120. 100% {
  121. transform: rotateZ(360deg);
  122. }
  123. }

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