Skip to content

Commit

Permalink
report(redesign): changes to whitespace and colors (#8531)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and brendankenny committed Apr 23, 2019
1 parent 68add80 commit 6fc2ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lighthouse-core/report/html/report-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,6 @@
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: var(--section-indent) calc(var(--section-indent) / 2) calc(var(--section-indent) * 2);
}
.lh-scores-header__solo {
padding: 0;
Expand All @@ -852,7 +851,6 @@
margin: 12px auto 0 auto;
border: 1px solid var(--color-black-200);
border-radius: 20px;
color: var(--medium-75-gray);
padding: 8px 8px;
}

Expand Down
4 changes: 3 additions & 1 deletion lighthouse-core/report/html/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,16 @@
.lh-gauge__label {
font-size: var(--score-title-font-size);
line-height: var(--score-title-line-height);
margin: calc(0.5 * var(--score-title-line-height));
margin-bottom: calc(0.5 * var(--score-title-line-height));
text-align: center;
color: black;
}

/* TODO(#8185) use more BEM (.lh-gauge__label--big) instead of relying on descendent selector */
.lh-category .lh-gauge__label {
--score-title-font-size: var(--score-title-font-size-big);
--score-title-line-height: var(--score-title-line-height-big);
margin: calc(0.5 * var(--score-title-line-height));
}

</style>
Expand Down

0 comments on commit 6fc2ac2

Please sign in to comment.