thisthethe_MicroMike/Snippets/sNoAnimations.css
2025-03-30 13:38:35 -06:00

31 lines
No EOL
1 KiB
CSS

/*
No Animations
This snippet disables animations. It includes a feature to workaround a problem causing the sidebars to close more slowly.
This is borrowed from https://github.com/SMUsamaShah/Obsidian-Win98-Edition
*/
/*
Author: ThisTheThe
Source: github.com/ThisTheThe/MicroMike
Version: 03/30/2025
This is a componentized version of a portion of Micro Mike.
If you like what you see here, you might like the theme.
Feel free to give feedback on the theme page, or on Discord - I can be reached at "liblung".
*/
/* Animation Disabler */
*, *:after, *:before {
/*CSS transitions*/
transition-property: none !important;
transition: none !important;
/*CSS transforms*/
/*CSS animations*/
animation: none !important;
}
body:not(.disableFastClose) .workspace-split.mod-horizontal.mod-left-split.is-sidedock-collapsed {
display: none !important;
}
body:not(.disableFastClose) .workspace-split.mod-horizontal.mod-right-split.is-sidedock-collapsed {
display: none !important;
}/*# sourceMappingURL=sNoAnimations.css.map */