Experimental class-based conversion now working for TXT and HTML.
[librarian.git] / src / librarian / elements / figures / animacja.py
diff --git a/src/librarian/elements/figures/animacja.py b/src/librarian/elements/figures/animacja.py
new file mode 100644 (file)
index 0000000..e98fa88
--- /dev/null
@@ -0,0 +1,12 @@
+from ..base import WLElement
+
+
+class Animacja(WLElement):
+    HTML_TAG = 'div'
+    HTML_CLASS = "animacja cycle-slideshow"
+    HTML_ATTR = {
+        "data-cycle-pause-on-hover": "true",
+        "data-cycle-next": "> img",
+        "data-cycle-fx": "fadeout",
+        "data-cycle-paused": "true",
+    }