description_toggle.css

Same filename in this branch
  1. main core/themes/admin/migration/css/components/description_toggle.css
Same filename and directory in other branches
  1. 11.x core/themes/admin/migration/css/components/description_toggle.css
  2. 11.x core/themes/default_admin/migration/css/components/description_toggle.css

Help icon description toggle styles.

File

core/themes/default_admin/migration/css/components/description_toggle.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. * Help icon description toggle styles.
  10. */
  11. .help-icon {
  12. display: flex;
  13. }
  14. .help-icon__description-toggle {
  15. all: unset;
  16. flex-shrink: 0;
  17. width: 1rem;
  18. height: 1rem;
  19. border-radius: 50%;
  20. margin-block: 0.1rem 0;
  21. margin-inline: 0.3rem var(--space-m);
  22. &::before {
  23. display: block;
  24. width: 100%;
  25. height: 100%;
  26. content: "";
  27. background-color: var(--gin-icon-color);
  28. mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3e %3cpath d='M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12Z' /%3e %3cpath d='M9.09003 8.00002C9.32513 7.33169 9.78918 6.76813 10.4 6.40915C11.0108 6.05018 11.7289 5.91896 12.4272 6.03873C13.1255 6.15851 13.7588 6.52154 14.2151 7.06355C14.6714 7.60555 14.9211 8.29154 14.92 9.00002C14.92 11 11.92 12 11.92 12' /%3e %3cpath d='M12 17H12.01' /%3e %3c/g%3e%3c/svg%3e");
  29. mask-repeat: no-repeat;
  30. mask-position: center center;
  31. mask-size: 100% 100%;
  32. }
  33. &:hover::before {
  34. background-color: var(--gin-color-primary);
  35. }
  36. }
  37. .form-type--checkbox > .help-icon__element-has-description,
  38. .form-type--radio > .help-icon__element-has-description {
  39. display: flex;
  40. align-items: normal;
  41. }
  42. .form-type--checkbox > .help-icon__element-has-description > label,
  43. .form-type--radio > .help-icon__element-has-description > label {
  44. margin-inline-start: 0.375rem;
  45. }
  46. .field-group-details.help-icon__description-container .help-icon__description-toggle {
  47. margin-block-start: 0;
  48. }
  49. fieldset:not(.fieldgroup) .help-icon > .fieldset__legend .fieldset__label {
  50. padding-inline-end: 0;
  51. }
  52. .field-group-fieldset > .help-icon > .help-icon__description-toggle,
  53. fieldset.media-library-widget .help-icon > .help-icon__description-toggle,
  54. .field--type-datetime fieldset .help-icon > .help-icon__description-toggle {
  55. margin-block-start: 1rem;
  56. }
  57. .field-group-fieldset > .fieldset__description,
  58. fieldset.media-library-widget .fieldset__description,
  59. .field--type-datetime fieldset .fieldset__description {
  60. padding-inline-start: var(--space-m);
  61. @media (min-width: 48em) {
  62. padding-inline-start: var(--space-l);
  63. }
  64. }
  65. .system-modules .table-filter .form-type--search,
  66. .system-modules-uninstall .table-filter .form-type--search {
  67. position: relative;
  68. }
  69. .system-modules .table-filter .form-type--search .help-icon__description-toggle,
  70. .system-modules-uninstall .table-filter .form-type--search .help-icon__description-toggle {
  71. position: absolute;
  72. inset-inline-end: calc(var(--space-xs) * -1);
  73. inset-block-start: var(--space-m);
  74. }

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