tooltip.pcss.css
Same filename in this branch
Same filename and directory in other branches
Tooltip styles for the admin toolbar.
File
-
core/
themes/ default_admin/ migration/ css/ components/ tooltip.pcss.css
View source
- /**
- * @file
- * Tooltip styles for the admin toolbar.
- */
-
- :where(*),
- :is(#extra-specificity-hack, [data-drupal-admin-styles]) {
- .admin-toolbar__tooltip {
- position: absolute;
- z-index: 601;
- padding: var(--space-xs) var(--space-s);
- white-space: nowrap;
- color: white;
- border-radius: var(--gin-border-s);
- background-color: var(--gin-tooltip-bg);
- box-shadow: var(--gin-shadow-l2);
- font-size: var(--font-size-xxs);
- font-weight: var(--font-weight-semibold);
- inset-block-start: var(--space-xs);
- font-variation-settings: initial;
- }
-
- html:not(.admin-toolbar-expanded) .toolbar-menu__item--level-1:not(.toolbar-menu__item--has-dropdown) .toolbar-link span {
- display: none;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.