improve note header design

This commit is contained in:
NoriDev 2023-05-29 21:17:50 +09:00
parent a4b681a9c0
commit 856576ecfd
5 changed files with 15 additions and 1 deletions

View file

@ -593,6 +593,12 @@ function showReactions(): void {
.renoteUserName { .renoteUserName {
font-weight: bold; font-weight: bold;
text-decoration: none;
&:hover {
color: var(--renoteHover);
text-decoration: none;
}
} }
.renoteInfo { .renoteInfo {

View file

@ -536,6 +536,11 @@ if (appearNote.replyId) {
.noteHeaderName { .noteHeaderName {
font-weight: bold; font-weight: bold;
line-height: 1.3; line-height: 1.3;
&:hover {
color: var(--nameHover);
text-decoration: none;
}
} }
.isBot { .isBot {

View file

@ -55,7 +55,8 @@ defineProps<{
text-overflow: ellipsis; text-overflow: ellipsis;
&:hover { &:hover {
text-decoration: underline; color: var(--nameHover);
text-decoration: none;
} }
} }

View file

@ -45,6 +45,7 @@
mentionMe: '@mention', mentionMe: '@mention',
renote: '@accent', renote: '@accent',
renoteHover: ':lighten<5<@renote', renoteHover: ':lighten<5<@renote',
nameHover: ':darken<5<@fg',
modalBg: 'rgba(0, 0, 0, 0.5)', modalBg: 'rgba(0, 0, 0, 0.5)',
scrollbarHandle: 'rgba(255, 255, 255, 0.2)', scrollbarHandle: 'rgba(255, 255, 255, 0.2)',
scrollbarHandleHover: 'rgba(255, 255, 255, 0.4)', scrollbarHandleHover: 'rgba(255, 255, 255, 0.4)',

View file

@ -45,6 +45,7 @@
mentionMe: '@mention', mentionMe: '@mention',
renote: '#229e82', renote: '#229e82',
renoteHover: ':lighten<5<@renote', renoteHover: ':lighten<5<@renote',
nameHover: ':lighten<5<@fg',
modalBg: 'rgba(0, 0, 0, 0.3)', modalBg: 'rgba(0, 0, 0, 0.3)',
scrollbarHandle: 'rgba(0, 0, 0, 0.2)', scrollbarHandle: 'rgba(0, 0, 0, 0.2)',
scrollbarHandleHover: 'rgba(0, 0, 0, 0.4)', scrollbarHandleHover: 'rgba(0, 0, 0, 0.4)',