Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show sum of selected utxos #514

Merged
merged 9 commits into from
Sep 26, 2022
82 changes: 33 additions & 49 deletions src/components/jar_details/JarDetailsOverlay.module.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
.utxoDetailModalBackdrop {
z-index: 1300 !important;
}

.utxoDetailModal {
z-index: 1400 !important;
}

.modalHeader {
display: flex !important;
justify-content: flex-start !important;
background-color: transparent !important;
padding: 1.25rem !important;
}

.modalTitle {
width: 100%;
font-size: 1rem !important;
font-weight: 400 !important;
color: var(--bs-body-color) !important;
}

.modalTitle > div:first-child {
display: flex;
justify-content: space-between;
align-items: center;
}

.modalTitle .cancelButton {
padding: 0 0 0 1rem;
color: var(--bs-body-color);
background-color: transparent !important;
border: none;
}

.overlayContainer .accountStepperTitle {
display: inline-flex;
justify-content: center;
Expand Down Expand Up @@ -76,18 +41,19 @@
.overlayContainer .tabContainer {
display: flex;
flex-direction: column;
gap: 2.5rem;
gap: 0.5rem;
background-color: var(--bs-body-bg);
}

@media only screen and (min-width: 992px) {
.overlayContainer .tabContainer {
gap: 1.5rem;
padding: 2rem;
border-radius: 0.5rem;
}
}

.overlayContainer .tabContainer > .utxoListTitleBar {
.overlayContainer .tabContainer .utxoListTitleBar {
min-height: 3.6rem;
display: flex;
justify-content: space-between;
Expand All @@ -99,66 +65,84 @@
}

@media only screen and (min-width: 992px) {
.overlayContainer .tabContainer > .utxoListTitleBar {
flex-direction: row;
align-items: center;
.overlayContainer .tabContainer .utxoListTitleBar {
padding: 0.8rem 1rem;
border-radius: 0.6rem;
}
}

:root[data-theme='dark'] .overlayContainer .tabContainer > .utxoListTitleBar {
:root[data-theme='dark'] .overlayContainer .tabContainer .utxoListTitleBar {
background-color: var(--bs-gray-800);
}

.overlayContainer .tabContainer > .utxoListTitleBar .freezeUnfreezeButtonsContainer {
.overlayContainer .tabContainer .utxoListTitleBar .operationsContainer {
display: flex;
width: 100%;
justify-content: space-between;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}

.selectedUtxosSumContainer {
align-self: end;
}

@media only screen and (min-width: 576px) {
.overlayContainer .tabContainer .utxoListTitleBar .operationsContainer {
flex-direction: row;
align-items: center;
}
}

.overlayContainer .tabContainer .utxoListTitleBar .freezeUnfreezeButtonsContainer {
display: flex;
flex-direction: row;
gap: 0.5rem;
}

.overlayContainer .tabContainer > .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
.overlayContainer .tabContainer .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
width: 8rem;
font-size: 0.6rem;
padding: 0.3rem 0.5rem;
display: flex;
justify-content: center;
align-items: center;
gap: 0.3rem;
background-color: white;
background-color: var(--bs-white);
border: 1px solid var(--bs-gray-200);
color: var(--bs-body-color);
border-radius: 0.35rem;
}

.overlayContainer .tabContainer > .utxoListTitleBar .freezeUnfreezeButtonsContainer > button:hover {
.overlayContainer .tabContainer .utxoListTitleBar .freezeUnfreezeButtonsContainer > button:hover {
background-color: var(--bs-btn-hover-bg);
border-color: var(--bs-btn-hover-border-color);
}

@media only screen and (min-width: 768px) {
.overlayContainer .tabContainer > .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
.overlayContainer .tabContainer .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
width: 10rem;
font-size: 0.8rem;
}
}

:root[data-theme='dark'] .overlayContainer .tabContainer > .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
:root[data-theme='dark'] .overlayContainer .tabContainer .utxoListTitleBar .freezeUnfreezeButtonsContainer > button {
background-color: var(--bs-gray-600) !important;
border-color: var(--bs-gray-600);
}

:root[data-theme='dark']
.overlayContainer
.tabContainer
> .utxoListTitleBar
.utxoListTitleBar
.freezeUnfreezeButtonsContainer
> button:hover {
background-color: var(--bs-gray-700) !important;
border-color: var(--bs-gray-700);
}

.overlayContainer .tabContainer > .utxoListTitleBar .refreshButton {
.overlayContainer .tabContainer .utxoListTitleBar .refreshButton {
display: flex;
justify-content: center;
align-items: center;
Expand Down
Loading