improve note header design
This commit is contained in:
parent
a4b681a9c0
commit
856576ecfd
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -55,7 +55,8 @@ defineProps<{
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
color: var(--nameHover);
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)',
|
||||||
|
|
|
@ -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)',
|
||||||
|
|
Loading…
Reference in a new issue