DEV: Remove `fade-in` and use `jsuites.basic.css` instead

This commit is contained in:
Keegan George 2022-07-26 12:16:39 -07:00
parent 12e09ebad6
commit b2dffcc910
2 changed files with 2159 additions and 2804 deletions

View File

@ -866,28 +866,6 @@
}
};
jSuites.animation.fadeIn = function (element, done) {
element.style.display = "";
element.classList.add("fade-in");
setTimeout(function () {
element.classList.remove("fade-in");
if (typeof done == "function") {
done();
}
}, 2000);
};
jSuites.animation.fadeOut = function (element, done) {
element.classList.add("fade-out");
setTimeout(function () {
element.style.display = "none";
element.classList.remove("fade-out");
if (typeof done == "function") {
done();
}
}, 1000);
};
jSuites.calendar = function (el, options) {
// Already created, update options
if (el.calendar) {
@ -9885,11 +9863,6 @@
obj.show = function () {
document.body.appendChild(notification);
if (jSuites.getWindowWidth() > 800) {
jSuites.animation.fadeIn(notification);
} else {
jSuites.animation.slideTop(notification, 1);
}
};
obj.hide = function () {

4936
scss/vendor/jsuites.scss vendored

File diff suppressed because it is too large Load Diff