autocomplete-loading.module.css

Same filename in this branch
  1. main core/misc/components/autocomplete-loading.module.css
  2. main core/themes/olivero/css/components/autocomplete-loading.module.css
  3. main core/themes/stable9/css/core/components/autocomplete-loading.module.css
  4. main core/themes/claro/css/components/autocomplete-loading.module.css
  5. main core/themes/admin/css/components/autocomplete-loading.module.css
Same filename and directory in other branches
  1. 10 core/misc/components/autocomplete-loading.module.css
  2. 10 core/themes/olivero/css/components/autocomplete-loading.module.css
  3. 10 core/themes/stable9/css/core/components/autocomplete-loading.module.css
  4. 10 core/themes/claro/css/components/autocomplete-loading.module.css
  5. 11.x core/misc/components/autocomplete-loading.module.css
  6. 11.x core/themes/olivero/css/components/autocomplete-loading.module.css
  7. 11.x core/themes/stable9/css/core/components/autocomplete-loading.module.css
  8. 11.x core/themes/claro/css/components/autocomplete-loading.module.css
  9. 9 core/themes/olivero/css/components/autocomplete-loading.module.css
  10. 9 core/themes/stable9/css/system/components/autocomplete-loading.module.css
  11. 9 core/themes/claro/css/components/autocomplete-loading.module.css
  12. 9 core/themes/stable/css/system/components/autocomplete-loading.module.css
  13. 9 core/modules/system/css/components/autocomplete-loading.module.css
  14. 8.9.x core/themes/claro/css/components/autocomplete-loading.module.css
  15. 8.9.x core/themes/stable/css/system/components/autocomplete-loading.module.css
  16. 8.9.x core/modules/system/css/components/autocomplete-loading.module.css
  17. 11.x core/themes/admin/css/components/autocomplete-loading.module.css
  18. 11.x core/themes/default_admin/css/components/autocomplete-loading.module.css

Visual styles for animated throbber.

See also

autocomplete.js

File

core/themes/default_admin/css/components/autocomplete-loading.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 animated throbber.
  10. *
  11. * @see autocomplete.js
  12. */
  13. /* Wrapper around the autocomplete element. */
  14. .gin-autocomplete {
  15. position: relative;
  16. width: fit-content;
  17. }
  18. /* The "Loading" message gets positioned to the top right. */
  19. .gin-autocomplete__message {
  20. position: absolute;
  21. max-width: 100%;
  22. margin-block-end: 0.15rem;
  23. color: var(--gin-color-primary);
  24. font-size: var(--font-size-xxs);
  25. font-weight: bold;
  26. line-height: calc(18rem / 16);
  27. inset-inline-end: 0;
  28. inset-block-end: 100%;
  29. .form-autocomplete.is-autocompleting +
  30. }
  31. }
  32. /* The actual element. */
  33. .form-autocomplete {
  34. margin-inline-end: calc(var(--input-border-size) - 1.5 * var(--input-padding-horizontal));
  35. padding-inline-end: 2.25rem;
  36. background-image: url("data:image/svg+xml,%3csvg width='40' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 1C3.46.827-.188 5.787 1.313 10.068c1.176 4.384 6.993 6.417 10.637 3.7.326-.39.565.276.846.442l3.74 3.739 1.413-1.414-4.35-4.35c2.811-3.468 1.15-9.247-3.062-10.71A7.003 7.003 0 008 1zm0 2c3.242-.123 5.849 3.42 4.777 6.477-.842 3.132-4.994 4.58-7.6 2.65-2.745-1.73-2.9-6.125-.285-8.044A5.006 5.006 0 018 3z' fill='%23868686'/%3e%3c/svg%3e");
  37. background-repeat: no-repeat;
  38. background-position: 100% 50%;
  39. &:dir(rtl) {
  40. background-image: url("data:image/svg+xml,%3csvg width='40' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 1c4.54-.173 8.188 4.787 6.687 9.068-1.176 4.384-6.993 6.417-10.637 3.7-.326-.39-.565.276-.846.442l-3.74 3.739-1.413-1.414 4.35-4.35C3.59 8.717 5.25 2.938 9.462 1.475A7.003 7.003 0 0112 1zm0 2c-3.242-.123-5.849 3.42-4.777 6.477.842 3.132 4.994 4.58 7.6 2.65 2.745-1.73 2.9-6.125.285-8.044A5.006 5.006 0 0012 3z' fill='%23868686'/%3e%3c/svg%3e");
  41. background-position: 0 50%;
  42. }
  43. }
  44. /*
      dropdown */
    • .ui-autocomplete {
    • color: var(--gin-color-text);
    • border-radius: 0 0 var(--gin-border-m) var(--gin-border-m);
    • background: var(--gin-bg-input);
    • .ui-menu-item-wrapper.ui-state-active {
    • color: var(--gin-color-primary-hover);
    • background-color: var(--gin-bg-item-hover);
    • @media (forced-colors: active) {
    • outline: solid 2px transparent;
    • outline-offset: -4px;
    • }
    • }
    • .ui-menu-item a {
    • color: var(--gin-color-text);
    • &:hover {
    • color: var(--gin-color-primary-hover);
    • background-color: var(--gin-bg-item-hover);
    • }
    • }
    • }
    • @keyframes gin-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.