Fee rate |
- {{ tx.feePerVsize | number : '1.1-1' }} sat/vB
+ {{ tx.feePerVsize | number : '1.1-1' }} sat/vB
@@ -339,7 +342,7 @@
Effective fee rate |
- {{ tx.effectiveFeePerVsize | number : '1.1-1' }} sat/vB
+ {{ tx.effectiveFeePerVsize | number : '1.1-1' }} sat/vB
diff --git a/frontend/src/app/components/transaction/transaction.component.scss b/frontend/src/app/components/transaction/transaction.component.scss
index 77b4ccf49..c26e257cd 100644
--- a/frontend/src/app/components/transaction/transaction.component.scss
+++ b/frontend/src/app/components/transaction/transaction.component.scss
@@ -6,8 +6,49 @@
color: #FFF;
padding-top: 20px;
border-top: 3px solid #FFF;
+ width: 100%;
+ padding-bottom: 30px;
+ @media (min-width: 768px) {
+ padding-bottom: 0px;
+ }
}
+
+h1{
+ font-size: 1.75rem;
+ margin-top: 2px;
+ margin-bottom: 0;
+ float: left;
+ @media (min-width: 375px){
+ margin-top: 0px;
+ font-size: 2rem;
+ }
+}
+
+.container-buttons {
+ text-align: right;
+ width: 100%;
+ @media (min-width: 992px) {
+ width: 300px;
+ }
+}
+
+.tx-link {
+ display: block;
+ width: auto;
+ margin-bottom: 10px;
+ margin-left: 2px;
+ margin-top: 40px;
+ position: absolute;
+ @media (min-width: 768px) {
+ margin-top: 14px;
+ margin-left: 10px;
+ position: relative;
+ text-align: left;
+ width: 100%;
+ }
+ }
+
@media (max-width: 767.98px) {
.mobile-bottomcol {
margin-top: 15px;
@@ -15,19 +56,13 @@
}
.td-width {
- width: 175px;
-}
+ width: 150px;
-@media (max-width: 767.98px) {
- .td-width {
- width: 150px;
+ @media (max-width: 768px) {
+ width: 175px;
}
}
-h1 {
- margin-bottom: 0;
-}
-
.badge {
position: relative;
top: -1px;
@@ -43,4 +78,75 @@ h1 {
.arrow-red {
color: #dc3545;
-}
\ No newline at end of file
+}
+
+.btn {
+ // float: right;
+ // margin-bottom: 0px;
+ margin-top: 5px;
+}
+
+.container-xl {
+ margin-bottom: 40px;
+}
+
+.row{
+ flex-direction: column;
+ @media (min-width: 850px) {
+ flex-direction: row;
+ }
+}
+
+.scriptmessage {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ vertical-align: middle;
+ max-width: 50px;
+ @media (min-width: 576px) {
+ max-width: 200px;
+ }
+}
+
+.scriptmessage.longer {
+ max-width: 500px;
+}
+
+@media (max-width: 767.98px) {
+ .mobile-bottomcol {
+ margin-top: 15px;
+ }
+ .scriptmessage.longer {
+ max-width: 200px !important;
+ }
+
+ .details-table td:first-child {
+ white-space: pre-wrap;
+ }
+}
+
+.fiat {
+ display: block;
+ @media (min-width: 768px){
+ display: inline-block;
+ margin-left: 15px;
+ text-align: left;
+ }
+}
+
+.table {
+ tr td {
+ &:last-child {
+ text-align: right;
+ @media (min-width: 768px) {
+ text-align: left;
+ }
+ }
+ .btn {
+ display: block;
+ }
+ }
+}
+// .container-buttons{
+// width: 100%;
+// display: inline-block;
+// }
\ No newline at end of file
diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.html b/frontend/src/app/components/transactions-list/transactions-list.component.html
index 251fecf2a..e28c93a5a 100644
--- a/frontend/src/app/components/transactions-list/transactions-list.component.html
+++ b/frontend/src/app/components/transactions-list/transactions-list.component.html
@@ -198,7 +198,7 @@
- {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB – {{ tx.fee | number }} sat ()
+ {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB – {{ tx.fee | number }} sat
diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.scss b/frontend/src/app/components/transactions-list/transactions-list.component.scss
index 6da7e6202..a70072ac3 100644
--- a/frontend/src/app/components/transactions-list/transactions-list.component.scss
+++ b/frontend/src/app/components/transactions-list/transactions-list.component.scss
@@ -19,9 +19,9 @@
left: 0;
right: calc(-1*30px/3);
width: 0;
- height: 0;
+ height: 0;
border-top: 6.66px solid transparent;
- border-bottom: 6.66px solid transparent
+ border-bottom: 6.66px solid transparent
}
.arrow:after {
@@ -38,52 +38,49 @@
}
.arrow.green:before {
- border-left: 10px solid #28a745;
+ border-left: 10px solid #28a745;
}
.arrow.green:after {
- background-color:#28a745;
+ background-color:#28a745;
}
.arrow.red:before {
- border-left: 10px solid #dc3545;
+ border-left: 10px solid #dc3545;
}
.arrow.red:after {
- background-color:#dc3545;
+ background-color:#dc3545;
}
.arrow.grey:before {
- border-left: 10px solid #6c757d;
+ border-left: 10px solid #6c757d;
}
.arrow.grey:after {
- background-color:#6c757d;
+ background-color:#6c757d;
}
.scriptmessage {
- max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
+ width: 100%;
+ max-width: 50px;
+ @media (min-width: 768px) {
+ max-width: 200px;
+ }
}
.scriptmessage.longer {
max-width: 500px;
+ @media (min-width: 375px) {
+ max-width: 200px !important;
+ }
}
-@media (max-width: 767.98px) {
- .mobile-bottomcol {
- margin-top: 15px;
- }
-
- .scriptmessage {
- max-width: 90px !important;
- }
- .scriptmessage.longer {
- max-width: 280px !important;
- }
-
- .details-table td:first-child {
- white-space: pre-wrap;
+.mobile-bottomcol {
+ margin-top: 15px;
+ @media (min-width: 992px) {
+ margin-top: 0px;
}
}
@@ -93,6 +90,9 @@
.details-table td {
padding: 0.75rem;
+ &:first-child {
+ white-space: pre-wrap;
+ }
}
.details-table td:nth-child(2) {
@@ -101,3 +101,58 @@
font-family: "Courier New", Courier, monospace;
font-size: 12px;
}
+
+.smaller-text {
+ font-size: 12px;
+ @media (min-width: 576px) {
+ font-size: 14px !important;
+ }
+}
+
+.longer {
+ max-width: 100% !important;
+ width: 200px;
+ display: inline-block;
+}
+
+.row{
+ flex-direction: column;
+ @media (min-width: 992px) {
+ flex-direction: row;
+ }
+}
+
+.extra-info {
+ display: none;
+ @media (min-width: 576px) {
+ display: inline-table;
+ }
+ .fiat {
+ font-size: 14px;
+ margin-left: 10px;
+ text-align: right;
+ }
+ .sats {
+ color: #ffffff66;
+ font-size: 11px;
+ }
+}
+
+.transaction-fee {
+ display: block;
+ margin: 0px auto 5px;
+ @media (min-width: 576px) {
+ display: inline-table;
+ }
+}
+
+.btn-container {
+ text-align: right;
+ @media (min-width: 576px) {
+ display: inline-table;
+ float: right;
+ }
+}
+.fiat {
+ margin-left: 10px;
+}
diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html
index d789ed074..4626ddd41 100644
--- a/frontend/src/app/dashboard/dashboard.component.html
+++ b/frontend/src/app/dashboard/dashboard.component.html
@@ -73,19 +73,19 @@
Latest blocks
-
+
- Height |
- Mined |
- TXs |
- Size |
+ Height |
+ Mined |
+ TXs |
+ Size |
- {{ block.height }} |
- |
- {{ block.tx_count | number }} |
-
+ | {{ block.height }} |
+ |
+ {{ block.tx_count | number }} |
+
{{ block.size | bytes: 2 }}
@@ -102,19 +102,19 @@
Latest transactions
-
+
@@ -160,32 +160,30 @@
-
-
-
- Minimum fee
- Purging
-
- 0.00001">< {{ mempoolInfoData.value.memPoolInfo.mempoolminfee * 100000 | number : '1.1-1' }} sat/vB
-
- |
-
- Memory usage
-
-
-
- {{ mempoolInfoData.value.memPoolInfo.usage | bytes }} / {{ mempoolInfoData.value.memPoolInfo.maxmempool | bytes }}
-
+
+
+ Minimum fee
+ Purging
+
+ 0.00001">< {{ mempoolInfoData.value.memPoolInfo.mempoolminfee * 100000 | number : '1.1-1' }} sat/vB
+
+
+
+ Unconfirmed
+
+ {{ mempoolInfoData.value.memPoolInfo.size | number }} TXs
+
+
+
+ Memory usage
+
+
+
+ {{ mempoolInfoData.value.memPoolInfo.usage | bytes }} / {{ mempoolInfoData.value.memPoolInfo.maxmempool | bytes }}
- |
-
- Unconfirmed
-
- {{ mempoolInfoData.value.memPoolInfo.size | number }} TXs
-
- |
-
-
+
+
+
diff --git a/frontend/src/app/dashboard/dashboard.component.scss b/frontend/src/app/dashboard/dashboard.component.scss
index c58ce1bb4..3b483e20d 100644
--- a/frontend/src/app/dashboard/dashboard.component.scss
+++ b/frontend/src/app/dashboard/dashboard.component.scss
@@ -1,18 +1,24 @@
.dashboard-container {
padding-bottom: 60px;
-}
-@media (min-width: 992px) {
- .dashboard-container {
+ @media (min-width: 992px) {
padding-bottom: 0px;
}
+ .table {
+ .fiat{
+ color: #ffffff66;
+ font-size: 10px;
+ }
+ }
}
.card {
background-color: #1d1f31;
+ height: 100%;
}
.card-title {
color: #4a68b9;
+ font-size: 1rem;
}
.info-block {
@@ -33,7 +39,7 @@
}
.skeleton-loader {
- max-width: 200px;
+ max-width: 100%;
}
.more-padding {
@@ -41,5 +47,147 @@
}
.graph-card {
- height: 385px;
+ height: 100%;
+ @media (min-width: 992px) {
+ height: 385px;
+ }
}
+
+.mempool-info-data {
+ display: block;
+ @media (min-width: 485px) {
+ display: flex;
+ flex-direction: row;
+ }
+ h5 {
+ margin-bottom: 10px;
+ }
+ .item {
+ width: 124px;
+ margin: 0px auto 20px;
+ display: inline-block;
+ @media (min-width: 400px) {
+ width: 50%;
+ }
+ &:last-child {
+ margin: 0px auto 0px;
+ }
+ &:nth-child(2) {
+ order: 2;
+ @media (min-width: 485px) {
+ order: 3;
+ }
+ }
+ &:nth-child(3) {
+ order: 3;
+ @media (min-width: 485px) {
+ order: 2;
+ display: block;
+ }
+ @media (min-width: 768px) {
+ display: none;
+ }
+ @media (min-width: 992px) {
+ display: block;
+ }
+ }
+ .card-text {
+ font-size: 18px;
+ span {
+ color: #ffffff66;
+ font-size: 12px;
+ }
+ }
+ }
+ .bar {
+ width: 93%;
+ margin: 0px 5px 20px;
+ @media (min-width: 485px) {
+ max-width: 200px;
+ margin: 0px auto 0px;
+ }
+ }
+}
+
+.latest-transactions {
+ width: 100%;
+ text-align: left;
+ tr, td, th {
+ border: 0px;
+ }
+ .table-cell-txid {
+ width: 20%;
+ }
+ .table-cell-satoshis {
+ display: none;
+ text-align: right;
+ width: 30%;
+ @media (min-width: 576px) {
+ display: table-cell;
+ }
+ @media (min-width: 768px) {
+ display: none;
+ }
+ @media (min-width: 1100px) {
+ display: table-cell;
+ }
+ }
+ .table-cell-fiat {
+ display: none;
+ text-align: right;
+ width: 30%;
+ @media (min-width: 485px) {
+ display: table-cell;
+ }
+ @media (min-width: 768px) {
+ display: none;
+ }
+ @media (min-width: 992px) {
+ display: table-cell;
+ }
+ }
+ .table-cell-fees {
+ width: 25%;
+ text-align: right;
+ }
+}
+
+.lastest-blocks-table {
+ width: 100%;
+ text-align: left;
+ tr, td, th {
+ border: 0px;
+ }
+ .table-cell-height {
+ width: 15%;
+ }
+ .table-cell-mined {
+ width: 35%;
+ text-align: right;
+ @media (min-width: 376px) {
+ text-align: left;
+ }
+ }
+ .table-cell-transaction-count {
+ display: none;
+ text-align: right;
+ width: 20%;
+ @media (min-width: 376px) {
+ display: table-cell;
+ }
+ }
+ .table-cell-size {
+ display: none;
+ text-align: center;
+ width: 30%;
+ @media (min-width: 485px) {
+ display: table-cell;
+ }
+ @media (min-width: 768px) {
+ display: none;
+ }
+ @media (min-width: 992px) {
+ display: table-cell;
+ }
+ }
+}
\ No newline at end of file
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 6262ebeed..d9c376ddc 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -55,10 +55,15 @@ html, body {
body {
background-color: #11131f;
min-width: 320px;
+ padding-bottom: 60px;
}
.container {
position: relative;
+ padding-bottom: 60px;
+}
+.container-xl {
+ padding-bottom: 60px;
}
:focus {
@@ -161,6 +166,26 @@ body {
}
}
+.symbol {
+ color: #ffffff66;
+ font-size: 11px;
+}
+
+.break-all {
+ white-space: normal;
+ word-break: break-all;
+}
+
+.title-block {
+ color: #FFF;
+ padding-top: 20px;
+ padding-bottom: 10px;
+ border-top: 3px solid #FFF;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
.smaller-text {
font-size: 14px;
}
@@ -175,6 +200,10 @@ body {
.table {
margin-bottom: 0;
+ font-size: 0.9rem;
+ @media (min-width: 576px) {
+ font-size: 1rem;
+ }
}
.close {
| | |