tooltip.css

Same filename in this branch
  1. 11.x core/modules/navigation/css/components/tooltip.css
  2. 11.x core/themes/admin/migration/css/components/tooltip.css
Same filename and directory in other branches
  1. 8.9.x core/assets/vendor/jquery.ui/themes/base/tooltip.css
  2. 10 core/modules/navigation/css/components/tooltip.css
  3. main core/modules/navigation/css/components/tooltip.css
  4. main core/themes/admin/migration/css/components/tooltip.css
  5. main core/themes/default_admin/migration/css/components/tooltip.css

Tooltip styles for the admin toolbar.

File

core/themes/default_admin/migration/css/components/tooltip.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. * Tooltip styles for the admin toolbar.
  10. */
  11. :where(*),
  12. :is(#extra-specificity-hack, [data-drupal-admin-styles]) {
  13. .admin-toolbar__tooltip {
  14. position: absolute;
  15. z-index: 601;
  16. padding: var(--space-xs) var(--space-s);
  17. white-space: nowrap;
  18. color: white;
  19. border-radius: var(--gin-border-s);
  20. background-color: var(--gin-tooltip-bg);
  21. box-shadow: var(--gin-shadow-l2);
  22. font-size: var(--font-size-xxs);
  23. font-weight: var(--font-weight-semibold);
  24. inset-block-start: var(--space-xs);
  25. font-variation-settings: initial;
  26. }
  27. html:not(.admin-toolbar-expanded) .toolbar-menu__item--level-1:not(.toolbar-menu__item--has-dropdown) .toolbar-link span {
  28. display: none;
  29. }
  30. }

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