Merge pull request #5491 from sboursen-scinote/sb_SCI-8509

Light blue text in the changes colour on hover [SCI-8509]
This commit is contained in:
artoscinote 2023-05-30 16:08:42 +02:00 committed by GitHub
commit 8f23d0f881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View file

@ -2,8 +2,22 @@
.menu-item:not(.active):hover {
background-color: var(--sn-super-light-grey);
a {
a:not(.no-hover) {
color: var(--sn-blue);
}
a.no-hover {
color: var(--sn-science-blue-hover);
}
}
.menu-item.active:hover {
a:not(.no-hover) {
color: var(--sn-blue);
}
a.no-hover {
color: var(--sn-science-blue-hover);
}
}
}

View file

@ -14,7 +14,8 @@
<a :href="item.url"
class="text-ellipsis overflow-hidden hover:no-underline pr-3"
:class="{
'text-sn-science-blue-hover': (!item.archived && archived)
'text-sn-science-blue-hover': (!item.archived && archived),
'no-hover': (!item.archived && archived)
}">
<template v-if="item.archived">(A)</template>
{{ item.name }}