notion-enhancer/src/extensions/focus/client.css

26 lines
606 B
CSS

/**
* notion-enhancer: focus
* (c) 2020 Arecsu
* (c) 2024 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
/* hide topbar and ai */
.notion-sidebar-container[aria-hidden] ~ div {
:is(.notion-topbar, .notion-help-button, .notion-ai-button) {
opacity: 0 !important;
transition: opacity 200ms ease-in-out !important;
}
.notion-topbar:hover {
opacity: 1 !important;
}
}
/* hide tabs */
body > #root.sidebar-collapsed {
transition: opacity 200ms ease-in-out;
&:not(:hover) {
opacity: 0;
}
}