Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

zf-panel animation variable no effect #489

Closed
escapedcat opened this issue Feb 24, 2015 · 1 comment
Closed

zf-panel animation variable no effect #489

escapedcat opened this issue Feb 24, 2015 · 1 comment

Comments

@escapedcat
Copy link

I didn't recognise any effect when setting $panel-animation-speed in my settings.scss.
I searched where it's used in the generated css-file and couldn't find my value. Or any value related to the speed of the panel.

I checked _panel.scss and it looks like, that the variable for panel speed ($panel-animation-speed: 0.25s !default;) is not used at the moment.

Let me know if I missed something.

@gakimball
Copy link
Contributor

Ah, that's a legacy variable and shouldn't be in the codebase anymore. You can control the speed of animations with our built-in classes, or with your own CSS.

With our classes:

<div zf-panel animation-in="slideInUp" class="[fast slow]"></div>

With your own code:

<div zf-panel animation-in="slideInUp" class="panel-thing"></div>
.panel-thing {
  transition-duration: 500ms;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants