Skip to content

Commit

Permalink
Styling adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Jun 25, 2020
1 parent 5bbb0ef commit ca7632e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/components/AccountBalance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ export default defineComponent({
</script>

<style lang="scss" scoped>
.account-balance {
text-align: center;
}
.nq-label {
margin-bottom: 0.5rem;
}
.fiat-amount {
font-size: 8rem;
font-size: 7rem;
}
@media (max-width: 1160px) { // Half mobile breakpoint
.account-balance {
text-align: center;
}
.fiat-amount {
font-size: 5.5rem;
}
Expand Down
2 changes: 2 additions & 0 deletions src/components/modals/ReceiveModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export default defineComponent({
.copyable {
padding: 0.5rem;
background: var(--nimiq-highlight-bg);
border-radius: 0.625rem;
transition:
color .3s var(--nimiq-ease),
Expand Down Expand Up @@ -274,6 +275,7 @@ export default defineComponent({
color: rgba(31, 35, 72, 0.5);
text-align: center;
font-size: var(--h2-size);
margin-top: 2rem;
}
}
</style>
19 changes: 18 additions & 1 deletion src/components/modals/SendModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,24 @@ export default defineComponent({
}
.copyable {
padding: 1rem;
padding: 0.5rem;
/deep/ .background {
border-radius: 0.625rem;
}
.address-display {
transition: opacity 0.3s var(--nimiq-ease);
}
&:hover,
&:focus,
&.copied {
.address-display {
opacity: 1;
font-weight: 500;
}
}
}
}
Expand Down

0 comments on commit ca7632e

Please sign in to comment.