Skip to content

Commit

Permalink
Fix review history and action modal styling (mastodon#31864)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmstan authored Sep 12, 2024
1 parent 207c073 commit a269ff9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 30 deletions.
27 changes: 0 additions & 27 deletions app/javascript/styles/mastodon-light/diff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,33 +147,6 @@
border-top-color: lighten($ui-base-color, 4%);
}

// Change the background colors of modals
.actions-modal,
.boost-modal,
.confirmation-modal,
.mute-modal,
.block-modal,
.report-modal,
.report-dialog-modal,
.embed-modal,
.error-modal,
.onboarding-modal,
.compare-history-modal,
.report-modal__comment,
.report-modal__comment,
.announcements,
.picture-in-picture__header,
.picture-in-picture__footer,
.reactions-bar__item {
background: $white;
border: 1px solid var(--background-border-color);
}

.setting-text__wrapper,
.setting-text {
border: 1px solid var(--background-border-color);
}

.reactions-bar__item:hover,
.reactions-bar__item:focus,
.reactions-bar__item:active {
Expand Down
11 changes: 8 additions & 3 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6362,6 +6362,11 @@ a.status-card {
width: 480px;
position: relative;
flex-direction: column;

@media screen and (max-width: $no-columns-breakpoint) {
border-bottom: 0;
border-radius: 4px 4px 0 0;
}
}

.boost-modal__container {
Expand Down Expand Up @@ -6759,7 +6764,7 @@ a.status-card {

li:not(:empty) {
a {
color: $inverted-text-color;
color: $primary-text-color;
display: flex;
padding: 12px 16px;
font-size: 15px;
Expand Down Expand Up @@ -6839,7 +6844,7 @@ a.status-card {

.compare-history-modal {
.report-modal__target {
border-bottom: 1px solid $ui-secondary-color;
border-bottom: 1px solid var(--background-border-color);
}

&__container {
Expand All @@ -6849,7 +6854,7 @@ a.status-card {
}

.status__content {
color: $inverted-text-color;
color: $secondary-text-color;
font-size: 19px;
line-height: 24px;

Expand Down

0 comments on commit a269ff9

Please sign in to comment.