ajax-progress.module.css
Same filename in this branch
Same filename in other branches
- 9 core/themes/olivero/css/components/ajax-progress.module.css
- 9 core/themes/stable9/css/system/components/ajax-progress.module.css
- 9 core/themes/claro/css/components/ajax-progress.module.css
- 9 core/themes/stable/css/system/components/ajax-progress.module.css
- 9 core/modules/system/css/components/ajax-progress.module.css
- 10 core/themes/olivero/css/components/ajax-progress.module.css
- 10 core/themes/stable9/css/system/components/ajax-progress.module.css
- 10 core/themes/claro/css/components/ajax-progress.module.css
- 10 core/modules/system/css/components/ajax-progress.module.css
- 11.x core/themes/olivero/css/components/ajax-progress.module.css
- 11.x core/themes/stable9/css/system/components/ajax-progress.module.css
- 11.x core/themes/claro/css/components/ajax-progress.module.css
- 11.x core/modules/system/css/components/ajax-progress.module.css
- 10 core/misc/components/ajax-progress.module.css
- 10 core/themes/stable9/css/core/components/ajax-progress.module.css
- 11.x core/misc/components/ajax-progress.module.css
- 11.x core/themes/stable9/css/core/components/ajax-progress.module.css
Throbber.
File
-
core/
themes/ claro/ css/ components/ ajax-progress.module.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/2815083
- * @preserve
- */
-
- /**
- * @file
- * Throbber.
- */
-
- .ajax-progress {
- display: inline-block;
- }
-
- /**
- * Progress bar.
- */
-
- .ajax-progress-bar {
- width: 13em;
- padding: 0 0.3125rem; /* 0 5px */
- }
-
- /**
- * Throbber.
- */
-
- .ajax-progress--throbber {
- position: relative;
- display: inline-flex;
- align-content: center;
- height: 1.125rem;
- margin: -3px 0.75rem 0;
- vertical-align: middle;
- white-space: nowrap;
- line-height: 1.125rem;
- }
-
- /**
- * Remove margin from ajax throbbers following buttons because buttons already
- * have a large margin set.
- */
-
- .js .button:not(.js-hide) + .ajax-progress--throbber {
- margin-left: 0; /* LTR */
- }
-
- [dir="rtl"].js .button:not(.js-hide) + .ajax-progress--throbber {
- margin-right: 0;
- margin-left: 0.75rem;
- }
-
- /**
- * Restore start margin for ajax throbbers inside a managed file widget.
- */
-
- .js .form-type--managed-file .button:not(.js-hide) + .ajax-progress--throbber,
- .js .file-operations-cell .button:not(.js-hide) + .ajax-progress--throbber {
- margin-left: 0.75rem; /* LTR */
- }
-
- [dir="rtl"].js .form-type--managed-file .button:not(.js-hide) + .ajax-progress--throbber,
- [dir="rtl"].js .file-operations-cell .button:not(.js-hide) + .ajax-progress--throbber {
- margin-right: 0.75rem;
- margin-left: 0.75rem;
- }
-
- .ajax-progress__throbber {
- box-sizing: border-box;
- width: 1.125rem;
- height: 1.125rem;
- animation: claro-throbber 0.75s linear infinite;
- border: 2px solid #003cc5;
- border-right: 2px dotted transparent;
- border-radius: 50%;
- }
-
- .ajax-progress__message {
- display: inline-block;
- padding-left: 0.75rem;
- font-size: 0.889rem;
- }
-
- [dir="rtl"] .ajax-progress__message {
- padding-right: 0.75rem;
- padding-left: 0;
- }
-
- /**
- * Full screen throbber.
- */
-
- .ajax-progress--fullscreen {
- position: fixed;
- z-index: 1000;
- top: 50%;
- left: 50%;
- box-sizing: border-box;
- width: 3.5rem; /* 56px */
- height: 3.5rem;
- margin: -1.75rem;
- border: 1px solid rgba(216, 217, 224, 0.8);
- border-radius: 3.5rem;
- background: #fff;
- box-shadow: 0 0.25rem 0.625rem rgba(34, 35, 48, 0.1);
- }
-
- .ajax-progress__throbber--fullscreen {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 1.75rem; /* 28px */
- height: 1.75rem; /* 28px */
- margin: -0.875rem;
- content: "";
- border: 3px solid #003cc5;
- border-right: 3px dotted transparent;
- }
-
- @media screen and (-ms-high-contrast: active) {
- /**
- * Throbber animation is shaky on Edge RTL on high contrast for border width
- * less than 4px.
- */
- @supports (-ms-ime-align:auto) {
- [dir="rtl"] .ajax-progress__throbber {
- border-width: 4px;
- }
- }
- }
-
- @keyframes claro-throbber {
- 0% {
- transform: rotateZ(0);
- }
- 100% {
- transform: rotateZ(360deg);
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.