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 15295de commit 912286c
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 912286c

Please sign in to comment.