Commit fd199fb1 authored by Ivan Tyagov's avatar Ivan Tyagov

CSS fixes.

Allow to override and address every individual menu item.
parent 0ab491b9
......@@ -79,7 +79,7 @@
<tal:block tal:repeat="menu_item menu_item_list">\n
\n
<li tal:define="sub_item_list menu_item/subsection"\n
tal:attributes="class python:(sub_item_list and \'collapse-menu \' or \'\') + \'menu_item_%s\' % repeat[\'menu_item\'].index">\n
tal:attributes="class python:\'menu_item_%s\' % repeat[\'menu_item\'].index + \' \' + (sub_item_list and \'collapse-menu\' or \'\')">\n
<a tal:attributes="href menu_item/url" >\n
<tal:block tal:replace="menu_item/compact_translated_title | menu_item/translated_title">Menu</tal:block>\n
</a>\n
......
......@@ -1080,7 +1080,7 @@ table tbody tr td {\n
top:0;\n
padding-top:30px;\n
left:0;\n
width:205px;\n
width:auto;\n
opacity: <tal:block tal:replace="menu_opacity">0.80</tal:block>;\n
}\n
\n
......
1856
\ No newline at end of file
1857
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment