diff --git a/src/app/dialogs/dialog-loan-lend/dialog-loan-lend.component.html b/src/app/dialogs/dialog-loan-lend/dialog-loan-lend.component.html index 42f4ad262..625546742 100644 --- a/src/app/dialogs/dialog-loan-lend/dialog-loan-lend.component.html +++ b/src/app/dialogs/dialog-loan-lend/dialog-loan-lend.component.html @@ -1,25 +1,29 @@ - - +
-
-
- Lending currency -
+
+
Lending currency
- + Select Currency - - -
-
- + + +
+
+
-
+
{{ item.symbol }}
@@ -28,72 +32,74 @@
-
-
-
- Lend -
-
-
- Receive -
+
+
+
Lend
+
+
Receive
-
-
-
+
+
{{ lendAmount }} - - {{ lendCurrency || '-' }} + + {{ lendCurrency || "-" }}
-
-
+
+
{{ lendExpectedReturn }} - - {{ lendCurrency ? engineCurrency?.toString() : '-' }} + + {{ lendCurrency ? engineCurrency?.toString() : "-" }}
- +
-
-
-
-
- - - - -
+
+ -
- +
+
+ +
-
-
- - - - -
- -
+
@@ -102,27 +108,26 @@ - - More details - + More details
- - Exchange Rate 1 {{ loan.currency }} - - - = {{ exchangeEngineToken }} {{ engineCurrency?.toString() }} + Exchange Rate 1 {{ loan.currency }} + + = {{ exchangeEngineToken }} {{ engineCurrency?.toString() }} - + = {{ exchangeToken }} {{ lendCurrency }}
- - Tx Cost: {{ txCost || '-' }} - + Tx Cost: {{ txCost || "-" }}
.col, - > [class*="col-"] { - padding-right: 0; - padding-left: 0; +.accordion-details { + mat-expansion-panel { + margin-top: 35px; } } -.wrap { - display: flex; - flex-wrap: nowrap; -} - -.no-margin { - margin: 0; -} - -.vertical-center { - display: flex; - align-items: center; -} - -.baseline { - display: flex; - align-items: center; -} - -.fa-arrow-right { - margin-left: 10px; -} - -.margin-left { - margin-left: 5px; -} - -.cero-box { - height: 40px; - display: flex; - align-content: flex-end; -} - -.mat-raised-button { - width: 100%; -} -.pad-left { - padding-left: 0; -} - -.fa-arrow-left { - color: white; -} - -.arrow-space { - display: none; -} - -.cur { - font-size: 14px; - color: white; -} - -.center-data { - display: flex; - align-items: center; -} - -.check { - font-size: 16px; - color: #6EB548; -} - -.triangle { - font-size: 16px; - color: #EAA219; - cursor: pointer; -} - -.end { - display: flex; - align-items: baseline; -} - -.--lend-amount, -.--lend-currency, -.--return-amount, -.--return-currency { - @include styled-font('Roboto', 700, 16px); -} - -@media (min-width: 768px){ - .dialog-content { - .accordion-details { - mat-expansion-panel { - margin-top: 60px; +@media (min-width: 768px) { + .dialog { + max-width: 800px; + .dialog-content { + .item { + &__text-currency { + &--title { + @include typography-headline(4); + } + &--subtitle { + @include typography-subtitle(2); + } + } + &__icon-arrow { + margin-top: 12px; + } + } + .accordion-details { + mat-expansion-panel { + margin-top: 60px; + } } } } - .arrow-space { - display: block; - } - .arrow { - display: none; - } - - .exchange { - background-color: var(--app-color-gray-600); - border-bottom: 1px solid var(--app-color-gray-100); - height: 40px; - display: flex; - align-items: center; - .rate { - font-size: 14px; - color: #ADADAD; - margin-left: 10px; - font-family: 'Roboto', sans-serif; - } - } - - .--lend-amount, - .--return-amount { - @include typography-headline(4); - } - - .--lend-currency, - .--return-currency { - @include typography-subtitle(2); - } - - .fa-arrow-left { - display: none; - } - - .mat-raised-button { - width: 88px; - } - - .dialog { - max-width: 800px; - } - .dialog-padding{ - padding: 30px 53px; - } - - .account { - display: block; - } - - .title { - font-size: 18px; - } - - .padding { - padding: 0px 42px; - } - - .padding-2 { - padding: 0px 40px; - } - - .data { - font-size: 16px; - // .ars { - // font-size: 12px !important; - // } - } - - .cancel { - display: block; - } - - .wrap { - width: 60%; - } - - .mobile { - display: none; - } - - .desktop { - display: block; - } +} - .cero-box { - height: 56px; - display: flex; - align-content: flex-end; +::ng-deep { + mat-label.item__select-label { + font-size: 12px !important; } - }