Replace all use of <a> + href='#' with proper buttons

This commit is contained in:
Shpuld Shpuldson 2020-11-24 12:32:42 +02:00
parent 14ce0c1c07
commit 7b99d98c55
60 changed files with 384 additions and 363 deletions

View file

@ -1,13 +1,17 @@
<template>
<div>
<FAIcon
<button
v-if="loggedIn"
class="ReplyButton fa-scale-110 fa-old-padding -interactive"
icon="reply"
:title="$t('tool_tip.reply')"
class="button-unstyled ReplyButton -padded -interactive"
:class="{'-active': replying}"
:title="$t('tool_tip.reply')"
@click.prevent="$emit('toggle')"
/>
>
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="reply"
/>
</button>
<FAIcon
v-else
icon="reply"
@ -27,10 +31,9 @@
.ReplyButton {
&.-interactive {
cursor: pointer;
&:hover,
&.-active {
&:hover .svg-inline--fa,
&.-active .svg-inline--fa {
color: $fallback--cBlue;
color: var(--cBlue, $fallback--cBlue);
}