mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2025-07-08 08:02:47 +00:00
DEV: Remove fade-in
and use jsuites.basic.css
instead
This commit is contained in:
parent
12e09ebad6
commit
b2dffcc910
@ -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
4936
scss/vendor/jsuites.scss
vendored
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user