From 933ee420c311b04243d1ce20afe7a544889a57bc Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 11 Jun 2025 15:17:07 +0200 Subject: [PATCH] Remove some unused CSS classes (#35012) --- .../styles/mastodon-light/diff.scss | 37 ------------- app/javascript/styles/mastodon/admin.scss | 10 ---- .../styles/mastodon/components.scss | 55 ------------------- 3 files changed, 102 deletions(-) diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss index c6e3f42799..ebaac66a5e 100644 --- a/app/javascript/styles/mastodon-light/diff.scss +++ b/app/javascript/styles/mastodon-light/diff.scss @@ -283,36 +283,6 @@ } } -.activity-stream { - border: 1px solid var(--background-border-color); - - &--under-tabs { - border-top: 0; - } - - .entry { - background: $white; - - .detailed-status.light, - .more.light, - .status.light { - border-bottom-color: lighten($ui-base-color, 8%); - } - } - - .status.light { - .status__content { - color: $primary-text-color; - } - - .display-name { - strong { - color: $primary-text-color; - } - } - } -} - .accounts-grid { .account-grid-card { .controls { @@ -416,13 +386,6 @@ } } -.mute-modal select { - border: 1px solid var(--background-border-color); - background: $simple-background-color - url("data:image/svg+xml;utf8,") - no-repeat right 8px center / auto 16px; -} - .status__wrapper-direct { background-color: rgba($ui-highlight-color, 0.1); diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index ef57fbbd71..add030626d 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/admin.scss @@ -585,16 +585,6 @@ body, .account-status { display: flex; margin-bottom: 10px; - - .activity-stream { - flex: 2 0 0; - margin-inline-end: 20px; - max-width: calc(100% - 60px); - - .entry { - border-radius: 4px; - } - } } .report-status__actions, diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 4eeef5c8f7..8e4c721ed7 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1458,43 +1458,6 @@ body > [data-popper-placement] { margin-top: 16px; } - &.light { - .status__relative-time, - .status__visibility-icon { - color: $light-text-color; - } - - .status__display-name { - color: $inverted-text-color; - } - - .display-name { - color: $light-text-color; - - strong { - color: $inverted-text-color; - } - } - - .status__content { - color: $inverted-text-color; - - a { - color: $highlight-text-color; - } - - &__spoiler-link { - color: $primary-text-color; - background: $ui-primary-color; - - &:hover, - &:focus { - background: lighten($ui-primary-color, 8%); - } - } - } - } - &--is-quote { border: none; } @@ -6710,24 +6673,6 @@ a.status-card { } } } - - select { - appearance: none; - box-sizing: border-box; - font-size: 14px; - color: $inverted-text-color; - display: inline-block; - width: auto; - outline: 0; - font-family: inherit; - background: $simple-background-color - url("data:image/svg+xml;utf8,") - no-repeat right 8px center / auto 16px; - border: 1px solid darken($simple-background-color, 14%); - border-radius: 4px; - padding: 6px 10px; - padding-inline-end: 30px; - } } .report-modal__target {