notion-enhancer/extension/repo/components@36a2ffc9-27ff-480e-84a7-c7700a7d232d/tooltip.css
dragonwocky a7549cd9db api hooks - enabling core mods to extend the api
moved tooltips to one, preparing to set up sidebar
2021-10-02 00:12:30 +10:00

26 lines
688 B
CSS

/*
* notion-enhancer core: components
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
#enhancer--tooltip {
position: absolute;
background: var(--theme--ui_tooltip);
font-size: 11.5px;
padding: 0.15rem 0.4rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
border-radius: 3px;
max-width: 20rem;
display: none;
}
#enhancer--tooltip p {
margin: 0.25rem 0;
}
#enhancer--tooltip p:first-child {
color: var(--theme--ui_tooltip-title);
}
#enhancer--tooltip p:not(:first-child) {
color: var(--theme--ui_tooltip-description);
}