transaction UI refactoring

This commit is contained in:
Čarodej
2021-12-30 15:42:09 +01:00
parent 6f5b3c05ad
commit 50abdc3266
6 changed files with 170 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
<template>
<b class="color-label" :class="color">
<b class="color-label text-xs rounded-lg" :class="color">
<slot></slot>
</b>
</template>
@@ -17,9 +17,7 @@
.color-label {
text-transform: capitalize;
@include font-size(12);
display: inline-block;
border-radius: 6px;
font-weight: 700;
padding: 4px 6px;

View File

@@ -87,6 +87,18 @@
.info-box {
background: $dark_mode_foreground;
&.error {
background: rgba($danger, 0.1);
p, a {
color: $danger;
}
a {
text-decoration: underline;
}
}
p {
color: $dark_mode_text_primary;
}