-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: align utxo list and modal components (#815)
* refactor: externalize UtxoIcon component and utxoTags function * refactor: externalize UtxoConfirmations component * refactor: reuse utxo icons in Jar details and UTXO list * refactor(ui): simpler checkbox in utxo list * refactor(send): vertically align balance * refactor(send): tooltip for shortened addresses * refactor(ui): externalize UtxoTags component
- Loading branch information
1 parent
962dc87
commit 4cfe385
Showing
12 changed files
with
299 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,36 @@ | ||
.joinedUtxoAndCjout { | ||
background-color: #27ae600d !important; | ||
color: #27ae60 !important; | ||
} | ||
|
||
.frozenUtxo { | ||
background-color: #2d9cdb0d !important; | ||
color: #2d9cdb !important; | ||
} | ||
|
||
.depositUtxo { | ||
background-color: var(--bs-body-bg) !important; | ||
color: var(--bs-modal-color) !important; | ||
} | ||
|
||
.changeAndReuseUtxo { | ||
background-color: #eb57570d !important; | ||
color: #eb5757 !important; | ||
} | ||
|
||
.utxoTagDeposit { | ||
color: #999999; | ||
border: 1px solid #bbbbbb; | ||
background-color: #dedede !important; | ||
border-radius: 0.35rem; | ||
padding: 0rem 0.25rem; | ||
} | ||
|
||
.utxoTagJoinedAndCjout { | ||
border: 1px solid #27ae60; | ||
background-color: #c6eed7 !important; | ||
border-radius: 0.35rem; | ||
padding: 0rem 0.25rem; | ||
} | ||
|
||
.utxoTagFreeze { | ||
border: 1px solid #2d9cdb; | ||
background-color: #bce7ff !important; | ||
border-radius: 0.35rem; | ||
padding: 0rem 0.25rem; | ||
.utxoListDisplayHeight { | ||
max-height: 17.6rem; | ||
} | ||
|
||
.utxoTagChangeAndReuse { | ||
border: 1px solid #eb5757; | ||
background-color: #fac7c7 !important; | ||
border-radius: 0.35rem; | ||
padding: 0rem 0.25rem; | ||
.row.row-normal { | ||
background-color: transparent !important; | ||
} | ||
|
||
.squareToggleButton { | ||
appearance: none; | ||
width: 22px; | ||
height: 22px; | ||
border-radius: 3px; | ||
border: 1px solid var(--bs-body-color); | ||
margin-top: 0.45rem; | ||
.row.row-success { | ||
background-color: #27ae600d !important; | ||
color: #27ae60 !important; | ||
} | ||
|
||
.selected { | ||
visibility: visible !important; | ||
background-color: var(--bs-body-color); | ||
.row.row-warning { | ||
background-color: #bb97200d !important; | ||
color: #ebc957 !important; | ||
} | ||
|
||
.squareFrozenToggleButton { | ||
appearance: none; | ||
width: 22px; | ||
height: 22px; | ||
border-radius: 3px; | ||
border: 1px solid #2d9cdb; | ||
margin-top: 0.45rem; | ||
.row.row-danger { | ||
background-color: #eb57570d !important; | ||
color: #eb5757 !important; | ||
} | ||
|
||
.utxoListDisplayHeight { | ||
max-height: 17.6rem; | ||
.row.row-frozen { | ||
background-color: #2d9cdb0d !important; | ||
color: #2d9cdb !important; | ||
} | ||
|
||
.customHeaderClass { | ||
background-color: var(--bs-gray-800) !important; | ||
padding: var(--bs-modal-header-padding) !important; | ||
.checkbox { | ||
width: 24px; | ||
height: 24px; | ||
} | ||
|
||
.customTitleClass { | ||
color: var(--bs-heading-color) !important; | ||
.checkbox:checked { | ||
accent-color: var(--bs-black); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.