summaryrefslogtreecommitdiff
path: root/tests/gold
diff options
context:
space:
mode:
authorSeptatrix <24257556+Septatrix@users.noreply.github.com>2021-03-27 13:55:36 +0100
committerNed Batchelder <ned@nedbatchelder.com>2021-10-23 08:15:29 -0400
commit9a1954a224c7c0f578513d8f4ca5f821fcf2cf5a (patch)
tree7425ab8502f25930ed54463dbce1e7db7a821e8c /tests/gold
parent5da82cc579a69b5a53f9c15dfce28e37917d1579 (diff)
downloadpython-coveragepy-git-9a1954a224c7c0f578513d8f4ca5f821fcf2cf5a.tar.gz
refactor(html): remove all uses of jQuery, only vanilla JS now
This is squashed from pull request #1248
Diffstat (limited to 'tests/gold')
-rw-r--r--tests/gold/html/styled/style.css20
1 files changed, 12 insertions, 8 deletions
diff --git a/tests/gold/html/styled/style.css b/tests/gold/html/styled/style.css
index 793f0bd2..9cbe5fad 100644
--- a/tests/gold/html/styled/style.css
+++ b/tests/gold/html/styled/style.css
@@ -114,25 +114,29 @@ header button.par.show_par { background: #ffa; border: 2px solid #bbbb00; margin
@media (prefers-color-scheme: dark) { header button.par.show_par { background: #650; } }
-.help_panel, #source p .annotate.long { display: none; position: absolute; z-index: 999; background: #ffffcc; border: 1px solid #888; border-radius: .2em; color: #333; padding: .25em .5em; }
+#help_panel, #source p .annotate.long { display: none; position: absolute; z-index: 999; background: #ffffcc; border: 1px solid #888; border-radius: .2em; color: #333; padding: .25em .5em; }
#source p .annotate.long { white-space: normal; float: right; top: 1.75em; right: 1em; height: auto; }
-#keyboard_icon { float: right; margin: 5px; cursor: pointer; }
+#help_panel_wrapper { float: right; position: relative; }
-.help_panel { padding: .75em; border: 1px solid #883; }
+#keyboard_icon { margin: 5px; }
-.help_panel .legend { font-style: italic; margin-bottom: 1em; }
+#help_panel_state { display: none; }
-.indexfile .help_panel { width: 25em; }
+#help_panel { top: 25px; right: 0; padding: .75em; border: 1px solid #883; }
-.pyfile .help_panel { width: 18em; }
+#help_panel .legend { font-style: italic; margin-bottom: 1em; }
-#panel_icon { float: right; cursor: pointer; }
+.indexfile #help_panel { width: 25em; }
+
+.pyfile #help_panel { width: 18em; }
+
+#help_panel_state:checked ~ #help_panel { display: block; }
.keyhelp { margin-top: .75em; }
-.keyhelp .key { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em .35em; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: bold; background: #eee; }
+kbd { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em .35em; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: bold; background: #eee; border-radius: 3px; }
#source { padding: 1em 0 1em 3.5rem; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; }