Skip to content

Commit

Permalink
ruble support for ios + emoji picker
Browse files Browse the repository at this point in the history
  • Loading branch information
ksydex committed Mar 26, 2020
1 parent 8989be0 commit a570425
Show file tree
Hide file tree
Showing 4 changed files with 372 additions and 271 deletions.
71 changes: 38 additions & 33 deletions components/pages/index/ActionItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
border: action.color + ' solid 2px'
}"
>
<VP v-if="action.paid" :color="action.color" class="item__paid">₽</VP>
<VP v-if="action.paid" :color="action.color" class="item__paid">
<span
style="font-family: 'Helvetica Neue', sans-serif !important;">&#8381;</span>
</VP>
<div class="item__inner">
<VP :color="action.color" class="item__inner__p">
{{ action.title }}
Expand All @@ -17,41 +20,43 @@
</template>

<script>
export default {
props: ['action']
}
export default {
props: ['action']
}
</script>

<style scoped>
.item__paid {
position: absolute;
top: var(--space-third);
right: var(--space-third);
font-size: 14px;
}
.item {
position: relative;
border-radius: var(--radius-half);
padding: var(--space);
background: #ffffff26;
border: solid 2px var(--white-base);
cursor: pointer;
}
.item:focus,
.item:active,
.item:hover {
transform: translateY(-2px);
}
.item__paid {
position: absolute;
top: var(--space-third);
right: var(--space-third);
font-size: 14px;
}
.item__inner {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
}
.item {
position: relative;
border-radius: var(--radius-half);
padding: var(--space);
background: #ffffff26;
border: solid 2px var(--white-base);
cursor: pointer;
}
.item__inner__p {
letter-spacing: 0.5px;
}
.item:focus,
.item:active,
.item:hover {
transform: translateY(-2px);
}
.item__inner {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
}
.item__inner__p {
letter-spacing: 0.5px;
}
</style>
Loading

0 comments on commit a570425

Please sign in to comment.