From 34c12c5d77b3bcd8014dcac8181befd5d5b115e7 Mon Sep 17 00:00:00 2001 From: Asvin Balloo Date: Wed, 1 Jun 2022 21:06:06 +0400 Subject: [PATCH] Remove unused CSS. --- .../global/_googlesitekit-data-block.scss | 60 ------------------- .../global/_googlesitekit-table.scss | 1 - 2 files changed, 61 deletions(-) diff --git a/assets/sass/components/global/_googlesitekit-data-block.scss b/assets/sass/components/global/_googlesitekit-data-block.scss index 55a2bc3ca14..dcbebf2f470 100644 --- a/assets/sass/components/global/_googlesitekit-data-block.scss +++ b/assets/sass/components/global/_googlesitekit-data-block.scss @@ -31,16 +31,6 @@ padding-top: 12px; } - .googlesitekit-dashboard-adsense-stats & { - align-items: flex-end; - display: flex; - - @media (max-width: $bp-mobileOnly ) { - align-items: normal; - flex-direction: column; - } - } - &--button { cursor: pointer; display: flex; @@ -111,27 +101,6 @@ } } - .googlesitekit-data-block__title-datapoint-wrapper { - - .googlesitekit-dashboard-adsense-stats & { - flex: 0 0 auto; - } - } - - .googlesitekit-data-block__change-source-wrapper { - - .googlesitekit-dashboard-adsense-stats & { - flex: 0 0 auto; - margin-bottom: 2px; - - @media (max-width: $bp-mobileOnly ) { - align-items: flex-end; - display: flex; - justify-content: space-between; - } - } - } - .googlesitekit-data-block__title { color: $c-primary; font-weight: $fw-primary-normal; @@ -143,11 +112,6 @@ margin-bottom: 5px; } - .googlesitekit-dashboard-adsense-stats & { - font-size: 0.75rem; - margin-bottom: 0; - } - #dashboard-widgets .googlesitekit-wp-dashboard & { font-size: 0.75rem; } @@ -177,10 +141,6 @@ .googlesitekit-wp-dashboard & { font-size: 2.125rem; } - - .googlesitekit-dashboard-adsense-stats & { - font-size: 2.25rem; - } } .googlesitekit-data-block__change { @@ -200,10 +160,6 @@ .googlesitekit-wp-dashboard & { margin-top: 10px; } - - .googlesitekit-dashboard-adsense-stats & { - margin-top: 0; - } } .googlesitekit-data-block__change--no-change { @@ -218,22 +174,6 @@ .googlesitekit-adminbar & { display: none; } - - .googlesitekit-dashboard-adsense-stats & { - flex: 1 1 100%; - margin: 0 0 5px 0; - max-width: initial; - min-width: 10px; - padding: 0 ( $grid-gap-phone / 2 ); - - @media (min-width: $bp-desktop) { - padding: 0 ( $grid-gap-desktop / 2 ); - } - - @media (min-width: $bp-xlarge) { - padding: 0 $grid-gap-desktop; - } - } } /* stylelint-disable no-descending-specificity */ diff --git a/assets/sass/components/global/_googlesitekit-table.scss b/assets/sass/components/global/_googlesitekit-table.scss index 07ab72a0302..580287aa975 100644 --- a/assets/sass/components/global/_googlesitekit-table.scss +++ b/assets/sass/components/global/_googlesitekit-table.scss @@ -26,7 +26,6 @@ padding: $grid-gap-desktop; } - .googlesitekit-details-widget &, .googlesitekit-alltraffic-widget &, .googlesitekit-wp-dashboard & { padding: 0;