mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Animate activation of covers
This commit is contained in:
parent
61b4f75526
commit
49a90175a9
@ -19,6 +19,7 @@ class BooksView:
|
||||
self.metadata_map = interface_data['metadata']
|
||||
self.container_id = 'books-view-' + bv_counter
|
||||
style = build_rule('#' + self.container_id + ' .cover_grid img:hover', transform='scale(1.2)')
|
||||
style += build_rule('#' + self.container_id + ' .cover_grid img:active', transform='scale(0.8)')
|
||||
div = E.div(
|
||||
id=self.container_id, style='display:block',
|
||||
E.style(style),
|
||||
|
Loading…
x
Reference in New Issue
Block a user