description-toggle.css

Same filename and directory in other branches
  1. 11.x core/themes/default_admin/css/components/description-toggle.css

Help icon description toggle styles.

File

core/themes/default_admin/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. cursor: pointer;
  20. border-radius: 50%;
  21. margin-block: 0.1rem 0;
  22. margin-inline: 0.3rem var(--space-m);
  23. &::before {
  24. display: block;
  25. width: 100%;
  26. height: 100%;
  27. content: "";
  28. background-color: var(--gin-icon-color);
  29. 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");
  30. mask-repeat: no-repeat;
  31. mask-position: center center;
  32. mask-size: 100% 100%;
  33. }
  34. &:hover::before {
  35. background-color: var(--gin-color-primary);
  36. }
  37. .field-group-details.help-icon__description-container
  38. .field-group-fieldset > .help-icon > &,
  39. fieldset.media-library-widget .help-icon > &,
  40. .field--type-datetime fieldset .help-icon >
  41. :is(.system-modules, .system-modules-uninstall) .table-filter .form-type--search
  42. }
  43. .help-icon__element-has-description {
  44. :is(.form-type--checkbox, .form-type--radio) >
  45. }
  46. }
  47. .fieldset__label {
  48. fieldset:not(.fieldgroup) .help-icon > .fieldset__legend
  49. }
  50. .fieldset__description {
  51. .field-group-fieldset > &,
  52. fieldset.media-library-widget &,
  53. .field--type-datetime fieldset
  54. }
  55. }
  56. .form-type--search {
  57. :is(.system-modules, .system-modules-uninstall) .table-filter
  58. }

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