diff --git a/resources/report/css/overrides.css b/resources/report/css/overrides.css index 522be23d..73a27053 100644 --- a/resources/report/css/overrides.css +++ b/resources/report/css/overrides.css @@ -40,10 +40,11 @@ html /deep/ paper-item[disabled] { /* These overrides change the colour of the tab ink effect and their underline. */ html /deep/ paper-tabs::shadow #selectionBar { - background-color: #4285f4; + background-color: white; + height: 4px; } html /deep/ paper-tab::shadow #ink { - color: #4285f4; + color: #f1f1f1; } /* This override change the positioning of the progress dialog to adapt to content changes. */ diff --git a/resources/report/css/style.css b/resources/report/css/style.css index 77e1a8be..6dd5683f 100644 --- a/resources/report/css/style.css +++ b/resources/report/css/style.css @@ -38,6 +38,10 @@ body { #mainToolbar paper-dropdown { color: black; } +#sidebarTabs { + width: calc(33% - 68px); + height: 64px; +} div[drawer] > core-tooltip { margin: 0 12px; @@ -105,6 +109,9 @@ section h1 { font-weight: normal; font-size: 1.2em; } +#filters { + padding: 0.9em 1em; +} #filters div { padding:0.2em 0.5em; } @@ -218,14 +225,11 @@ paper-progress { /* This animates the drawer toggle appearing in narrow view. */ #drawerToggle { - opacity: 0; - visibility: hidden; - transition: opacity 0.5s; + display: none; } @media screen and (max-width: 640px) { #drawerToggle { - opacity: 1; - visibility: visible; + display: block; } } #settingsDialog > paper-checkbox { diff --git a/resources/report/js/script.js b/resources/report/js/script.js index 042ea96f..6cdc904d 100644 --- a/resources/report/js/script.js +++ b/resources/report/js/script.js @@ -752,9 +752,11 @@ function areSettingsValid() { return true; } function switchSidebarTab(evt) { - evt.target.nextElementSibling.selected = evt.target.selected; - if (evt.target.selected == 0) { - document.getElementById('cardsNav').lastElementChild.updateSize(); + if (evt.detail.isSelected) { + document.getElementById(evt.target.selected).parentElement.selected = evt.target.selected; + if (evt.target.selected == 'cardsNav') { + document.getElementById('cardsNav').lastElementChild.updateSize(); + } } } diff --git a/resources/report/report.html b/resources/report/report.html index 7333670e..6d0c96a1 100644 --- a/resources/report/report.html +++ b/resources/report/report.html @@ -88,6 +88,10 @@ + + Plugins + Filters + @@ -103,11 +107,7 @@
- - Plugins - Filters - - +
Summary