0
0
Fork 0

Change server rules to be collapsible (#33039)

This commit is contained in:
Eugen Rochko 2024-11-29 17:33:06 +01:00 committed by GitHub
parent 4635ce2926
commit 986a3676d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 51 additions and 131 deletions

View file

@ -1077,26 +1077,6 @@ body > [data-popper-placement] {
color: $highlight-text-color;
}
.status__content__spoiler-link {
background: $action-button-color;
&:hover,
&:focus {
background: lighten($action-button-color, 7%);
text-decoration: none;
}
&::-moz-focus-inner {
border: 0;
}
&::-moz-focus-inner,
&:focus,
&:active {
outline: 0 !important;
}
}
.status__content__text {
display: none;
@ -1354,21 +1334,6 @@ body > [data-popper-placement] {
color: $dark-text-color;
}
.status__content__spoiler-link {
display: inline-block;
border-radius: 2px;
background: transparent;
border: 0;
color: $inverted-text-color;
font-weight: 700;
font-size: 11px;
padding: 0 6px;
text-transform: uppercase;
line-height: 20px;
cursor: pointer;
vertical-align: top;
}
.status__wrapper--filtered {
color: $dark-text-color;
border: 0;
@ -1736,11 +1701,6 @@ body > [data-popper-placement] {
height: 24px;
margin: -1px 0 0;
}
.status__content__spoiler-link {
line-height: 24px;
margin: -1px 0 0;
}
}
.media-gallery,
@ -2288,17 +2248,6 @@ a.account__display-name {
.status__avatar {
opacity: 0.5;
}
a.status__content__spoiler-link {
background: $ui-base-lighter-color;
color: $inverted-text-color;
&:hover,
&:focus {
background: lighten($ui-base-lighter-color, 7%);
text-decoration: none;
}
}
}
.notification__report {
@ -6310,15 +6259,6 @@ a.status-card {
color: $primary-text-color;
}
.status__content__spoiler-link {
color: $primary-text-color;
background: $ui-primary-color;
&:hover {
background: lighten($ui-primary-color, 8%);
}
}
.dialog-option {
align-items: center;
gap: 12px;