1
0
Fork 0
mirror of synced 2024-06-29 11:30:46 +12:00

Add border for card select

This commit is contained in:
jdcaballerov 2020-12-14 16:00:59 -05:00
parent 7b66e1514d
commit c29ce7e7f0
2 changed files with 11 additions and 1 deletions

View file

@ -227,6 +227,13 @@
selectSnapshotGridView(); selectSnapshotGridView();
}); });
$('input:checkbox').change(function(){
if($(this).is(':checked'))
$(this).parent().parent().parent().parent().addClass('selected-card');
else
$(this).parent().parent().parent().parent().removeClass('selected-card')
});
}); });
}; };
$(function () { $(function () {

View file

@ -119,6 +119,9 @@ footer {
margin-left: .5rem; margin-left: .5rem;
} }
.selected-card{
border: 5px solid #ffaa31;
}
</style> </style>