Last active
May 17, 2017 06:10
-
-
Save jrburke/258923f9b82cdb9102304f0c4c272a8a to your computer and use it in GitHub Desktop.
Prevent Atom 1.17 docks from animating their toggle buttons
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
/* | |
Choose Atom, Stylesheet... menu to add these to your local style overrides. | |
These styles only work on the .left and .bottom toggle buttons, but should | |
be straightforward to copy the .left selectors and adjust for other edges. | |
*/ | |
.atom-dock-toggle-button:not(.atom-dock-toggle-button-visible) .icon { | |
opacity: 1; | |
transition: unset; | |
} | |
.atom-dock-toggle-button:not(.atom-dock-toggle-button-visible) .atom-dock-toggle-button-inner.left, | |
.atom-dock-toggle-button:not(.atom-dock-toggle-button-visible) .atom-dock-toggle-button-inner.bottom { | |
transform: unset; | |
} | |
.atom-dock-toggle-button:not(.atom-dock-toggle-button-visible) .atom-dock-toggle-button-inner { | |
transition: unset; | |
} | |
.atom-dock-toggle-button:not(.atom-dock-toggle-button-visible) { | |
pointer-events: auto; | |
} | |
///////////////////////////////// | |
/// OR: if you do not want the toggle buttons showing up at all, use this instead: | |
///////////////////////////////// | |
.atom-dock-toggle-button .atom-dock-toggle-button-inner.left { | |
transform: translateX(-50%); | |
} | |
.atom-dock-toggle-button .atom-dock-toggle-button-inner.bottom { | |
transform: translateY(50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment