diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2022-06-17 16:02:17 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-06-17 16:30:18 -0500 |
| commit | 2bcd6df0fd80205a03aa4787ddf411e9632c4fed (patch) | |
| tree | c8b2b43a6b7a97124f0343004a87ef46975f7305 /docs/_static | |
| parent | 795c785eae7dbd04419bec5a0d2aec278570a948 (diff) | |
| download | requests-cache-2bcd6df0fd80205a03aa4787ddf411e9632c4fed.tar.gz | |
Use sphinx-design dropdown instead of custom CSS/JS
Diffstat (limited to 'docs/_static')
| -rw-r--r-- | docs/_static/collapsible_container.css | 26 | ||||
| -rw-r--r-- | docs/_static/collapsible_container.js | 10 |
2 files changed, 0 insertions, 36 deletions
diff --git a/docs/_static/collapsible_container.css b/docs/_static/collapsible_container.css deleted file mode 100644 index bcad629..0000000 --- a/docs/_static/collapsible_container.css +++ /dev/null @@ -1,26 +0,0 @@ -/* Taken from: https://github.com/plone/training/blob/master/_static/custom.css */ - -.toggle { - /* background: none repeat scroll 0 0 #e7f2fa; */ - padding: 12px; - line-height: 24px; - margin-bottom: 24px; -} - -.toggle .admonition-title { - display: block; - clear: both; - cursor: pointer; -} - -.toggle .admonition-title:after { - content: " ▶"; -} - -.toggle .admonition-title.open:after { - content: " ▼"; -} - -.toggle p:last-child { - margin-bottom: 0; -} diff --git a/docs/_static/collapsible_container.js b/docs/_static/collapsible_container.js deleted file mode 100644 index 75042d6..0000000 --- a/docs/_static/collapsible_container.js +++ /dev/null @@ -1,10 +0,0 @@ -// Taken from: https://github.com/plone/training/blob/master/_templates/page.html - -$(document).ready(function() { - $(".toggle > *").hide(); - $(".toggle .admonition-title").show(); - $(".toggle .admonition-title").click(function() { - $(this).parent().children().not(".admonition-title").toggle(400); - $(this).parent().children(".admonition-title").toggleClass("open"); - }) -}); |
