-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update badges and mention links colors (#14071)
* Update color palette for badges and mention links * Update MentionsParser * Fix @ALL and @here click event * Remove mention link ticks from thread quotes * Patch reviewed issues
- Loading branch information
Showing
9 changed files
with
168 additions
and
69 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,27 +1,37 @@ | ||
.message .mention-link, | ||
.mention-link { | ||
padding: 0 6px 2px; | ||
|
||
transition: border-radius 0.3s; | ||
transition: opacity 0.3s, background-color 0.3s, color 0.3s; | ||
|
||
color: var(--mention-link-text-color) !important; | ||
color: var(--mention-link-text-color); | ||
|
||
border-radius: var(--mention-link-radius); | ||
|
||
background-color: var(--mention-link-background) !important; | ||
background-color: var(--mention-link-background); | ||
|
||
font-weight: 700; | ||
|
||
&:hover { | ||
border-radius: var(--border-radius); | ||
opacity: 0.6; | ||
color: var(--mention-link-text-color); | ||
} | ||
|
||
&--me { | ||
color: var(--mention-link-me-text-color) !important; | ||
background-color: var(--mention-link-me-background) !important; | ||
color: var(--mention-link-me-text-color); | ||
background-color: var(--mention-link-me-background); | ||
|
||
&:hover { | ||
color: var(--mention-link-me-text-color); | ||
} | ||
} | ||
|
||
&--group { | ||
color: var(--mention-link-group-text-color) !important; | ||
background-color: var(--mention-link-group-background) !important; | ||
color: var(--mention-link-group-text-color); | ||
background-color: var(--mention-link-group-background); | ||
|
||
&:hover { | ||
color: var(--mention-link-group-text-color); | ||
} | ||
} | ||
} |
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
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
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
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
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
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
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
Oops, something went wrong.