@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
39 lines (33 loc) • 1.22 kB
CSS
@layer mantine {.m_bcaa9990 {
display: flex;
flex-direction: column;
--toc-depth-offset: 0.8em;
}
.m_375a65ef {
display: block;
padding: 0.3em 0.8em;
font-size: var(--toc-size, var(--mantine-font-size-md));
border-radius: var(--toc-radius, var(--mantine-radius-default));
padding-left: max(calc(var(--depth-offset) * var(--toc-depth-offset)), 0.8em);
}
@media (hover: hover) {
:where([data-mantine-color-scheme='light']) .m_375a65ef:where(:hover):where(:not([data-variant='none'])) {
background-color: var(--mantine-color-gray-1);
}
:where([data-mantine-color-scheme='dark']) .m_375a65ef:where(:hover):where(:not([data-variant='none'])) {
background-color: var(--mantine-color-dark-5);
}
}
@media (hover: none) {
:where([data-mantine-color-scheme='light']) .m_375a65ef:where(:active):where(:not([data-variant='none'])) {
background-color: var(--mantine-color-gray-1);
}
:where([data-mantine-color-scheme='dark']) .m_375a65ef:where(:active):where(:not([data-variant='none'])) {
background-color: var(--mantine-color-dark-5);
}
}
.m_375a65ef:where([data-active]) {
background-color: var(--toc-bg);
color: var(--toc-color);
}
}