You are here

autocomplete-loading.module.css in Drupal 10

Visual styles for autocomplete input field.

File

core/themes/olivero/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 autocomplete input field.
  10. */
  11. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. :root {
  20. --autocomplete-search-icon-url: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18.8' viewBox='0 0 18 18.8'%3e %3cpath fill='%237e96a7' d='M17.8,17.4l-3.6-3.6c1.4-1.5,2.2-3.4,2.2-5.6c0-4.5-3.7-8.2-8.2-8.2S0,3.7,0,8.2s3.7,8.2,8.2,8.2c1.8,0,3.4-0.6,4.7-1.5l3.7,3.7c0.3,0.3,0.8,0.3,1.2,0C18.1,18.3,18.1,17.7,17.8,17.4z M8.2,14.7c-3.6,0-6.5-2.9-6.5-6.5s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5S11.8,14.7,8.2,14.7z'/%3e%3c/svg%3e");
  21. --autocomplete-throbber-icon-url: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 10 10'%3e %3cstyle type='text/css'%3e%40keyframes s%7b0%25%7btransform:rotate(0deg) translate(-50%25,-50%25)%7d50%25%7btransform:rotate(430deg) translate(-50%25,-50%25);stroke-dashoffset:20%7d100%25%7btransform:rotate(720deg) translate(-50%25,-50%25)%7d%7dellipse%7banimation:s 1s linear infinite%7d%3c/style%3e %3cg transform='translate(5 5)'%3e %3cellipse fill='none' ry='4' rx='4' cy='5' cx='5' stroke='%237e96a7' stroke-width='1' stroke-dashoffset='6.125' stroke-dasharray='25' transform='translate(-5 -5)'/%3e %3c/g%3e%3c/svg%3e");
  22. --autocomplete-throbber-IE-icon-url: url("../../images/throbber.gif");
  23. --autocomplete-throbber-IE-size: 1.125rem 1.125rem; /* 18 18 */
  24. --autocomplete-icon-right-offset: var(--sp1);
  25. }
  26. html[dir="ltr"].js .form-autocomplete {
  27. padding-right: var(--sp3);
  28. }
  29. html[dir="rtl"].js .form-autocomplete {
  30. padding-left: var(--sp3);
  31. }
  32. html.js .form-autocomplete {
  33. background-color: var(--color--white);
  34. background-image: var(--autocomplete-search-icon-url);
  35. background-repeat: no-repeat;
  36. background-position: right var(--autocomplete-icon-right-offset) center /* LTR */
  37. }
  38. html.js .form-autocomplete:disabled {
  39. background-color: var(--color--gray-100);
  40. }
  41. html.js .form-autocomplete.ui-autocomplete-loading {
  42. background: var(--autocomplete-throbber-icon-url) no-repeat right var(--autocomplete-icon-right-offset) center;
  43. }
  44. html.js[dir="rtl"] .form-autocomplete {
  45. background-color: var(--color--white);
  46. background-image: var(--autocomplete-search-icon-url);
  47. background-repeat: no-repeat;
  48. background-position: left var(--autocomplete-icon-right-offset) center
  49. }
  50. html.js[dir="rtl"] .form-autocomplete:disabled {
  51. background-color: var(--color--gray-100);
  52. }
  53. html.js[dir="rtl"] .form-autocomplete.ui-autocomplete-loading {
  54. background: var(--autocomplete-throbber-icon-url) no-repeat left var(--autocomplete-icon-right-offset) center;
  55. }
  56. /* IE11 does not animate inline SVG. */
  57. /* rtl:begin:ignore */
  58. /* stylelint-disable-next-line selector-type-no-unknown */
  59. _:-ms-fullscreen,
  60. html[dir=ltr].js .form-autocomplete.ui-autocomplete-loading {
  61. background: var(--autocomplete-throbber-IE-icon-url) no-repeat right var(--autocomplete-icon-right-offset) center / var(--autocomplete-throbber-IE-size);
  62. }
  63. /* stylelint-disable-next-line selector-type-no-unknown */
  64. _:-ms-fullscreen,
  65. html[dir=rtl].js .form-autocomplete.ui-autocomplete-loading {
  66. background: var(--autocomplete-throbber-IE-icon-url) no-repeat left var(--autocomplete-icon-right-offset) center / var(--autocomplete-throbber-IE-size);
  67. }