diff --git a/src/components/CashlinkButton.vue b/src/components/CashlinkButton.vue new file mode 100644 index 000000000..adef42d44 --- /dev/null +++ b/src/components/CashlinkButton.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue index 121c1e3e2..ec7c34764 100644 --- a/src/components/SearchBar.vue +++ b/src/components/SearchBar.vue @@ -1,27 +1,37 @@ @@ -76,9 +148,10 @@ export default defineComponent({ width: 100%; cursor: text; padding: 0.75rem 0; - min-width: 0; + margin-right: 1rem; + min-width: 5.5rem; - transition: color var(--attr-duration) var(--nimiq-ease); + transition: color var(--attr-duration) var(--nimiq-ease), max-width var(--attr-duration) var(--nimiq-ease); &::after { content: ''; @@ -149,11 +222,38 @@ input { } } -@media (max-width: 700px) { // Full mobile breakpoint +@media (max-width: 700px) { + + // Full mobile breakpoint input { &::placeholder { font-weight: 600; } } } + +.cross-close-button { + position: absolute; + z-index: 1; + right: 1.75rem; + cursor: pointer; +} + +.fade-enter-active, .fade-leave-active { + transition-duration: var(--attr-duration); +} + +@media (min-width: 700px) and (max-width: 900px) { + .cover-all { + &:focus-within { + position: absolute; + z-index: 10; + background: var(--bg-primary); + box-shadow: 0 0 0 1rem var(--bg-primary); + border-radius: 6rem; + + width: calc(100% - 5rem); + } + } +} diff --git a/src/components/TransactionList.vue b/src/components/TransactionList.vue index 5b2b6bbcf..f3969fb3a 100644 --- a/src/components/TransactionList.vue +++ b/src/components/TransactionList.vue @@ -10,8 +10,11 @@ >