Commit fbafe0f9 by doszhang

dos

parent 8de8fee8
...@@ -204,6 +204,21 @@ input::-webkit-input-placeholder { ...@@ -204,6 +204,21 @@ input::-webkit-input-placeholder {
opacity: 0; opacity: 0;
} }
.flag-choose-tip.active {
animation: tips 1.5s linear forwards 3;
-webkit-animation: tips 1.5s linear forwards 3;
}
@keyframes tips {
0% {
opacity: 0.1;
}
100% {
opacity: 1;
}
}
@keyframes trans { @keyframes trans {
to { to {
transform: translateY(0); transform: translateY(0);
......
...@@ -193,7 +193,6 @@ $(document).ready(function () { ...@@ -193,7 +193,6 @@ $(document).ready(function () {
onEnd: function (event) { onEnd: function (event) {
const dragEl = $(event.item); const dragEl = $(event.item);
dragEl.find('.btn-checked-item-delete').css('color', '#c30101'); dragEl.find('.btn-checked-item-delete').css('color', '#c30101');
} }
}); });
...@@ -377,6 +376,7 @@ function addCustomizeFlag() { ...@@ -377,6 +376,7 @@ function addCustomizeFlag() {
} }
function addFlag() { function addFlag() {
$('.flag-choose-tip').removeClass('active');
let text = $(this).find('.flag-text').text(); let text = $(this).find('.flag-text').text();
flagStack.push(text); flagStack.push(text);
addFlagToList(text); addFlagToList(text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment