diff --git a/projects/plugins/jetpack/_inc/client/at-a-glance/style.scss b/projects/plugins/jetpack/_inc/client/at-a-glance/style.scss index 409cef273ba5..9f6cc6911cb5 100644 --- a/projects/plugins/jetpack/_inc/client/at-a-glance/style.scss +++ b/projects/plugins/jetpack/_inc/client/at-a-glance/style.scss @@ -431,15 +431,6 @@ .dops-card.is-compact { flex-grow: 0; - - a.dops-notice__action { - margin-left: 0; - padding-left: 0; - - @include breakpoints.breakpoint( "<480px" ) { - text-transform: none; - } - } } } diff --git a/projects/plugins/jetpack/_inc/client/components/dash-item/style.scss b/projects/plugins/jetpack/_inc/client/components/dash-item/style.scss index 26db1a08b4c5..1d0bec23c7d5 100644 --- a/projects/plugins/jetpack/_inc/client/components/dash-item/style.scss +++ b/projects/plugins/jetpack/_inc/client/components/dash-item/style.scss @@ -24,11 +24,6 @@ a:hover { text-decoration: underline; } - - .dops-notice { - margin-top: rem.convert(-1px); - margin-bottom: rem.convert(-1px); - } } } @@ -125,14 +120,6 @@ .dops-button { font-style: normal; } - - &.is-working, - &.is-premium-inactive { - - .dops-section-header__actions { - color: colors.$gray-text-min; - } - } } // conditional styles for content when items are inactive diff --git a/projects/plugins/jetpack/_inc/client/components/notice/style.scss b/projects/plugins/jetpack/_inc/client/components/notice/style.scss index bbee6552a659..8cc698d7e881 100644 --- a/projects/plugins/jetpack/_inc/client/components/notice/style.scss +++ b/projects/plugins/jetpack/_inc/client/components/notice/style.scss @@ -113,10 +113,6 @@ .dops-notice__text { - a.dops-notice__text-no-underline { - text-decoration: none; - } - a, a:visited { text-decoration: underline; @@ -148,11 +144,6 @@ } } -.dops-notice__button { - cursor: pointer; - margin-left: 0.428em; -} - // "X" for dismissing a notice .dops-notice__dismiss { flex-shrink: 0; diff --git a/projects/plugins/jetpack/_inc/client/pro-status/index.jsx b/projects/plugins/jetpack/_inc/client/pro-status/index.jsx index 3dba0f998eaa..b141868cc789 100644 --- a/projects/plugins/jetpack/_inc/client/pro-status/index.jsx +++ b/projects/plugins/jetpack/_inc/client/pro-status/index.jsx @@ -151,11 +151,7 @@ class ProStatus extends Component { <> { message } { action && ( - + { action } ) } diff --git a/projects/plugins/jetpack/_inc/client/settings/style.scss b/projects/plugins/jetpack/_inc/client/settings/style.scss index 5aad1da719d6..d7b40d40e2e5 100644 --- a/projects/plugins/jetpack/_inc/client/settings/style.scss +++ b/projects/plugins/jetpack/_inc/client/settings/style.scss @@ -18,20 +18,12 @@ a:visited { color: var(--jp-black-80); text-decoration: underline; - - &.dops-notice__action { - color: var(--jp-gray-20); - } } a:hover, a:active { color: var(--jp-black); text-decoration-thickness: var(--jp-underline-thickness); - - &.dops-notice__action { - color: var(--jp-white); - } } a.dops-banner, diff --git a/projects/plugins/jetpack/_inc/client/traffic/style.scss b/projects/plugins/jetpack/_inc/client/traffic/style.scss index d5999adc3a24..e75d17eacb04 100644 --- a/projects/plugins/jetpack/_inc/client/traffic/style.scss +++ b/projects/plugins/jetpack/_inc/client/traffic/style.scss @@ -256,44 +256,6 @@ $twitter-pofile-image-padding: 17px; top: 1em; } -.jp-stats-odyssey-disabled-notice { - - @include breakpoints.breakpoint("<480px") { - - a.dops-notice__action { - white-space: initial; - } - - a.dops-notice__action .gridicon { - display: none; - } - } - - @include breakpoints.breakpoint(">480px") { - width: calc(100% - 26px); - } -} - -.jp-stats-odyssey-toggle { - margin-bottom: 20px; -} - -.jp-stats-odyssey-toggle > .components-base-control { - margin-bottom: 0; -} - .jp-stats-form-fieldset { margin-bottom: 20px; } - -.jp-stats-odyssey-badge { - color: #008710; - background-color: #d0e6b8; - border-radius: 3px; - font-size: 10px; - line-height: 18px; - margin-left: 8px; - padding: 0 6px; - text-transform: uppercase; - display: inline-block; -} diff --git a/projects/plugins/jetpack/changelog/update-prune-dead-dops-notice-css b/projects/plugins/jetpack/changelog/update-prune-dead-dops-notice-css new file mode 100644 index 000000000000..4dea94312b66 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-prune-dead-dops-notice-css @@ -0,0 +1,3 @@ +Significance: patch +Type: other +Comment: Remove CSS rules left dead by the notice migration and the Legacy Stats removal