720kb / angular-tooltips

Angularjs tooltips module, add tooltips to your elements - https://720kb.github.io/angular-tooltips
351 stars 157 forks source link

Sass::SyntaxError: Invalid CSS after "tooltip ": expected keyframes selector, was "0%" #184

Closed solutionizer closed 8 years ago

solutionizer commented 8 years ago

Getting errror on rails assert pre-compile

rails assert pre compile error

celsomtrindade commented 8 years ago

This is caused by this piece of code in the css file:

@-ms-keyframes animate-tooltip {
    tooltip 0% {
        opacity: 0;
    }
    tooltip 50% {
        opacity: .5;
    }
    tooltip 60% {
        opacity: .8;
    }
    tooltip 70% {
        opacity: .9;
    }
    tooltip 90% {
        opacity: 1;
    }
}

I believe this should be like this:

@-ms-keyframes animate-tooltip {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    60% {
        opacity: .8;
    }
    70% {
        opacity: .9;
    }
    90% {
        opacity: 1;
    }
}
45kb commented 8 years ago

Hi, thanks for spotting out this, just update to 1.1.8 version and you should be fine with this. 👍