0
0
Fork 0

Add preview of followers removed in domain block modal in web UI (#32032)

This commit is contained in:
Eugen Rochko 2024-09-25 20:13:36 +02:00 committed by GitHub
parent 28c4eca0af
commit 3426ea2912
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 274 additions and 108 deletions

View file

@ -81,6 +81,18 @@
outline: $ui-button-icon-focus-outline;
}
&--dangerous {
background-color: var(--error-background-color);
color: var(--on-error-color);
&:active,
&:focus,
&:hover {
background-color: var(--error-active-background-color);
transition: none;
}
}
&--destructive {
&:active,
&:focus,
@ -6237,6 +6249,14 @@ a.status-card {
display: flex;
gap: 16px;
align-items: center;
strong {
font-weight: 700;
}
}
&--deemphasized {
color: $secondary-text-color;
}
&__icon {

View file

@ -111,4 +111,7 @@ $font-monospace: 'mastodon-font-monospace' !default;
--surface-variant-active-background-color: #{lighten($ui-base-color, 4%)};
--on-surface-color: #{transparentize($ui-base-color, 0.5)};
--avatar-border-radius: 8px;
--error-background-color: #{darken($error-red, 16%)};
--error-active-background-color: #{darken($error-red, 12%)};
--on-error-color: #fff;
}