/** * Sphinx togglebutton * * The rules in this style sheet are meant to tweak the * [sphinx-togglebutton](https://sphinx-togglebutton.readthedocs.io/en/latest/index.html) * extension so that it matches the look and feel of this theme. */ .bd-content { @mixin chevron-down { .toggle-chevron-right { transform: rotate(90deg); // point chevron down transition: none; // match non-animated behavior of other chevrons on site } } @mixin chevron-up { .toggle-chevron-right { transform: rotate(-90deg); // point chevron up transition: none; // match non-animated behavior of other chevrons on site } } // Apply this mixin to the element that will be hovered. These styles are // intended to match what sphinx-design does for its dropdown admonitions. @mixin icon-hover-effects { &:hover .tb-icon { opacity: 1; scale: 1.1; } .tb-icon { opacity: 0.6; } } // Collapsible admonition, implemented as
+