notion-enhancer
Version:
an enhancer/customiser for the all-in-one productivity workspace notion.so
22 lines (19 loc) • 632 B
CSS
/**
* notion-enhancer: focus mode
* (c) 2020 Arecsu
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
.notion-sidebar-container[style*='width: 0px;'] ~ div .notion-topbar > :first-child {
opacity: 0 ;
transition: opacity 200ms ease-in-out ;
}
.notion-sidebar-container[style*='width: 0px;'] ~ div .notion-topbar > :first-child:hover {
opacity: 1 ;
}
[data-focus-mode='padded']
.notion-sidebar-container[style*='width: 0px;']
~ div
.notion-frame {
height: calc(100vh - 90px) ;
}