Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Compiled CSS animation classes require "animated" class #18

Closed
codeworksdev opened this issue May 8, 2018 · 0 comments
Closed

Comments

@codeworksdev
Copy link
Owner

codeworksdev commented May 8, 2018

All pre-baked animation classes now require the animated class to be assigned before they take effect. This new rule minimizes conflicts with other CSS definitions (i.e., from other projects) while also providing a way to activate or deactivate an animation in action.

UPDATED DEFINITION

.animated when (@o_animateless_classless = false) {
    #a.animated();

    &.infinite           { #a.iterate(infinite);    }
    &.bounce             { #a.bounce();             }
    &.bounceIn           { #a.bounceIn();           }
    &.bounceInDown       { #a.bounceInDown();       }
    &.bounceInLeft       { #a.bounceInLeft();       }
    &.bounceInRight      { #a.bounceInRight();      }
    &.bounceInUp         { #a.bounceInUp();         }
    &.bounceOut          { #a.bounceOut();          }
    &.bounceOutDown      { #a.bounceOutDown();      }
    &.bounceOutLeft      { #a.bounceOutLeft();      }
    &.bounceOutRight     { #a.bounceOutRight();     }
    &.bounceOutUp        { #a.bounceOutUp();        }
    &.fadeIn             { #a.fadeIn();             }
    &.fadeInDown         { #a.fadeInDown();         }
    &.fadeInDownBig      { #a.fadeInDownBig();      }
    &.fadeInLeft         { #a.fadeInLeft();         }
    &.fadeInLeftBig      { #a.fadeInLeftBig();      }
    &.fadeInRight        { #a.fadeInRight();        }
    &.fadeInRightBig     { #a.fadeInRightBig();     }
    &.fadeInUp           { #a.fadeInUp();           }
    &.fadeInUpBig        { #a.fadeInUpBig();        }
    &.fadeOut            { #a.fadeOut();            }
    &.fadeOutDown        { #a.fadeOutDown();        }
    &.fadeOutDownBig     { #a.fadeOutDownBig();     }
    &.fadeOutLeft        { #a.fadeOutLeft();        }
    &.fadeOutLeftBig     { #a.fadeOutLeftBig();     }
    &.fadeOutRight       { #a.fadeOutRight();       }
    &.fadeOutRightBig    { #a.fadeOutRightBig();    }
    &.fadeOutUp          { #a.fadeOutUp();          }
    &.fadeOutUpBig       { #a.fadeOutUpBig();       }
    &.flash              { #a.flash();              }
    &.flashmin           { #a.flashmin();           }
    &.flip               { #a.flip();               }
    &.flipInX            { #a.flipInX();            }
    &.flipInY            { #a.flipInY();            }
    &.flipOutX           { #a.flipOutX();           }
    &.flipOutY           { #a.flipOutY();           }
    &.headShake          { #a.headShake();          }
    &.hinge              { #a.hinge();              }
    &.jackInTheBox       { #a.jackInTheBox();       }
    &.jello              { #a.jello();              }
    &.lightSpeedIn       { #a.lightSpeedIn();       }
    &.lightSpeedOut      { #a.lightSpeedOut();      }
    &.pulse              { #a.pulse();              }
    &.rollIn             { #a.rollIn();             }
    &.rollOut            { #a.rollOut();            }
    &.rotate             { #a.rotate();             }
    &.rotateCC           { #a.rotateCC();           }
    &.rotateIn           { #a.rotateIn();           }
    &.rotateInDownLeft   { #a.rotateInDownLeft();   }
    &.rotateInDownRight  { #a.rotateInDownRight();  }
    &.rotateInUpLeft     { #a.rotateInUpLeft();     }
    &.rotateInUpRight    { #a.rotateInUpRight();    }
    &.rotateOut          { #a.rotateOut();          }
    &.rotateOutDownLeft  { #a.rotateOutDownLeft();  }
    &.rotateOutDownRight { #a.rotateOutDownRight(); }
    &.rotateOutUpLeft    { #a.rotateOutUpLeft();    }
    &.rotateOutUpRight   { #a.rotateOutUpRight();   }
    &.rotateZoomIn       { #a.rotateZoomIn();       }
    &.rotateZoomInCC     { #a.rotateZoomInCC();     }
    &.rotateZoomOut      { #a.rotateZoomOut();      }
    &.rotateZoomOutCC    { #a.rotateZoomOutCC();    }
    &.rubberBand         { #a.rubberBand();         }
    &.shake              { #a.shake();              }
    &.slideInDown        { #a.slideInDown();        }
    &.slideInLeft        { #a.slideInLeft();        }
    &.slideInRight       { #a.slideInRight();       }
    &.slideInUp          { #a.slideInUp();          }
    &.slideOutDown       { #a.slideOutDown();       }
    &.slideOutLeft       { #a.slideOutLeft();       }
    &.slideOutRight      { #a.slideOutRight();      }
    &.slideOutUp         { #a.slideOutUp();         }
    &.swing              { #a.swing();              }
    &.tada               { #a.tada();               }
    &.wobble             { #a.wobble();             }
    &.zoomIn             { #a.zoomIn();             }
    &.zoomInDown         { #a.zoomInDown();         }
    &.zoomInLeft         { #a.zoomInLeft();         }
    &.zoomInRight        { #a.zoomInRight();        }
    &.zoomInUp           { #a.zoomInUp();           }
    &.zoomOut            { #a.zoomOut();            }
    &.zoomOutDown        { #a.zoomOutDown();        }
    &.zoomOutLeft        { #a.zoomOutLeft();        }
    &.zoomOutRight       { #a.zoomOutRight();       }
    &.zoomOutUp          { #a.zoomOutUp();          }
    }
@codeworksdev codeworksdev changed the title API: Animation classes require "animated" class API: CSS animation classes require "animated" class May 8, 2018
@codeworksdev codeworksdev changed the title API: CSS animation classes require "animated" class API: CSS animation classes now require "animated" class May 16, 2018
@codeworksdev codeworksdev changed the title API: CSS animation classes now require "animated" class API: CSS animation classes require "animated" class May 16, 2018
@codeworksdev codeworksdev changed the title API: CSS animation classes require "animated" class API: Pre-baked CSS animation classes require "animated" class May 16, 2018
@codeworksdev codeworksdev changed the title API: Pre-baked CSS animation classes require "animated" class API: CSS animation classes require "animated" class May 16, 2018
@codeworksdev codeworksdev changed the title API: CSS animation classes require "animated" class API: Compiled CSS animation classes require "animated" class May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant