exclude score from hover effect

master
Aevann 2024-10-26 19:01:10 +03:00
parent ed2a28552e
commit 2472cf4b18
2 changed files with 3 additions and 3 deletions

View File

@ -7812,14 +7812,14 @@ p:empty + p { /* poll margin */
width: 285px;
}
.btn:hover, .btn:active,
.btn:not(.score-btn):hover, .btn:not(.score-btn):active,
.post-actions > .list-inline > .list-inline-item:focus,
.post-actions > .list-inline > .list-inline-item:hover,
.post-actions > .list-inline > .list-inline-item:active,
.sidebar-link:focus, .sidebar-link:hover, .sidebar-link:active,
.mx-1.nav-item:focus, .mx-1.nav-item:hover, .mx-1.nav-item:active,
.btn:hover *, .btn:active *,
.btn:not(.score-btn):hover *, .btn:not(.score-btn):active *,
.post-actions > .list-inline > .list-inline-item:focus *,
.post-actions > .list-inline > .list-inline-item:hover *,
.post-actions > .list-inline > .list-inline-item:active *,

View File

@ -389,7 +389,7 @@
<a type="button" tabindex="0" class="comment-{{c.id}}-up btn caction nobackground py-0 m-0 px-3 arrow-up" href="/login?redirect={{request.full_path | urlencode}}"></a>
{% endif %}
<span class="btn caction nobackground p-0 m-0" style="cursor: default">
<span class="btn caction nobackground p-0 m-0 score-btn" style="cursor: default">
<span data-bs-toggle="tooltip" data-bs-placement="top" title="+{{ups}} | -{{downs}}" class="comment-score-{{c.id}} score comment-score-{{c.id}} {% if voted == 1 %}score-up{% elif voted==-1 %}score-down{% endif %} {% if c.controversial %}controversial{% endif %}">{{score}}</span>
</span>