comparison templates/default/_browser/__init__.py @ 8:dc880664a8ec

modernisation of the theme using Bulma
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:51:12 +0200
parents
children
comparison
equal deleted inserted replaced
7:b5fc67c97c50 8:dc880664a8ec
1 from browser import bind, document
2
3
4 @bind("#main_menu_burger", "click")
5 def burger_click(ev):
6 document["main_menu"].classList.toggle('is-active')
7 document["main_menu_burger"].classList.toggle('is-active')