チェックインに対してセンシティブフラグを付与可能とする対応を実施

This commit is contained in:
MitarashiDango
2019-09-07 19:57:44 +09:00
parent 743272f8d6
commit 06cc18565e
12 changed files with 89 additions and 8 deletions

View File

@@ -92,4 +92,10 @@ $(() => {
});
}
});
$(document).on('click', '.card-spoiler-overlay', function (event) {
const $this = $(this);
$this.siblings(".card-link").removeClass("card-spoiler");
$this.remove();
});
});

View File

@@ -30,4 +30,25 @@
.card-text {
white-space: pre-line;
}
.card-spoiler-overlay {
position: absolute;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
.warning-text {
padding: 10px;
background-color: rgba(240, 240, 240, 0.8);
border-radius: 5px;
}
}
.card-spoiler {
z-index: 1;
filter: blur(15px) grayscale(100%);
}
}