Add follow request banner on account header (#20785)
* Add requested_by to relationship maps * Display whether an account has requested to follow you on their profile
This commit is contained in:
parent
7a3c6bb888
commit
70415714f1
10 changed files with 127 additions and 4 deletions
|
@ -166,6 +166,30 @@
|
|||
&:disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&.button--confirmation {
|
||||
color: $valid-value-color;
|
||||
border-color: $valid-value-color;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: $valid-value-color;
|
||||
color: $primary-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.button--destructive {
|
||||
color: $error-value-color;
|
||||
border-color: $error-value-color;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: $error-value-color;
|
||||
color: $primary-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.button--block {
|
||||
|
@ -6722,7 +6746,8 @@ noscript {
|
|||
}
|
||||
}
|
||||
|
||||
.moved-account-banner {
|
||||
.moved-account-banner,
|
||||
.follow-request-banner {
|
||||
padding: 20px;
|
||||
background: lighten($ui-base-color, 4%);
|
||||
display: flex;
|
||||
|
@ -6745,6 +6770,7 @@ noscript {
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.detailed-status__display-name {
|
||||
|
@ -6752,6 +6778,10 @@ noscript {
|
|||
}
|
||||
}
|
||||
|
||||
.follow-request-banner .button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.column-inline-form {
|
||||
padding: 15px;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue