diff --git a/templates/home.html b/templates/home.html index 31dd6fc..64b7a41 100644 --- a/templates/home.html +++ b/templates/home.html @@ -68,9 +68,11 @@ } .results-text .badge-col { text-align: right; + position: relative; } - .results-text .badge-col img { + .results-text .badge-col .badge { margin-top: 10px; + cursor: pointer; } .menu-block.is-active { font-weight: bold; @@ -103,6 +105,26 @@ margin-top: 1em; font-weight: 600; } + #badge_dropdown { + position: absolute; + top: 32px; + right: 0; + width: 100%; + max-width: 400px; + padding: 10px; + border: 3px solid #dddddd; + background: white; + } + #badge_dropdown label { + clear: left; + float: left; + font-size: 0.8em; + } + #badge_dropdown input { + float: left; + font-size: 0.8em; + width: 100%; + } nav.results.stickytop { position:fixed; top:0; @@ -264,7 +286,7 @@

Report for {{repo}}

{{grade}}    {{gradeMessage grade}}    Found {{issues}} issues across {{files}} files

-
+
+