forked from mastodon/mastodon
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] support ultra-wide custom emojis for misskey compatibility
- Loading branch information
1 parent
dea5cda
commit 0b26bcc
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,48 @@ | ||
/**** visibility ****/ | ||
|
||
/* Change visibility icon color (Followers-only) */ | ||
.status .fa-lock:before { | ||
.status .fa-lock::before { | ||
color: $lock-color !important ; | ||
} | ||
.detailed-status .fa-lock:before { | ||
|
||
.detailed-status .fa-lock::before { | ||
color: $lock-color !important ; | ||
} | ||
|
||
/* Change visibility icon color (Direct) */ | ||
.status .fa-at::before { | ||
color: $at-color !important ; | ||
} | ||
|
||
.detailed-status .fa-at::before { | ||
color: $at-color !important ; | ||
} | ||
|
||
/* Disable visibility icon when it is public */ | ||
.status-public .fa-globe:before { | ||
.status-public .fa-globe::before { | ||
display: none !important ; | ||
} | ||
|
||
/* (Misskey compatibility) consider visibility of ultra-wide custom emojis */ | ||
.reply-indicator__content .status__content__text, | ||
.status__content .status__content__text .emojione { | ||
width: auto !important; | ||
} | ||
|
||
.detailed-status .status__content .emojione { | ||
width: auto !important; | ||
} | ||
|
||
/**** misc ****/ | ||
|
||
/* Change color of display-name who is belong to handon.club */ | ||
.status .handon-local-account { | ||
color: #ff6347 !important ; | ||
} | ||
|
||
/* Enlarge custom emojis */ | ||
p > .emojione[alt^=":"]:active { | ||
width: 7em; height: 7em; margin: 0; | ||
p > .emojione[alt^=':']:active { | ||
width: 7em; | ||
height: 7em; | ||
margin: 0; | ||
} |