moved transparent button styles into button itself

This commit is contained in:
Henry Jameson 2021-06-08 10:13:40 +03:00 committed by Sam Therapy
parent 5d3c5bc3ed
commit e42e1a2c50
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 6 additions and 7 deletions

View file

@ -88,6 +88,10 @@ a {
font-family: sans-serif;
font-family: var(--interfaceFont, sans-serif);
&.-sublime {
background: transparent;
}
i[class*=icon-],
.svg-inline--fa {
color: $fallback--text;

View file

@ -38,11 +38,6 @@
}
}
.new:not(.-highlighted) {
.short {
background: none;
}
}
.new {
&,
&.-highlighted {

View file

@ -15,8 +15,8 @@
:class="[{ '-you': isYou, '-highlighted': highlight }, highlightType]"
>
<button
class="short"
:class="highlight ? 'button-default' : 'button-default' "
class="short button-default"
:class="{ '-sublime': !highlight }"
@click.prevent="onClick"
>
<!-- eslint-disable vue/no-v-html -->