Skip to content

Commit

Permalink
make sphinx-togglebutton selector more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed Oct 6, 2024
1 parent 0387218 commit 4fd3533
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
* Sphinx togglebutton
*
* https://sphinx-togglebutton.readthedocs.io/en/latest/index.html
*/

.bd-content {
Expand Down Expand Up @@ -30,8 +32,8 @@
}
}

// Admonition toggles
.admonition {
// Collapsible admonition, implemented as <div> + <button>
.dropdown.admonition.toggle {
.admonition-title {
@include icon-hover-effects;

Expand Down Expand Up @@ -94,7 +96,7 @@
}
}

// Details buttons
// Collapsible anything, implemented as <details> + <summary>
details.toggle-details {
// Over-ride border color to re-use our primary color
summary {
Expand Down

0 comments on commit 4fd3533

Please sign in to comment.