[IMP] odoo_theme: design improvements

Revamp of the side menu;
Round all borders for consistency with the buttons;
Improve .sig-* and .o_code elements;
Improve sphinx-tabs hover effect;

task-3046383

closes odoo/documentation#3264

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Elisabeth Dickinson
2023-01-03 07:48:29 +00:00
committed by Antoine Vandevenne (anv)
parent 620e3c33ef
commit 3056c7b62d
5 changed files with 111 additions and 105 deletions
+1 -5
View File
@@ -59,15 +59,11 @@
deepestActiveTocEntries.push(lastTocEntry);
}
deepestActiveTocEntries.forEach(deepestTocEntry => {
let tocEntryToHighlight;
const childTocEntryList = deepestTocEntry.querySelector('ul');
if (childTocEntryList) { // The TOC entry has an associated TOC entry list.
tocEntryToHighlight = deepestTocEntry;
childTocEntryList.classList.add('show');
} else { // The TOC entry is at the last level of its branch.
tocEntryToHighlight = deepestTocEntry.parentElement.parentElement;
}
tocEntryToHighlight.classList.add('o_deepest_active_toc_entry');
deepestTocEntry.classList.add('o_deepest_active_toc_entry');
});
return deepestActiveTocEntries;
};