fix icons
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-05-09 14:05:36 +02:00
parent 642ad91f26
commit 1768304d4f
7 changed files with 29 additions and 19 deletions

View File

@ -54,7 +54,6 @@ module.exports = configure(function (/* ctx */) {
target: { target: {
browser: ['es2022', 'edge88', 'firefox78', 'chrome87', 'safari13.1'], browser: ['es2022', 'edge88', 'firefox78', 'chrome87', 'safari13.1'],
node: 'node18', node: 'node18',
env: import.meta.env,
}, },
vueRouterMode: 'hash', // available values: 'hash', 'history' vueRouterMode: 'hash', // available values: 'hash', 'history'

View File

@ -127,7 +127,7 @@ async function togglePinned(item, event) {
<QBtn <QBtn
v-if="item.isPinned === true" v-if="item.isPinned === true"
@click="togglePinned(item, $event)" @click="togglePinned(item, $event)"
icon="vn:pin_off" icon="remove_circle"
size="xs" size="xs"
flat flat
round round
@ -139,7 +139,7 @@ async function togglePinned(item, event) {
<QBtn <QBtn
v-if="item.isPinned === false" v-if="item.isPinned === false"
@click="togglePinned(item, $event)" @click="togglePinned(item, $event)"
icon="vn:pin" icon="push_pin"
size="xs" size="xs"
flat flat
round round
@ -163,7 +163,7 @@ async function togglePinned(item, event) {
<QBtn <QBtn
v-if="item.isPinned === true" v-if="item.isPinned === true"
@click="togglePinned(item, $event)" @click="togglePinned(item, $event)"
icon="vn:pin_off" icon="remove_circle"
size="xs" size="xs"
flat flat
round round
@ -175,7 +175,7 @@ async function togglePinned(item, event) {
<QBtn <QBtn
v-if="item.isPinned === false" v-if="item.isPinned === false"
@click="togglePinned(item, $event)" @click="togglePinned(item, $event)"
icon="vn:pin" icon="push_pin"
size="xs" size="xs"
flat flat
round round
@ -200,13 +200,13 @@ async function togglePinned(item, event) {
</template> </template>
<style> <style>
.pinned .icon-pin, .pinned .icon-push_pin,
.pinned .icon-pin_off { .pinned .icon-remove_circle {
visibility: hidden; visibility: hidden;
} }
.pinned:hover .icon-pin, .pinned:hover .icon-push_pin,
.pinned:hover .icon-pin_off { .pinned:hover .icon-remove_circle {
visibility: visible; visibility: visible;
} }
</style> </style>

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Binary file not shown.

View File

@ -26,12 +26,6 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-pin:before {
content: '\e950';
}
.icon-pin_off:before {
content: '\e95b';
}
.icon-frozen:before { .icon-frozen:before {
content: '\e900'; content: '\e900';
} }
@ -56,7 +50,7 @@
.icon-greenery:before { .icon-greenery:before {
content: '\e907'; content: '\e907';
} }
.icon-planta:before { .icon-plant:before {
content: '\e908'; content: '\e908';
} }
.icon-handmade:before { .icon-handmade:before {
@ -401,3 +395,18 @@
.icon-trolley:before { .icon-trolley:before {
content: '\e95c'; content: '\e95c';
} }
.icon-agency-term:before {
content: '\e950';
}
.icon-client-unpaid:before {
content: '\e95b';
}
.icon-trolley:before {
content: '\e95c';
}
.icon-grafana:before {
content: '\e965';
}
.icon-troncales:before {
content: '\e967';
}