fix(icon): pin and pin_off #53
|
@ -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,11 @@ async function togglePinned(item, event) {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.pinned .icon-pin,
|
.pinned .q-btn {
|
||||||
.pinned .icon-pin_off {
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
alexm marked this conversation as resolved
Outdated
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pinned:hover .icon-pin,
|
.pinned:hover .q-btn {
|
||||||
.pinned:hover .icon-pin_off {
|
|
||||||
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.
|
@ -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';
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
mirar si al poner un icono u otro te genera una clase de css y por ende funciona este código