mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-21 13:52:30 +02:00
Add border for card select
This commit is contained in:
@@ -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 () {
|
||||||
|
@@ -119,6 +119,9 @@ footer {
|
|||||||
margin-left: .5rem;
|
margin-left: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selected-card{
|
||||||
|
border: 5px solid #ffaa31;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user