Changed sort filters to tabs.

This commit is contained in:
2020-05-25 02:02:28 +02:00
parent f4c85b7a67
commit b180572d5f
2101 changed files with 335 additions and 467 deletions

View File

@@ -1,36 +1,36 @@
<template>
<div
:title="title"
:class="{ active }"
class="icon"
v-html="svg"
/>
<div
:title="title"
:class="{ active }"
class="icon"
v-html="svg"
/>
</template>
<script>
export default {
props: {
icon: {
type: String,
default: null,
},
title: {
type: String,
default: null,
},
active: {
type: Boolean,
default: false,
},
},
data() {
return {
svg: null,
};
},
beforeMount() {
this.svg = require(`../../img/icons/${this.icon}.svg`).default;
},
props: {
icon: {
type: String,
default: null,
},
title: {
type: String,
default: null,
},
active: {
type: Boolean,
default: false,
},
},
data() {
return {
svg: null,
};
},
beforeMount() {
this.svg = require(`../../img/icons/${this.icon}.svg`).default;
},
};
</script>
@@ -38,7 +38,7 @@ export default {
@import '../../css/theme';
.icon {
fill: $text;
fill: var(--text);
display: inline-block;
flex-shrink: 0;
width: 1rem;
@@ -50,10 +50,10 @@ export default {
}
&.active {
fill: $shadow;
fill: var(--shadow);
&:hover {
fill: $text;
fill: var(--text);
cursor: pointer;
}
}