From 6fc2ac2c7f39769c79cdb4de8ca2f384a05d1d70 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Tue, 23 Apr 2019 16:57:11 -0700 Subject: [PATCH] report(redesign): changes to whitespace and colors (#8531) --- lighthouse-core/report/html/report-styles.css | 2 -- lighthouse-core/report/html/templates.html | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 57d1fc61c457..ea9be076bc74 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -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; @@ -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; } diff --git a/lighthouse-core/report/html/templates.html b/lighthouse-core/report/html/templates.html index fbe6d58f6843..1b16ab052fe0 100644 --- a/lighthouse-core/report/html/templates.html +++ b/lighthouse-core/report/html/templates.html @@ -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)); }