mirror of https://github.com/MISP/MISP
chg: [main] Added special tag style
parent
a0adc64e99
commit
215672b5ef
|
@ -2934,4 +2934,25 @@ Query builder
|
|||
.freetext_row input[type=text] {
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.special-tag {
|
||||
animation: special-tag-color 4s infinite linear;
|
||||
}
|
||||
@keyframes special-tag-color {
|
||||
0%, 100% {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
20% {
|
||||
background-color: #339900;
|
||||
}
|
||||
40% {
|
||||
background-color: #FFC000;
|
||||
}
|
||||
60% {
|
||||
background-color: #CC0033;
|
||||
}
|
||||
80% {
|
||||
background-color: #d208f4;
|
||||
}
|
||||
}
|
|
@ -5031,6 +5031,13 @@ $(document.body).on('click', '[data-popover-popup]', function (e) {
|
|||
popoverPopupNew(this, url);
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
var d = new Date()
|
||||
if (d.getDate() == 1 && d.getMonth() == 3) {
|
||||
$("a:contains('tlp:unclear')").css('background-color', '#ffffff').addClass('special-tag')
|
||||
}
|
||||
});
|
||||
|
||||
function destroyPopovers($element) {
|
||||
$element.find('[data-dismissid]').each(function() {
|
||||
$(this).popover('destroy');
|
||||
|
|
Loading…
Reference in New Issue