Skip to content

Instantly share code, notes, and snippets.

@strezag
Created September 25, 2019 23:36
Show Gist options
  • Save strezag/eafff7629c5dc4e8c4b3a1e9204e3149 to your computer and use it in GitHub Desktop.
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
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}}'
@strezag
Copy link
Author

strezag commented Sep 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment