[DESIGN] fix doc toc dropdown chevron rotation

This commit is contained in:
Elisabeth Dickinson 2021-03-25 15:51:30 +01:00
parent 1457ce0334
commit 1808c1390e

View File

@ -130,21 +130,6 @@ header.o_main_header{
} }
ul { ul {
li.o_active_toc_entry{
&:not(.toctree-l1) > .o_toc_entry_wrapper {
i[class^="i-"]:not(.collapsed) {
@include transform(rotate(90deg));
}
}
> .o_toc_entry_wrapper {
i[class^="i-"]:not(.collapsed), a.reference {
font-weight: $fw_bold;
opacity: 1;
}
}
}
.o_deepest_active_toc_entry { .o_deepest_active_toc_entry {
background-color: $gray-lightest; background-color: $gray-lightest;
} }
@ -232,7 +217,12 @@ header.o_main_header{
} }
} }
} }
.o_active_toc_entry { &.o_active_toc_entry {
&:not(.toctree-l1) > .o_toc_entry_wrapper {
i[class^="i-"]:not(.collapsed) {
@include transform(rotate(90deg));
}
}
> a , > .o_toc_entry_wrapper a { > a , > .o_toc_entry_wrapper a {
font-weight: $fw_bold; font-weight: $fw_bold;
opacity: 1; opacity: 1;
@ -283,10 +273,6 @@ header.o_main_header{
padding-left: 0; padding-left: 0;
} }
} }
.o_active_toc_entry > a {
font-weight: $fw_bold;
}
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------