Created
September 25, 2019 23:36
-
-
Save strezag/eafff7629c5dc4e8c4b3a1e9204e3149 to your computer and use it in GitHub Desktop.
Sitecore PowerShell Extensions 1 liner that adds some simple animations to the Content Editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Item $SitecoreDataFolder.Replace("App_Data", "\sitecore\shell\Themes\Standard\Default\Content Manager.css") | Add-Content -Value '.scDockTop span{-webkit-animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both}.scContentTree span{-webkit-animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both}@-webkit-keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RUN AT YOUR OWN RISK (preferably on a local environment)
Don't forget to clear your browser cache after running this for the updated CSS to get picked up.
Does this: https://twitter.com/GabeStreza/status/1176556679334420480