Merge branch 'master' into ab-paginate-addresses

pull/1812/head
Ayrat Badykov 6 years ago committed by GitHub
commit 24b31e812f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      CHANGELOG.md
  2. 2
      apps/block_scout_web/assets/css/_code.scss
  3. 20
      apps/block_scout_web/assets/css/_elements.scss
  4. 23
      apps/block_scout_web/assets/css/_helpers.scss
  5. 2
      apps/block_scout_web/assets/css/_layout.scss
  6. 201
      apps/block_scout_web/assets/css/_mixins.scss
  7. 3
      apps/block_scout_web/assets/css/_tooltip.scss
  8. 56
      apps/block_scout_web/assets/css/_typography.scss
  9. 54
      apps/block_scout_web/assets/css/app.scss
  10. 81
      apps/block_scout_web/assets/css/components/_address-overview.scss
  11. 3
      apps/block_scout_web/assets/css/components/_address_link.scss
  12. 9
      apps/block_scout_web/assets/css/components/_alerts.scss
  13. 4
      apps/block_scout_web/assets/css/components/_animations.scss
  14. 248
      apps/block_scout_web/assets/css/components/_api.scss
  15. 42
      apps/block_scout_web/assets/css/components/_badge.scss
  16. 11
      apps/block_scout_web/assets/css/components/_btn_address_card.scss
  17. 6
      apps/block_scout_web/assets/css/components/_btn_copy.scss
  18. 6
      apps/block_scout_web/assets/css/components/_btn_dropdown_line.scss
  19. 6
      apps/block_scout_web/assets/css/components/_btn_full.scss
  20. 6
      apps/block_scout_web/assets/css/components/_btn_line.scss
  21. 6
      apps/block_scout_web/assets/css/components/_btn_qr.scss
  22. 46
      apps/block_scout_web/assets/css/components/_button.scss
  23. 194
      apps/block_scout_web/assets/css/components/_card.scss
  24. 47
      apps/block_scout_web/assets/css/components/_check.scss
  25. 26
      apps/block_scout_web/assets/css/components/_check_tooltip.scss
  26. 17
      apps/block_scout_web/assets/css/components/_copy_icon.scss
  27. 223
      apps/block_scout_web/assets/css/components/_dashboard-banner.scss
  28. 19
      apps/block_scout_web/assets/css/components/_dot.scss
  29. 65
      apps/block_scout_web/assets/css/components/_dropdown.scss
  30. 100
      apps/block_scout_web/assets/css/components/_footer.scss
  31. 46
      apps/block_scout_web/assets/css/components/_form.scss
  32. 8
      apps/block_scout_web/assets/css/components/_highlight.scss
  33. 18
      apps/block_scout_web/assets/css/components/_i_tooltip.scss
  34. 14
      apps/block_scout_web/assets/css/components/_icon-link.scss
  35. 30
      apps/block_scout_web/assets/css/components/_loading-spinner.scss
  36. 44
      apps/block_scout_web/assets/css/components/_modal.scss
  37. 9
      apps/block_scout_web/assets/css/components/_modal_become_candidate.scss
  38. 25
      apps/block_scout_web/assets/css/components/_modal_bottom_disclaimer.scss
  39. 13
      apps/block_scout_web/assets/css/components/_modal_stake.scss
  40. 64
      apps/block_scout_web/assets/css/components/_modal_status.scss
  41. 49
      apps/block_scout_web/assets/css/components/_modal_validator_info.scss
  42. 12
      apps/block_scout_web/assets/css/components/_nav_tabs.scss
  43. 311
      apps/block_scout_web/assets/css/components/_navbar.scss
  44. 57
      apps/block_scout_web/assets/css/components/_pagination.scss
  45. 1
      apps/block_scout_web/assets/css/components/_panels.scss
  46. 53
      apps/block_scout_web/assets/css/components/_progress_from_to.scss
  47. 142
      apps/block_scout_web/assets/css/components/_stakes.scss
  48. 21
      apps/block_scout_web/assets/css/components/_stakes_btn_remove_pool.scss
  49. 35
      apps/block_scout_web/assets/css/components/_stakes_empty_content.scss
  50. 74
      apps/block_scout_web/assets/css/components/_stakes_progress.scss
  51. 75
      apps/block_scout_web/assets/css/components/_stakes_table.scss
  52. 5
      apps/block_scout_web/assets/css/components/_table.scss
  53. 385
      apps/block_scout_web/assets/css/components/_tile.scss
  54. 5
      apps/block_scout_web/assets/css/components/_token-balance-dropdown.scss
  55. 21
      apps/block_scout_web/assets/css/components/_token_tile_view_more.scss
  56. 18
      apps/block_scout_web/assets/css/components/_tooltip.scss
  57. 8
      apps/block_scout_web/assets/css/components/_transaction-input.scss
  58. 6
      apps/block_scout_web/assets/css/components/_transaction.scss
  59. 20
      apps/block_scout_web/assets/css/components/address-overview.scss
  60. 1289
      apps/block_scout_web/assets/css/theme/_base_variables.scss
  61. 6
      apps/block_scout_web/assets/css/theme/_callisto_variables.scss
  62. 23
      apps/block_scout_web/assets/css/theme/_dai_variables.scss
  63. 6
      apps/block_scout_web/assets/css/theme/_ellaism_variables.scss
  64. 11
      apps/block_scout_web/assets/css/theme/_ethereum_classic_variables.scss
  65. 6
      apps/block_scout_web/assets/css/theme/_ethereum_variables.scss
  66. 6
      apps/block_scout_web/assets/css/theme/_expanse_variables.scss
  67. 6
      apps/block_scout_web/assets/css/theme/_gochain_variables.scss
  68. 11
      apps/block_scout_web/assets/css/theme/_goerli_variables.scss
  69. 5
      apps/block_scout_web/assets/css/theme/_kovan_variables.scss
  70. 130
      apps/block_scout_web/assets/css/theme/_lukso_variables.scss
  71. 6
      apps/block_scout_web/assets/css/theme/_musicoin_variables.scss
  72. 29
      apps/block_scout_web/assets/css/theme/_neutral_variables.scss
  73. 11
      apps/block_scout_web/assets/css/theme/_pirl_variables.scss
  74. 14
      apps/block_scout_web/assets/css/theme/_poa_variables.scss
  75. 29
      apps/block_scout_web/assets/css/theme/_posdao_variables.scss
  76. 9
      apps/block_scout_web/assets/css/theme/_ropsten_variables.scss
  77. 11
      apps/block_scout_web/assets/css/theme/_social_variables.scss
  78. 11
      apps/block_scout_web/assets/css/theme/_sokol_variables.scss
  79. 11
      apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss
  80. 6
      apps/block_scout_web/assets/css/theme/_tomochain_variables.scss
  81. 29
      apps/block_scout_web/assets/css/theme/_variables.scss
  82. 6
      apps/block_scout_web/assets/css/theme/_wanchain_variables.scss
  83. 2
      apps/block_scout_web/assets/js/app.js
  84. 21
      apps/block_scout_web/assets/js/lib/card_tabs.js
  85. 14
      apps/block_scout_web/assets/js/lib/market_history_chart.js
  86. 76
      apps/block_scout_web/assets/js/lib/modals.js
  87. 2
      apps/block_scout_web/assets/js/lib/transaction_input_dropdown.js
  88. 8
      apps/block_scout_web/assets/js/pages/blocks.js
  89. 10
      apps/block_scout_web/assets/js/pages/chain.js
  90. 7
      apps/block_scout_web/assets/js/view_specific/raw_trace/code_highlighting.js
  91. 3
      apps/block_scout_web/assets/static/images/icons/accounts.svg
  92. 3
      apps/block_scout_web/assets/static/images/icons/api.svg
  93. 3
      apps/block_scout_web/assets/static/images/icons/blocks.svg
  94. 3
      apps/block_scout_web/assets/static/images/icons/check-1.svg
  95. 3
      apps/block_scout_web/assets/static/images/icons/copy.svg
  96. 3
      apps/block_scout_web/assets/static/images/icons/dots.svg
  97. 3
      apps/block_scout_web/assets/static/images/icons/move-stake.svg
  98. 3
      apps/block_scout_web/assets/static/images/icons/network.svg
  99. 6
      apps/block_scout_web/assets/static/images/icons/pic-empty.svg
  100. 3
      apps/block_scout_web/assets/static/images/icons/plus.svg
  101. Some files were not shown because too many files have changed in this diff Show More

@ -6,26 +6,35 @@
- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - able to search without prefix "0x"
- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - add total blocks counter to the main page
- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - verify contracts with a post request
- [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces
### Fixes
- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine
- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable
- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil
- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks
- [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu
- [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth
- [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance
### Chore
- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script
- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder
## 1.3.10-beta
### Features
- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites.
- [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code
- [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens
- [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK
- [#1777](https://github.com/poanetwork/blockscout/pull/1777) - show ERC-20 token transfer info on transaction page
- [#1770](https://github.com/poanetwork/blockscout/pull/1770) - set a websocket keepalive from config
- [#1789](https://github.com/poanetwork/blockscout/pull/1789) - add ERC-721 info to transaction overview page
- [#1801](https://github.com/poanetwork/blockscout/pull/1801) - Staking pools fetching
### Fixes

@ -26,6 +26,6 @@ pre {
max-height: $pre-scrollable-max-height / 7;
}
.tile pre {
.tile pre {
margin-bottom: 0;
}

@ -1,7 +1,9 @@
hr {
margin: 2.75em 0;
border-style: solid;
border-color: $gray-300 transparent transparent transparent;
border-bottom: none;
border-left: none;
border-right: none;
border-top: 1px solid #f5f6fa;
margin: 30px 0;
}
svg {
@ -13,3 +15,15 @@ svg {
text-rendering: auto;
line-height: 1;
}
dl {
margin-bottom: 12px;
&:last-child {
margin-bottom: 0;
}
dd {
margin: 0;
}
}

@ -0,0 +1,23 @@
.pr-0-md {
padding-right: 0 !important;
@include media-breakpoint-down(md) {
padding-right: 15px !important;
}
}
.pl-0-md {
padding-left: 0 !important;
@include media-breakpoint-down(md) {
padding-left: 15px !important;
}
}
.card-mr-50-md {
margin-right: $common-container-margin;
@include media-breakpoint-down(md) {
margin-right: 0;
}
}

@ -5,6 +5,6 @@
main {
flex-grow: 1;
background-color: #FBFAFC;
background-color: #fbfafc;
}
}

@ -0,0 +1,201 @@
@mixin textfield-placeholder($color: #a3a9b5) {
&::-webkit-input-placeholder {
color: $color;
}
&::-moz-placeholder {
color: $color;
}
&:-ms-input-placeholder {
color: $color;
}
&:-moz-placeholder {
color: $color;
}
}
@mixin gradient-container() {
background-color: $primary;
background-image: linear-gradient(
to right,
$dashboard-banner-gradient-start,
$dashboard-banner-gradient-end
);
box-shadow: 0 5px 40px -5px rgba(#000, 0.25);
margin-top: -3rem;
}
@mixin stats-item($border-color: #fff, $text-color: #fff, $value-color: #fff) {
&-item {
display: flex;
flex-direction: column;
justify-content: center;
padding-left: calc(1rem + 4px);
padding-right: 1rem;
position: relative;
&::before {
background-color: $border-color;
border-radius: 2px;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 4px;
}
}
&-label {
color: $text-color;
display: block;
white-space: nowrap;
}
&-label-item {
margin-right: 20px;
&:last-child {
margin-right: 0;
}
}
&-value {
color: $value-color;
display: block;
font-size: 1.5rem;
font-weight: 200;
white-space: nowrap;
@media (max-width: $breakpoint-lg) {
font-size: 1.25rem;
}
}
}
@mixin btn-full($bg-color: $primary, $text-color: #fff) {
align-items: center;
background-color: $bg-color;
border-radius: 2px;
border: 1px solid $bg-color;
color: $text-color;
cursor: pointer;
display: flex;
font-size: 12px;
font-weight: 600;
height: 36px;
justify-content: center;
outline: none;
padding: 0 15px;
text-decoration: none;
transition: all 0.15s;
width: fit-content;
&:hover {
background-color: darken($bg-color, 10%);
border-color: darken($bg-color, 10%);
text-decoration: none;
}
svg {
margin-right: 12px;
}
path {
fill: $text-color;
}
&.full-width {
width: 100%;
}
&[disabled] {
&,
&:hover {
background-color: $bg-color;
border-color: $bg-color;
cursor: default;
opacity: 0.5;
}
}
}
@mixin btn-line($bg-color: #fff, $text-color: $secondary) {
align-items: center;
background-color: $bg-color;
border-radius: 2px;
border: 1px solid $text-color;
color: $text-color;
cursor: pointer;
display: flex;
font-size: 12px;
font-weight: 600;
height: 36px;
justify-content: center;
outline: none;
padding: 0 15px;
text-decoration: none;
transition: all 0.15s;
width: fit-content;
&:hover {
background-color: $text-color;
color: $bg-color;
text-decoration: none;
path {
fill: $bg-color;
}
}
svg {
margin-right: 12px;
}
path {
fill: $text-color;
}
&.full-width {
width: 100%;
}
&[disabled] {
&,
&:hover {
background-color: $bg-color;
border-color: $text-color;
cursor: default;
opacity: 0.5;
}
}
}
@mixin square-icon-button($color, $dimensions) {
align-items: center;
border: 1px solid $color;
border-radius: 2px;
cursor: pointer;
display: flex;
height: $dimensions;
justify-content: center;
transition: all 0.15s;
width: $dimensions;
svg {
display: block;
height: 100%;
width: 100%;
}
path {
fill: $color;
}
&:hover {
background-color: $color;
path {
fill: #fff;
}
}
}

@ -1,3 +0,0 @@
.tooltip {
min-width: 100px;
}

@ -1,3 +1,7 @@
$common-link-color: $primary !default;
$blue: #4b89fb !default;
$success: #34c0ad !default;
body {
font-family: $font-family-sans-serif;
font-size: 12px;
@ -20,10 +24,10 @@ h3 {
}
h4 {
color: $gray-600;
font-size: 16px;
line-height: 24px;
font-weight: 300;
color: $gray-600;
line-height: 24px;
margin-top: 4px;
&.underline {
@ -40,16 +44,16 @@ p {
@media screen and (max-width: 768px) {
font-size: 14px;
}
}
}
a {
color: $common-link-color;
text-decoration: none;
color: $tertiary;
&:hover,
&:focus {
color: darken($tertiary, 20%);
color: darken($common-link-color, 20%);
text-decoration: underline;
}
@ -59,7 +63,8 @@ a {
}
}
label, textarea.form-control {
label,
textarea.form-control {
font-size: 13px;
}
@ -72,31 +77,30 @@ label, textarea.form-control {
display: inline-block;
}
.text {
&-transaction {
color: $blue;
}
&-transaction {
color: $blue;
}
&-contract-call {
color: $green;
}
&-contract-call {
color: $green;
}
&-contract-creation {
color: $pink;
}
&-contract-creation {
color: $pink;
}
&-token {
color: $orange;
}
&-token {
color: $orange;
}
&-internal-transaction {
color: $teal;
}
&-internal-transaction {
color: $teal;
}
&-faded {
opacity: 0.7;
}
&-faded {
opacity: 0.7;
}
}
[data-transaction-status="Success"],
@ -119,4 +123,4 @@ label, textarea.form-control {
[data-transaction-status^="Error"],
[data-internal-transaction-type="Suicide"] {
color: $danger;
}
}

@ -1,6 +1,9 @@
@import "./mixins";
/* Phoenix flash messages */
.alert:empty { display: none; }
.alert:empty {
display: none;
}
/* This file is for your main application css. */
@ -13,8 +16,10 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
// Bootstrap Core CSS
@import "node_modules/bootstrap/scss/functions";
@import "theme/variables";
@import "node_modules/bootstrap/scss/mixins";
@import "theme/variables";
@import "node_modules/bootstrap/scss/root";
@import "node_modules/bootstrap/scss/reboot";
@import "node_modules/bootstrap/scss/grid";
@ -36,16 +41,17 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
@import "node_modules/bootstrap/scss/progress";
// Bootstrap Components
@import "node_modules/bootstrap/scss/alert";
@import "node_modules/bootstrap/scss/badge";
@import "node_modules/bootstrap/scss/card";
@import "node_modules/bootstrap/scss/dropdown";
@import "node_modules/bootstrap/scss/transitions";
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/nav";
@import "node_modules/bootstrap/scss/navbar";
@import "node_modules/bootstrap/scss/card";
@import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/pagination";
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/tooltip";
@import "node_modules/bootstrap/scss/badge";
@import "node_modules/bootstrap/scss/alert";
@import "node_modules/bootstrap/scss/transitions";
// Code highlight
@import "node_modules/highlight.js/styles/default";
@ -56,8 +62,8 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
// Custom SCSS
@import "layout";
@import "typography";
@import "tooltip";
@import "code";
@import "helpers";
@import "elements";
@import "forms";
@import "components/panels";
@ -87,8 +93,38 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
@import "components/transaction-input";
@import "components/coin-balance-tile";
@import "components/highlight";
@import "components/copy_icon";
@import "components/btn_full";
@import "components/btn_line";
@import "components/stakes";
@import "components/check";
@import "components/stakes_table";
@import "components/i_tooltip";
@import "components/check_tooltip";
@import "components/tooltip";
@import "components/progress_from_to";
@import "components/stakes_empty_content";
@import "components/stakes_btn_remove_pool";
@import "components/modal";
@import "components/modal_validator_info";
@import "components/form";
@import "components/stakes_progress";
@import "components/modal_status";
@import "components/modal_bottom_disclaimer";
@import "components/modal_become_candidate";
@import "components/modal_stake";
@import "components/btn_copy";
@import "components/btn_qr";
@import "components/btn_address_card";
@import "components/btn_dropdown_line";
@import "components/transaction";
@import "components/api";
@import "components/alerts";
:export {
primary: $primary;
secondary: $secondary;
dashboardLineColorMarket: $dashboard-line-color-market;
dashboardLineColorPrice: $dashboard-line-color-price;
dashboardBannerChartAxisFontColor: $dashboard-banner-chart-axis-font-color;
}

@ -0,0 +1,81 @@
.address-detail-hash-title {
color: #333;
font-size: 12px;
font-weight: bold;
line-height: 1.2;
margin: 0 0 12px;
text-align: left;
}
.overview-title-buttons {
display: flex;
}
.overview-title-item {
display: block;
flex-grow: 0;
flex-shrink: 0;
height: fit-content;
margin-right: 8px;
&:last-child {
margin-right: 0;
}
}
.address-overview {
.card-section {
margin-bottom: $common-container-margin;
&:first-child {
.card {
margin-right: $common-container-margin;
@include media-breakpoint-down(md) {
margin-right: 0;
}
}
}
}
.card {
margin-bottom: 0;
height: 100%;
}
}
.balance-card-title {
margin-bottom: 0.5rem;
}
.address-detail-item {
margin-right: 1em;
padding-bottom: 0.5em;
}
.address-balance-text {
font-size: 12px;
font-weight: bold;
line-height: 1.2;
margin: 0 0 12px;
&:last-child {
margin-bottom: 0;
}
}
.address-current-balance {
font-size: 12px;
font-weight: 200;
line-height: 1.2;
margin: 0 0 12px;
small {
font-size: 11px;
}
&:last-child {
margin-bottom: 0;
}
}

@ -1,5 +1,4 @@
.address-link {
&__font {
font-family: $font-family-monospace;
}
@ -18,7 +17,7 @@
border-color: transparent transparent transparent $border-color;
i {
color:$gray-500 !important;
color: $gray-500 !important;
}
}
}

@ -0,0 +1,9 @@
$alert-danger-background-color: #fff3f7 !default;
$alert-danger-border-color: #fff3f7 !default;
$alert-danger-color: #ff7986 !default;
.alert-danger {
background-color: $alert-danger-background-color;
border-color: $alert-danger-border-color;
color: $alert-danger-color;
}

@ -82,7 +82,7 @@
will-change: transform, opacity, height;
animation: fade-up 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
@media (max-width: 767px) {
@media (max-width: $breakpoint-md) {
max-height: 300px;
animation: fade-up--mobile 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
@ -91,4 +91,4 @@
.shrink-out {
transform-origin: bottom center;
animation: shrink-out 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}
}

@ -0,0 +1,248 @@
$api-text-monospace-color: $primary !default;
$api-text-monospace-background: rgba($api-text-monospace-color, 0.1) !default;
$api-anchors-list-background-color: #f6f7f9 !default;
$api-doc-list-item-title-color: $primary !default;
$api-doc-list-item-view-more-color: $api-doc-list-item-title-color !default;
.api-text-monospace {
color: $api-text-monospace-color;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.api-text-monospace-background {
background-color: $api-text-monospace-background;
border-radius: 2px;
font-weight: 300;
padding: 5px 6px;
}
.api-anchors-list {
background-color: $api-anchors-list-background-color;
column-gap: 40px;
display: grid;
grid-auto-flow: column;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
padding: 30px;
row-gap: 25px;
@include media-breakpoint-down(md) {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
}
@include media-breakpoint-down(sm) {
grid-auto-flow: row;
grid-template-columns: 1fr;
grid-template-rows: none;
}
}
.api-anchors-list-item {
display: grid;
grid-template-columns: 0.75fr minmax(0, 1.25fr);
&:hover {
text-decoration: none;
}
}
.api-anchors-list-item-title {
align-self: center;
color: #333;
font-size: 14px;
font-weight: 300;
line-height: 1.2;
margin: 0;
}
.api-anchors-list-item-value {
align-self: center;
font-size: 12px;
line-height: 1.2;
white-space: nowrap;
}
.api-text-title {
font-size: 12px;
line-height: 1.2;
margin-left: 20px;
}
.api-doc-list-item {
border-bottom: 1px solid $base-border-color;
padding: $card-vertical-padding $card-horizontal-padding;
&:last-child {
border-bottom: none;
}
}
.api-doc-list-item-contents {
display: flex;
justify-content: space-between;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
.api-doc-list-item-title {
color: $api-doc-list-item-title-color;
font-size: 17px;
font-weight: 700;
line-height: 1.2;
margin: 0 0 15px;
}
.api-doc-list-item-query {
display: inline-block;
font-size: 12px;
line-height: 1.2;
margin-bottom: 20px;
word-break: break-all;
word-wrap: break-word;
> strong {
font-weight: 700;
}
}
.api-doc-list-item-text {
color: #aaa;
font-size: 14px;
font-weight: normal;
line-height: 1.5;
margin: 0;
}
.api-doc-list-item-controls {
display: flex;
flex-direction: column;
flex-grow: 1;
margin-left: 50px;
@include media-breakpoint-down(sm) {
flex-direction: row;
justify-content: space-between;
margin-left: 0;
padding-top: 25px;
}
}
.api-doc-list-item-controls-badges {
display: flex;
justify-content: flex-end;
.api-badge {
margin-right: 8px;
&:last-child {
margin-right: 0;
}
}
}
.api-doc-list-item-controls-view-more {
align-self: flex-end;
color: $api-doc-list-item-view-more-color;
cursor: pointer;
font-size: 14px;
margin-top: auto;
white-space: nowrap;
.fa {
margin-left: 5px;
}
}
[aria-expanded="false"] {
.api-doc-list-item-controls-view-more-open {
display: block;
}
.api-doc-list-item-controls-view-more-close {
display: none;
}
}
[aria-expanded="true"] {
.api-doc-list-item-controls-view-more-open {
display: none;
}
.api-doc-list-item-controls-view-more-close {
display: block;
}
}
.api-doc-parameters-container {
border-top: 1px solid $base-border-color;
margin-top: 20px;
padding-top: $card-vertical-padding;
}
.api-doc-parameters-list {
border-bottom: 1px solid $base-border-color;
margin-bottom: $card-vertical-padding;
padding-bottom: $card-vertical-padding / 2;
}
.api-doc-parameters-list-title {
color: #333;
font-size: 16px;
font-weight: 500;
line-height: 1.2;
margin: 0 0 15px;
white-space: nowrap;
}
.api-doc-parameters-list-item {
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
@include media-breakpoint-down(sm) {
margin-bottom: 30px;
[class*="col-"] {
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
}
}
}
.api-doc-parameters-list-item-title {
color: #333;
font-size: 14px;
font-weight: 500;
line-height: 1.2;
margin: 0 0 8px;
}
.api-doc-parameters-list-item-subtitle {
color: #aaa;
font-size: 13px;
font-weight: 400;
line-height: 1.2;
margin: 0;
}
.api-doc-parameters-list-item-description {
color: #333;
font-size: 14px;
font-weight: 400;
line-height: 1.2;
margin: 0 0 8px;
&:last-child {
margin-bottom: 0;
}
strong {
font-weight: 700;
}
}

@ -1,3 +1,45 @@
$badge-success-color: #15bba6 !default;
$badge-success-background-color: rgba($badge-success-color, 0.1) !default;
$badge-danger-color: #ed9966 !default;
$badge-danger-background-color: rgba($badge-danger-color, 0.1) !default;
$badge-neutral-color: #333 !default;
$badge-neutral-background-color: #e9e9e9 !default;
.badge {
color: $white;
&.tile-badge {
font-size: 10px;
font-weight: bold;
height: 20px;
line-height: 20px;
margin: 0;
padding: 0 11px;
width: auto;
}
&.api-badge {
font-size: 12px;
font-weight: 700;
height: 24px;
line-height: 26px;
margin: 0;
padding: 0 8px;
width: auto;
}
&.badge-success {
background-color: $badge-success-background-color;
color: $badge-success-color;
}
&.badge-danger {
background-color: $badge-danger-background-color;
color: $badge-danger-color;
}
&.badge-neutral {
background-color: $badge-neutral-background-color;
color: $badge-neutral-color;
}
}

@ -0,0 +1,11 @@
$btn-address-card-icon-color: $primary !default;
$btn-address-card-icon-dimensions: 31px !default;
.btn-address-card-icon {
@include square-icon-button($btn-address-card-icon-color, $btn-address-card-icon-dimensions);
svg {
height: 10px;
width: 20px;
}
}

@ -0,0 +1,6 @@
$btn-copy-color: $primary !default;
$btn-copy-dimensions: 31px !default;
.btn-copy-icon {
@include square-icon-button($btn-copy-color, $btn-copy-dimensions);
}

@ -0,0 +1,6 @@
$btn-dropdown-line-bg: #fff !default;
$btn-dropdown-line-color: $primary !default;
.btn-dropdown-line {
@include btn-line($btn-dropdown-line-bg, $btn-dropdown-line-color);
}

@ -0,0 +1,6 @@
$btn-full-primary-bg: $primary !default;
$btn-full-primary-color: #fff !default;
.btn-full-primary {
@include btn-full($btn-full-primary-bg, $btn-full-primary-color);
}

@ -0,0 +1,6 @@
$btn-line-bg: #fff !default;
$btn-line-color: $secondary !default;
.btn-line {
@include btn-line($btn-line-bg, $btn-line-color);
}

@ -0,0 +1,6 @@
$btn-qr-color: $primary !default;
$btn-qr-dimensions: 31px !default;
.btn-qr-icon {
@include square-icon-button($btn-qr-color, $btn-qr-dimensions);
}

@ -1,25 +1,28 @@
$button-primary-color: $primary !default;
$button-secondary-color: $secondary !default;
.button {
border-radius: 2px;
border: none;
cursor: pointer;
display: inline-block;
line-height: 1.2;
padding: 10px 16px;
text-align: center;
text-decoration: none;
white-space: nowrap;
padding: 8px 10px;
border-radius: 2px;
cursor: pointer;
-webkit-transition: all 0.25s;
transition: all 0.25s;
white-space: nowrap;
&-primary {
background-color: $primary;
color: $white;
border: 1px solid $primary;
background-color: $button-primary-color;
border: 1px solid $button-primary-color;
color: #fff;
&:hover,
&:focus {
color: $white;
background-color: darken($primary, 10%);
border-color: darken($primary, 10%);
background-color: darken($button-primary-color, 10%);
border-color: darken($button-primary-color, 10%);
color: #fff;
text-decoration: none;
}
@ -31,18 +34,18 @@
}
&-secondary {
border: 1px solid $tertiary;
color: $tertiary;
background-color: $white;
background-color: #fff;
border: 1px solid $button-secondary-color;
color: $button-secondary-color;
font-weight: 400;
&:hover,
&:focus {
background-color: darken($tertiary, 10%);
border-color: darken($tertiary, 10%);
color: $white;
text-decoration: none;
background-color: darken($button-secondary-color, 10%);
border-color: darken($button-secondary-color, 10%);
color: #fff;
outline: none !important;
text-decoration: none;
}
}
@ -66,8 +69,8 @@
padding: 20px 60px 20px;
}
// Block button
// -------------------------
// Block button
// -------------------------
&-block {
display: block;
@ -75,12 +78,11 @@
}
&-disabled,
&:disabled, {
&:disabled {
background-color: $gray-300;
color: $gray-500;
text-decoration: none;
}
}
// Vertically space out multiple block buttons

@ -1,16 +1,33 @@
$card-background-color: #fff !default;
$card-tab-active: $primary !default;
$card-default-border-radius: 10px !default;
$card-horizontal-padding: 30px;
$card-vertical-padding: 30px;
$card-background-1: $primary !default;
$card-background-1-text-color: #fff !default;
.card {
background-color: $card-background-color;
border-radius: $card-default-border-radius;
border: none;
box-shadow: 0 5px 40px -5px rgba($black, 0.25);
border-radius: 0;
margin-bottom: 3rem;
box-shadow: 0 0 30px 0 rgba(202, 199, 226, 0.5);
margin-bottom: $common-container-margin;
}
&-primary {
background-color: $primary;
.card-background-1 {
background-color: $card-background-1;
color: $card-background-1-text-color;
a,
a:hover {
color: $card-background-1-text-color;
}
}
.card-header {
background-color: $white;
background: transparent;
border-bottom: 1px solid $base-border-color;
padding: $card-vertical-padding $card-horizontal-padding;
&-tabs {
margin: (-$card-spacer-y) (-$card-spacer-x);
@ -18,12 +35,95 @@
}
.card-title {
line-height: 2.2rem;
font-size: 18px;
font-weight: normal;
line-height: 1.2rem;
margin-bottom: 2rem;
&.margin-bottom-md {
margin-bottom: 25px;
}
&.margin-bottom-sm {
margin-bottom: 15px;
}
&.margin-bottom-xs {
margin-bottom: 10px;
}
&.margin-bottom-0 {
margin-bottom: 0;
}
.card-title-container & {
line-height: 1.2;
margin: 0;
@include media-breakpoint-down(sm) {
margin-bottom: 25px;
}
}
}
.card-subtitle {
color: #aaa;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
margin: 0 0 30px;
&.margin-bottom-0 {
margin-bottom: 0;
}
}
.card-title-container {
align-items: center;
display: flex;
justify-content: space-between;
padding: 25px $card-horizontal-padding;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
.card-title-controls {
align-items: center;
display: flex;
justify-content: flex-end;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
.card-title-control {
margin-right: 20px;
&:last-child {
margin-right: 0;
}
@include media-breakpoint-down(sm) {
margin-bottom: 20px;
margin-right: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
.card-body {
padding: 2.25rem 1.25rem;
padding: $card-horizontal-padding;
}
.card-body-flex-column-space-between {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card-server-response-body {
@ -34,5 +134,81 @@
.card-chain-blocks {
height: auto;
@include media-breakpoint-down(md) { height: 595px; }
[class*="col-"]:last-child {
.tile {
margin-bottom: 0;
}
}
}
.card-chain-transactions {
height: auto;
.tile {
margin-bottom: 0;
}
}
.card-tabs {
align-items: center;
border-top-left-radius: $card-default-border-radius;
border-top-right-radius: $card-default-border-radius;
border-bottom: 1px solid $base-border-color;
display: flex;
justify-content: flex-start;
overflow: hidden;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
.card-tab {
background-color: $card-background-color;
color: #333;
cursor: pointer;
font-size: 14px;
font-weight: normal;
height: 70px;
line-height: 70px;
padding: 0 30px;
text-align: center;
&:hover {
text-decoration: underline;
}
@include media-breakpoint-down(sm) {
display: none;
width: 100%;
}
&.active {
background-color: $card-tab-active;
color: #fff;
cursor: default;
text-decoration: none;
@include media-breakpoint-down(sm) {
cursor: pointer;
display: block;
order: -1;
&::after {
border-bottom: 0;
border-left: 0.3em solid transparent;
border-right: 0.3em solid transparent;
border-top: 0.3em solid;
content: "";
display: inline-block;
height: 0;
margin-left: 10px;
width: 0;
}
&.noCaret::after {
display: none;
}
}
}
}

@ -0,0 +1,47 @@
$check-color: $primary !default;
$check-dimensions: 14px !default;
.check {
align-items: center;
display: flex;
position: relative;
input[type="checkbox"] {
height: 100%;
opacity: 0;
position: absolute;
width: 100%;
z-index: 5;
&:checked + .check-icon::before {
background-color: $check-color;
content: "";
height: 6px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
width: 6px;
}
}
.check-icon {
border: 1px solid $base-border-color;
flex-grow: 0;
flex-shrink: 0;
height: $check-dimensions;
margin: 0 10px 0 0;
position: relative;
width: $check-dimensions;
z-index: 1;
}
.check-text {
font-size: 14px;
font-weight: normal;
line-height: 1.2;
position: relative;
white-space: nowrap;
z-index: 1;
}
}

@ -0,0 +1,26 @@
$check-tooltip-background: #f5f6fa !default;
$check-tooltip-background-active: $primary !default;
$check-tooltip-check: #a3a9b5 !default;
$check-tooltip-check-active: #fff !default;
.check-tooltip {
display: block;
height: 16px;
width: 16px;
.check-tooltip-circle {
fill: $check-tooltip-background;
}
.check-tooltip-check {
fill: $check-tooltip-check;
}
&:hover {
.check-tooltip-circle {
fill: $check-tooltip-background-active;
}
.check-tooltip-check {
fill: $check-tooltip-check-active;
}
}
}

@ -0,0 +1,17 @@
$copy-icon-color: $primary !default;
.copy-icon {
cursor: pointer;
height: 18px;
width: 18px;
svg {
display: block;
height: 100%;
width: 100%;
}
path {
fill: $copy-icon-color;
}
}

@ -1,133 +1,184 @@
$dashboard-banner-gradient-start: $primary !default;
$dashboard-banner-gradient-end: lighten(
$dashboard-banner-gradient-start,
5%
) !default;
$dashboard-banner-network-plain-container-background-color: lighten($dashboard-banner-gradient-end, 5%)!default;
$dashboard-line-color-price: lighten($dashboard-banner-gradient-end, 5%) !default;
$dashboard-line-color-market: $secondary !default;
$dashboard-stats-item-label-color: #fff !default;
$dashboard-stats-item-value-color: rgba(#fff, 0.8) !default;
$dashboard-banner-chart-legend-label-color: #fff !default;
$dashboard-banner-chart-legend-value-color: $dashboard-stats-item-value-color !default;
$dashboard-stats-item-border-color: $primary !default;
$dashboard-banner-network-plain-container-height: 205px;
$dashboard-banner-chart-axis-font-color: $dashboard-stats-item-value-color !default;
.dashboard-banner-container {
position: relative;
margin-top: -3rem;
background-color: $white;
box-shadow: 0 5px 40px -5px rgba($black, 0.25);
@include gradient-container();
&:before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 68px;
background-color: $white;
box-shadow: 0 0 40px -5px rgba($black, 0.25);
}
padding: 0;
position: relative;
&:after {
&::after {
background-color: $dashboard-banner-network-plain-container-background-color;
bottom: 0;
content: "";
display: block;
height: $dashboard-banner-network-plain-container-height;
left: 70%;
position: absolute;
top: 3rem;
right: 0;
bottom: 0;
left: 70%;
background-color: $primary;
box-shadow: 0 0 40px -5px rgba($black, 0.25);
@media (max-width: 992px) {
top: 2rem;
left: 80%;
@include media-breakpoint-down(md) {
display: none;
}
}
}
.dashboard-banner {
position: relative;
display: grid;
grid-template-rows: 3rem 2fr 1fr;
grid-template-columns: 1fr 4fr;
grid-template-areas:
"chart ."
"chart stats"
"legend stats";
margin-top: -1rem;
display: flex;
justify-content: space-between;
margin-bottom: 3rem;
position: relative;
z-index: 9;
@media (max-width: 992px) {
grid-template-rows: 2rem auto;
grid-template-columns: auto;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
.dashboard-banner-graphic {
position: absolute;
right: 0;
bottom: 0;
z-index: 10;
.dashboard-banner-network-graph {
flex-grow: 1;
padding: 15px 0 0 0;
@include media-breakpoint-down(md) {
display: flex;
flex-direction: column;
padding-top: 20px;
}
}
.dashboard-banner-chart {
grid-area: chart;
padding: 1rem 1rem 1rem 0;
width: calc(350px + 1rem);
height: calc(152px + 1rem);
flex-grow: 1;
margin: 0 0 35px 0;
max-width: 350px;
position: relative;
@include media-breakpoint-down(md) {
flex-grow: 0;
margin-bottom: 20px;
margin-top: auto;
max-width: 100%;
}
> canvas {
max-height: 100%;
max-width: 100%;
width: 100%;
}
}
.dashboard-banner-chart-legend {
grid-area: legend;
display: flex;
padding: 1rem 0.3rem;
display: grid;
grid-template-columns: 1fr 1fr;
padding-bottom: 12px;
.dashboard-banner-chart-legend-item {
padding-bottom: 3px;
padding-left: 12px;
padding-top: 3px;
position: relative;
@include media-breakpoint-down(md) {
display: flex;
flex-direction: row;
}
&-item {
padding-left: 0.5rem;
flex-grow: 1;
&::before {
border-radius: 2px;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 4px;
}
&:first-of-type {
border-left: 4px solid $primary;
&:nth-child(1)::before {
background-color: $dashboard-line-color-price;
}
&:last-of-type {
border-left: 4px solid $secondary;
&:nth-child(2)::before {
background-color: $dashboard-line-color-market;
}
}
&-label {
.dashboard-banner-chart-legend-label {
color: $dashboard-banner-chart-legend-label-color;
display: block;
color: $text-muted;
font-size: 12px;
font-weight: 600;
line-height: 1.2;
margin: 0 0 5px;
@include media-breakpoint-down(md) {
margin: 0 5px 0 0;
}
}
&-value {
.dashboard-banner-chart-legend-value {
color: $dashboard-banner-chart-legend-value-color;
display: block;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
}
}
.dashboard-banner-network-stats {
grid-area: stats;
display: flex;
.dashboard-banner-network-plain-container {
align-items: center;
justify-content: space-around;
padding-right: 1rem;
background-color: $primary;
box-shadow: -10px 0 15px 0 rgba($black, 0.14);
@media (max-width: 992px) {
flex-direction: column;
align-items: flex-start;
padding: 0.5rem 2rem;
align-self: flex-end;
background-color: $dashboard-banner-network-plain-container-background-color;
border-top-left-radius: 10px;
display: flex;
height: $dashboard-banner-network-plain-container-height;
justify-content: center;
margin: 0 0 0 30px;
max-width: 100%;
padding: 30px 0 30px 60px;
width: 750px;
@include media-breakpoint-down(md) {
border-top-right-radius: 10px;
height: auto;
justify-content: flex-start;
margin-left: 0;
margin-top: 15px;
max-width: 100%;
padding: 20px 0 20px 20px;
width: 250px;
}
&-item {
padding-left: 1rem;
color: $white;
border-left: 4px solid rgba($white, 0.6);
@include media-breakpoint-down(sm) {
width: 100%;
}
}
&-label {
display: block;
white-space: nowrap;
}
.dashboard-banner-network-stats {
column-gap: 25px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
&-value {
display: block;
font-size: 1.5rem;
font-weight: 200;
@include media-breakpoint-down(md) {
grid-template-columns: 1fr;
row-gap: 20px;
}
@media (max-width: 992px) {
font-size: 1.25rem;
}
@include media-breakpoint-down(sm) {
column-gap: 10px;
grid-template-columns: 1fr 1fr;
}
}
@include stats-item($dashboard-stats-item-border-color, $dashboard-stats-item-label-color, $dashboard-stats-item-value-color);
}

@ -1,16 +1,23 @@
.transaction {
&__dot {
display: inline-block;
height: 10px;
width: 10px ;
width: 10px;
border-radius: 50%;
margin-left: 5px;
vertical-align: baseline;
&--pending { background-color: $gray-500; }
&--success { background-color: $success; }
&--failed { background-color: $danger; }
&--out_of_gas { background-color: $warning; }
&--pending {
background-color: $gray-500;
}
&--success {
background-color: $success;
}
&--failed {
background-color: $danger;
}
&--out_of_gas {
background-color: $warning;
}
}
}

@ -1,17 +1,74 @@
// These styles extend the default Bootstrap styles
.dropdown-menu {
width: 100%;
border-radius: 8px !important;
border: none;
box-shadow: $box-shadow;
padding: 0;
width: 100%;
&.right {
left: auto;
right: 0;
}
.nav-item & {
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
top: 45px;
.dropdown-item:first-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
}
.dropdown-item {
font-size: 12px;
padding: 10px 20px;
&:hover {
color: #fff;
}
&:first-child {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
&:last-child {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
&.header {
&,
&:hover,
&:active {
padding-left: 10px;
background-color: transparent;
cursor: default;
color: #333;
font-weight: 700;
}
}
&.division {
border-top: 1px solid $base-border-color;
}
}
.dropdown-search-icon {
top: 0.5rem;
color: $gray-300;
left: 0.625rem;
pointer-events: none;
color: $gray-300;
top: 0.5rem;
}
.dropdown-search-field {
padding-left: 2rem;
}
.dropdown-toggle::after {
margin-left: 0.71em;
}

@ -1,27 +1,59 @@
$footer-padding: 1em;
$footer-text-color: rgba($white, 0.7);
$footer-background-color: $secondary !default;
$footer-title-color: #fff !default;
$footer-text-color: rgba(#fff, 0.7) !default;
$footer-link-color: $footer-text-color !default;
$footer-item-disc-color: $primary !default;
$footer-social-icon-color: $footer-text-color !default;
$footer-logo-height: 2rem !default;
$footer-logo-width: auto !default;
.footer {
font-size: 12px;
background: $primary;
background: $footer-background-color;
color: $footer-text-color;
margin-top: $footer-padding;
padding: $footer-padding;
font-size: 12px;
line-height: 1.67;
margin: 0;
padding: 40px 0;
position: relative;
@media (max-width: 768px) {
@media (max-width: $breakpoint-md) {
width: 100%;
}
}
.footer-logo-row {
margin-bottom: 30px;
}
.footer-logo {
height: 2rem;
height: $footer-logo-height;
width: $footer-logo-width;
}
.footer-info-text {
margin: 0 0 25px;
padding: 0 20px 0 0;
}
.footer-social-icons {
// float: right;
padding-top: 0.5em;
align-items: center;
display: flex;
margin: 0 0 25px;
}
.footer-social-icon {
color: $footer-social-icon-color;
font-size: 22px;
margin-right: 15px;
text-decoration: none;
&:hover {
color: $footer-social-icon-color;
}
&:last-child {
margin-right: 0;
}
}
.footer-info {
@ -29,37 +61,45 @@ $footer-text-color: rgba($white, 0.7);
}
.footer-link {
color: inherit;
}
color: $footer-link-color;
.footer-link:hover {
color: white;
&:hover {
color: $footer-link-color;
text-decoration: underline;
}
}
.footer-list {
padding-top: 1em;
padding-top: 0;
h3 {
margin-bottom: 0;
// text-align: center;
}
hr {
margin-top: 0;
margin-bottom: 1em;
border: 0;
height: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
color: $footer-title-color;
font-size: 14px;
font-weight: 300;
line-height: 1.4;
margin: 0 0 15px;
}
ul {
list-style-type: none;
padding-left: 0;
margin-left: 0;
margin: 0 0 25px;
padding: 0;
li {
padding-bottom: 0.5em;
align-items: center;
display: flex;
line-height: 2.5;
padding: 0;
&::before {
background-color: $footer-item-disc-color;
border-radius: 50%;
content: "";
display: block;
height: 6px;
margin: 0 10px 0 0;
width: 6px;
}
}
}
}

@ -0,0 +1,46 @@
$form-control-border-color: #e2e5ec !default;
.form-control {
border-color: $form-control-border-color;
border-radius: 0;
font-size: 14px;
&.n-b-r {
border-right: none;
}
}
.form-p {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.8;
.text-dark {
color: #333;
}
&.m-b-0 {
margin-bottom: 0;
}
}
.input-group-prepend.last {
.input-group-text {
background: none;
border-color: $form-control-border-color;
border-left: none;
color: #a3a9b5;
font-size: 14px;
}
}
.form-buttons {
[class*="btn-"] {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
}

@ -4,16 +4,14 @@
}
.line-numbers {
[data-line-number] {
&:before {
content: attr(data-line-number);
display: inline-block;
border-right: 1px solid $gray-400;
padding: 0 .5em;
margin-right: .5em;
color: $gray-600
padding: 0 0.5em;
margin-right: 0.5em;
color: $gray-600;
}
}
}

@ -0,0 +1,18 @@
$i-tooltip-background: #a3a9b5 !default;
$i-tooltip-background-active: $primary !default;
.i-tooltip {
display: block;
height: 16px;
width: 16px;
path {
fill: $i-tooltip-background;
}
&:hover {
path {
fill: $i-tooltip-background-active;
}
}
}

@ -5,18 +5,18 @@
}
.icon-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
margin: 0 .25rem;
color: $text-muted;
background-color: $gray-200;
border: none;
border-radius: 50%;
border: none;
color: $text-muted;
cursor: pointer;
display: inline-flex;
height: 2rem;
justify-content: center;
margin: 0 0.25rem;
transition: all 0.1s ease;
width: 2rem;
&:hover {
background-color: darken($primary, 20%);

@ -12,7 +12,8 @@
position: relative;
}
.loading-spinner-block-1, .loading-spinner-block-2 {
.loading-spinner-block-1,
.loading-spinner-block-2 {
background-color: currentColor;
width: 12px;
height: 12px;
@ -31,13 +32,17 @@
@keyframes loading-spinner {
25% {
transform: translateX(22px) rotate(-90deg) scale(0.5);
} 50% {
}
50% {
transform: translateX(22px) translateY(22px) rotate(-179deg);
} 50.1% {
}
50.1% {
transform: translateX(22px) translateY(22px) rotate(-180deg);
} 75% {
}
75% {
transform: translateX(0px) translateY(22px) rotate(-270deg) scale(0.5);
} 100% {
}
100% {
transform: rotate(-360deg);
}
}
@ -50,7 +55,8 @@
width: 1em;
height: 1em;
.loading-spinner-block-1, .loading-spinner-block-2 {
.loading-spinner-block-1,
.loading-spinner-block-2 {
width: 0.5em;
height: 0.5em;
@ -65,13 +71,17 @@
@keyframes loading-spinner-small {
25% {
transform: translateX(10px) rotate(-90deg) scale(0.5);
} 50% {
}
50% {
transform: translateX(10px) translateY(10px) rotate(-179deg);
} 50.1% {
}
50.1% {
transform: translateX(10px) translateY(10px) rotate(-180deg);
} 75% {
}
75% {
transform: translateX(0px) translateY(10px) rotate(-270deg) scale(0.5);
} 100% {
}
100% {
transform: rotate(-360deg);
}
}

@ -0,0 +1,44 @@
$modal-overlay-color: rgba($secondary, 0.9) !default;
$modal-horizontal-padding: 30px !default;
$modal-vertical-padding: 25px !default;
$modal-border-radius: 10px !default;
$modal-gray-background: #f6f7f9 !default;
.modal-backdrop {
background-color: $modal-overlay-color;
&.show {
opacity: 1;
}
}
.modal-header {
border-bottom: none;
padding: #{$modal-vertical-padding} #{$modal-horizontal-padding};
}
.close.close-modal {
left: auto;
opacity: 1;
position: absolute;
right: -35px;
top: -35px;
}
.modal-body {
padding: 0 #{$modal-horizontal-padding} #{$modal-vertical-padding};
}
.modal-title {
color: #333;
font-size: 18px;
font-weight: normal;
text-align: left;
white-space: normal;
word-break: break-word;
}
.modal-content {
border-radius: $modal-border-radius;
position: relative;
}

@ -0,0 +1,9 @@
.modal-become-candidate {
max-width: 100%;
width: 280px;
@include media-breakpoint-down(sm) {
margin-left: auto;
margin-right: auto;
}
}

@ -0,0 +1,25 @@
.modal-bottom-disclaimer {
background-color: $modal-gray-background;
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
color: #a3a9b5;
display: flex;
font-size: 12px;
font-weight: normal;
line-height: 1.67;
padding: #{$modal-vertical-padding} #{$modal-horizontal-padding};
text-align: left;
&.b-b-r-0 {
border-bottom-right-radius: 0;
}
.modal-bottom-disclaimer-graphic {
flex-shrink: 0;
padding-right: 15px;
}
.modal-bottom-disclaimer-text {
flex-grow: 1;
}
}

@ -0,0 +1,13 @@
.modal-stake {
max-width: 100%;
width: 460px;
@include media-breakpoint-down(sm) {
margin-left: auto;
margin-right: auto;
}
}
.modal-stake-two-cols {
display: flex;
}

@ -0,0 +1,64 @@
$modal-status-graph-error: #ff0d51 !default;
$modal-status-graph-warning: #ff8502 !default;
$modal-status-graph-success: $primary !default;
.modal-status {
max-width: 100%;
width: 300px;
@include media-breakpoint-down(sm) {
margin-left: auto;
margin-right: auto;
}
}
.modal-status-graph {
align-items: center;
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
display: flex;
height: 135px;
justify-content: center;
&-error {
background-color: $modal-status-graph-error;
}
&-warning {
background-color: $modal-status-graph-warning;
}
&-success {
background-color: $modal-status-graph-success;
}
svg {
margin-top: 15px;
}
}
.modal-status-body {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
padding: #{$modal-vertical-padding} #{$modal-horizontal-padding};
}
.modal-status-title {
color: #333;
font-size: 18px;
font-weight: normal;
line-height: 1.2;
margin: 0 0 15px;
text-align: center;
}
.modal-status-text {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.5;
margin: 0 0 25px;
text-align: center;
}

@ -0,0 +1,49 @@
.modal-validator-info {
max-width: 100%;
width: 660px;
@include media-breakpoint-down(sm) {
margin-left: auto;
margin-right: auto;
}
}
.modal-validator-info-content {
background-color: $modal-gray-background;
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
color: #a3a9b5;
column-gap: 60px;
display: grid;
font-size: 12px;
font-weight: normal;
grid-template-columns: 1fr 1fr 1fr;
line-height: 1.67;
padding: #{$modal-vertical-padding} #{$modal-horizontal-padding};
row-gap: 30px;
@include media-breakpoint-down(sm) {
grid-template-columns: 1fr 1fr;
}
}
.modal-validator-info-item {
&-title {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
margin-bottom: 15px;
padding: 0;
text-align: left;
}
&-value {
color: #333;
font-size: 14px;
font-weight: normal;
line-height: 1.2;
margin: 0;
padding: 0;
}
}

@ -1,20 +1,19 @@
.nav-tabs {
.nav-link {
padding: 1.25rem 2.5rem;
color: $text-muted;
font-size: 14px;
border-top-left-radius: 0;
border-top-right-radius: 0;
color: $text-muted;
font-size: 14px;
padding: 1.25rem 2.5rem;
&:hover {
color: $primary;
}
&.active {
color: $white;
background-color: $primary;
border-color: $primary;
color: $white;
}
&:hover {
@ -23,11 +22,10 @@
}
}
.nav-tabs .nav-item.show .nav-link {
color: $white;
background-color: darken($primary, 10%);
border-color: darken($primary, 10%);
color: $white;
}
.api-doc-tab {

@ -1,9 +1,176 @@
.navbar {
// Default variables
$header-background-color: #fff !default;
$header-links-color: #a3a9b5 !default;
$header-links-color-active: #333 !default;
$header-icon-color: $header-links-color !default;
$header-icon-color-hover: #333 !default;
$header-icon-border-color-hover: $primary !default;
$header-toggler-icon: "data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{transparentize($primary, 0.5)}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E" !default;
$header-textfield-text-color: $header-links-color !default;
$header-textfield-background-color: #f5f6fa !default;
$header-textfield-magnifier-color: $header-links-color !default;
$header-link-horizontal-padding: 0.71rem;
$navbar-logo-height: 1.5em !default;
$navbar-logo-width: auto !default;
.navbar.navbar-primary {
background-color: $header-background-color;
position: relative;
z-index: 100;
&-primary {
background-color: $primary;
.nav-item {
font-size: 14px;
}
.navbar-nav {
flex-grow: 1;
.nav-link {
align-items: center;
color: $header-links-color;
display: flex;
font-size: 14px;
position: relative;
&:before {
background-color: $header-icon-border-color-hover;
border-radius: 0 0 4px 4px;
content: "";
display: block;
height: 0.25rem;
left: 50%;
opacity: 0;
position: absolute;
top: -10px;
transform: translateX(-50%);
transition: all 0.2s ease;
width: calc(
100% - #{$header-link-horizontal-padding} - #{$header-link-horizontal-padding}
);
}
&.active,
&:hover {
@include media-breakpoint-up(lg) {
&:before {
opacity: 1;
}
}
}
&.active,
&:hover,
&.active-icon {
color: $header-links-color-active;
.nav-link-icon {
path {
fill: $header-icon-color-hover;
}
}
}
.nav-link-icon {
align-items: center;
display: flex;
margin-right: 0.71em;
position: relative;
top: -1px;
path {
fill: $header-icon-color;
}
}
}
.nav-item-networks {
margin-left: auto;
}
}
.navbar-toggler {
border-color: $primary;
color: $primary;
.navbar-toggler-icon {
background-image: url($header-toggler-icon);
}
}
.search-form {
display: flex;
@include media-breakpoint-up(xl) {
height: 57px;
margin-bottom: -8px;
margin-top: -8px;
}
}
.form-inline {
height: 100%;
}
.input-group {
height: 100%;
position: relative;
}
.form-control {
background: $header-textfield-background-color;
border-color: $header-textfield-background-color;
color: $header-textfield-text-color;
font-size: 14px;
height: 100%;
padding-left: 38px;
padding-right: 8px;
position: relative;
width: 100%;
z-index: 1;
&[placeholder]{
text-overflow: ellipsis !important;
}
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
text-overflow: ellipsis !important;
}
&::-moz-placeholder { /* Firefox 19+ */
text-overflow: ellipsis !important;
}
&:-ms-input-placeholder { /* IE 10+ */
text-overflow: ellipsis !important;
}
&:-moz-placeholder { /* Firefox 18- */
text-overflow: ellipsis !important;
}
&:focus {
box-shadow: none;
}
@include media-breakpoint-up(xl) {
width: 280px;
}
}
.input-group-append {
height: 38px;
left: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 38px;
z-index: 5;
* {
fill: $header-textfield-magnifier-color;
}
}
.input-group-text {
align-items: center;
background: none;
border-color: transparent;
display: flex;
height: 100%;
justify-content: center;
padding: 0;
width: 100%;
}
}
@ -13,20 +180,24 @@
flex-direction: column;
.search-form {
align-items: center;
order: -1;
width: 100%;
align-items: center;
form {
flex-grow: 1;
}
}
.input-group {
width: 100%;
}
.awesomplete {
@include media-breakpoint-down(sm) {
width: 100%;
}
}
}
.navbar-nav {
white-space: nowrap;
}
@ -37,134 +208,14 @@
}
.navbar-logo {
height: 1.5em;
height: $navbar-logo-height;
width: $navbar-logo-width;
}
@include media-breakpoint-up(md) {
.navbar-expand-lg .navbar-nav .nav-link {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
.navbar .nav-item {
font-size: 14px;
}
.navbar-dark .navbar-nav .nav-link {
color: $white;
}
.navbar-nav .nav-link {
display: flex;
align-items: center;
}
.nav-link-icon {
display: flex;
align-items: center;
position: relative;
top: -1px;
margin-right: 0.5em;
path {
fill: $secondary;
}
}
.navbar .search-form {
display: flex;
}
.navbar .form-control {
background: transparent;
width: auto;
font-size: 12px;
border: none;
color: $white;
padding-right: 0px;
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: transparentize($white, 0.5);
}
&::-moz-placeholder { /* Firefox 19+ */
color: transparentize($white, 0.5);
}
&:-ms-input-placeholder { /* IE 10+ */
color: transparentize($white, 0.5);
}
&:-moz-placeholder { /* Firefox 18- */
color: transparentize($white, 0.5);
}
&:focus {
box-shadow: none;
}
@include media-breakpoint-up(xl) {
width: calc(41ch + #{$input-padding-x});
}
}
.navbar .input-group-text {
background: none;
border: none;
}
.input-group-append {
margin-left: -0.5px;
path {
fill: $secondary;
}
}
.topnav-nav-link {
position: relative;
color: $white;
&:before {
content: "";
position: absolute;
display: block;
bottom: -10px;
left: 50%;
width: 75%;
height: 0.2rem;
background-color: $secondary;
border-radius: 4px 4px 0 0;
opacity: 0;
transform: translateX(-50%);
transition: all 0.2s ease;
}
}
@include media-breakpoint-up(lg) {
.topnav-nav-link:hover:before {
opacity: 1;
}
}
.dropdown-menu {
padding: 0px;
}
.dropdown-item {
padding: 10px 20px;
font-size: 12px;
&:hover {
background-color: $tertiary;
color: $white;
}
&.header {
font-weight: bold;
&.division {
border-top: 1px solid rgb(183, 185, 184);
}
padding-left: $header-link-horizontal-padding;
padding-right: $header-link-horizontal-padding;
}
}

@ -1,35 +1,42 @@
$pagination-page-link-background: #f5f6fa !default;
$pagination-page-link-color: #a3a9b5 !default;
$pagination-page-link-background-active: $primary !default;
$pagination-page-link-color-active: #fff !default;
.pagination {
display: block;
margin: 0;
padding: 30px;
&-list {
list-style: none;
margin: 0;
padding: 0;
white-space: nowrap;
}
.page-item {
margin: 0 10px 0 0;
li {
font-size: 13px;
display: inline-block;
margin: 0;
margin-right: explorer-size(-3);
&:last-of-type { margin-right: 0; }
&:last-child {
margin-right: 0;
}
}
&-link {
.page-link {
background-color: $pagination-page-link-background;
border: 1px solid $pagination-page-link-background;
color: $pagination-page-link-color;
display: block;
line-height: 1;
color: $gray-400;
text-decoration: none;
padding: 7px 9px;
border: 1px solid $border-color;
border-radius: $border-radius;
line-height: 1.25;
margin: 0;
padding: 0.5rem 0.75rem;
position: relative;
&:hover {
background-color: darken($pagination-page-link-background, 5%);
border-color: darken($pagination-page-link-background, 5%);
}
&:hover,
&.is-current {
border-color: $primary;
background: $primary;
color: $white;
.active & {
&,
&:hover {
background-color: $pagination-page-link-background-active;
border-color: $pagination-page-link-background-active;
color: $pagination-page-link-color-active;
}
}
}
}

@ -1,5 +1,4 @@
.panels {
&__container {
padding: 20px;
}

@ -0,0 +1,53 @@
$progress-from-to-background: #f5f6fa !default;
$progress-from-to-progress-background: $primary !default;
.progress-from-to {
min-width: 120px;
max-width: 100%;
.stakes-table & {
width: 120px;
}
}
.progress-from-to-values {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.progress-from-to-value {
color: #333;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
.stakes-tr-banned & {
color: $stakes-banned-color;
}
}
.progress-from-to-background {
background-color: $progress-from-to-background;
border-radius: 2px;
height: 4px;
overflow: hidden;
position: relative;
.stakes-tr-banned & {
background-color: darken($stakes-banned-background, 5%);
}
}
.progress-from-to-progress {
background-color: $progress-from-to-progress-background;
height: 100%;
left: 0;
max-width: 100%;
position: absolute;
top: 0;
.stakes-tr-banned & {
background-color: $stakes-banned-color;
}
}

@ -0,0 +1,142 @@
$stakes-dashboard-copy-icon-color: $copy-icon-color !default;
$stakes-address-color: $primary !default;
$stakes-control-color: $primary !default;
$stakes-banned-color: #ff7986 !default;
$stakes-banned-background: #fff3f7 !default;
$stakes-stats-item-color: #fff !default;
$stakes-stats-item-border-color: #fff !default;
.stakes-top {
@include gradient-container();
margin-bottom: 3rem;
padding: 50px 0;
}
.stakes-top-stats {
display: flex;
justify-content: space-between;
@include stats-item($stakes-stats-item-border-color, $stakes-stats-item-color);
@include media-breakpoint-down(md) {
column-gap: 30px;
display: grid;
grid-template-columns: 1fr 1fr;
row-gap: 30px;
}
.stakes-top-stats-item {
@include media-breakpoint-down(md) {
&:nth-child(1),
&:nth-child(2),
&:nth-child(3) {
grid-column-start: 1;
}
&:nth-child(4) {
grid-column-start: 2;
grid-row-start: 1;
}
}
@include media-breakpoint-down(sm) {
grid-column-start: auto !important;
grid-row-start: auto !important;
}
}
@include media-breakpoint-down(sm) {
grid-template-columns: 1fr;
}
.copy-icon {
margin-left: 20px;
path {
fill: $stakes-dashboard-copy-icon-color;
}
}
}
.stakes-top-stats-value {
align-items: center;
display: flex;
.stakes-top-stats-item-address & {
white-space: normal;
word-break: break-all;
}
}
.stakes-top-stats-login {
color: $primary;
cursor: pointer;
margin-right: 8px;
}
.stakes-address-container {
display: flex;
cursor: pointer;
justify-content: flex-start;
.stakes-address {
color: $stakes-address-color;
margin-right: 10px;
.stakes-tr-banned & {
color: $stakes-banned-color;
}
}
}
.stakes-controls {
align-items: center;
display: flex;
justify-content: flex-end;
padding-right: 30px;
}
.stakes-control {
cursor: pointer;
display: flex;
justify-content: flex-start;
color: $stakes-control-color;
font-size: 14px;
font-weight: normal;
line-height: 1.2;
margin-right: 25px;
text-align: left;
&:last-child {
margin-right: 0;
}
}
.stakes-control-icon {
margin-right: 10px;
path {
fill: $stakes-control-color;
}
}
.stakes-top-buttons {
align-items: center;
display: flex;
justify-content: center;
flex-direction: column;
.btn-add-full {
margin-bottom: 10px;
}
@include media-breakpoint-down(md) {
grid-column-start: 2;
grid-row-start: 2;
justify-self: end;
}
@include media-breakpoint-down(sm) {
grid-column-start: auto !important;
grid-row-start: auto !important;
justify-self: center;
}
}

@ -0,0 +1,21 @@
$stakes-btn-remove-pool-color: $primary !default;
.stakes-btn-remove-pool {
align-items: center;
color: $stakes-btn-remove-pool-color;
cursor: pointer;
display: flex;
font-size: 12px;
font-weight: 600;
height: 36px;
justify-content: center;
text-align: center;
svg {
margin-right: 10px;
}
path {
fill: $stakes-btn-remove-pool-color;
}
}

@ -0,0 +1,35 @@
.stakes-empty-content {
display: flex;
justify-content: center;
padding: 100px 15px;
}
.stakes-empty-content-pic {
flex-shrink: 0;
margin: 0 50px 0 0;
}
.stakes-empty-content-pic-svg-path {
fill: $primary;
}
.stakes-empty-content-info {
max-width: 300px;
}
.stakes-empty-content-title {
font-size: 18px;
font-weight: normal;
line-height: 1.2;
margin: 0 0 15px;
text-align: left;
}
.stakes-empty-content-text {
color: #a3a9b5;
font-size: 14px;
font-weight: normal;
line-height: 1.71;
margin: 0 0 25px;
text-align: left;
}

@ -0,0 +1,74 @@
.stakes-progress {
.modal-stake-right & {
border-left: 1px solid $base-border-color;
flex-shrink: 0;
height: 100%;
padding: $modal-vertical-padding $modal-horizontal-padding;
width: 190px;
}
}
.stakes-progress-info {
margin-bottom: 25px;
&:last-child {
margin-bottom: 0;
}
}
.stakes-progress-info-title {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
margin: 0 0 12px;
text-align: left;
}
.stakes-progress-info-value {
color: #333;
font-size: 14px;
font-weight: normal;
line-height: 1.2;
margin: 0;
text-align: left;
&.link-color {
color: $primary;
}
}
.stakes-progress-graph {
margin: 0 0 20px;
position: relative;
}
.stakes-progress-graph-canvas {
position: relative;
z-index: 1;
}
.stakes-progress-data {
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
z-index: 12;
}
.stakes-progress-data-total {
color: #a3a9b5;
font-size: 12px;
font-weight: normal;
line-height: 1.2;
text-align: center;
}
.stakes-progress-data-progress {
color: #333;
font-size: 24px;
font-weight: bold;
line-height: 1.2;
margin: 0 0 8px;
text-align: center;
}

@ -0,0 +1,75 @@
$stakes-table-th-background: #f5f6fa !default;
$stakes-table-cell-separation: 25px !default;
.stakes-table-container {
max-width: 100%;
overflow-x: auto;
width: 100%;
}
.stakes-table {
min-width: fit-content;
width: 100%;
}
.stakes-table-th {
background-color: $stakes-table-th-background;
color: #a3a9b5;
font-size: 14px;
font-weight: bold;
line-height: 1.2;
text-align: left;
&:first-child {
min-width: 15px;
}
}
.stakes-table-th-content {
align-items: center;
display: flex;
justify-content: flex-start;
padding: 21px $stakes-table-cell-separation 21px 0;
position: relative;
z-index: 0;
}
.stakes-th-text {
margin-right: 10px;
white-space: nowrap;
}
.stakes-td {
border-bottom: 1px solid #f5f6fa;
font-size: 14px;
font-weight: normal;
height: 60px;
line-height: 1.2;
padding-right: $stakes-table-cell-separation;
text-align: left;
vertical-align: middle;
white-space: nowrap;
&:last-child {
padding-right: 0;
}
.stakes-tr-banned & {
background-color: $stakes-banned-background;
color: $stakes-banned-color;
}
}
.stakes-td-order {
min-width: 50px;
padding-left: 30px;
text-align: left;
}
.stakes-td-link-style {
color: $primary;
.stakes-tr-banned & {
color: $stakes-banned-color;
}
}

@ -1,6 +1,7 @@
.table-font {
thead th, td, th {
thead th,
td,
th {
border-top: none;
border-bottom: none;
}

@ -1,200 +1,155 @@
.tile {
font-size: 12px;
color: $text-muted;
line-height: 1.4rem;
border: 1px solid $border-color;
border-radius: 2px;
padding: 1rem;
box-shadow: 0 1px 5px rgba($black, 0.15);
& + & {
margin-top: 1rem;
}
@include media-breakpoint-down(md) {
margin-bottom: 1rem;
}
&-type {
&-block {
border-left: 4px solid $indigo;
.tile-label {
color: $indigo;
}
$tile-type-block-color: $primary !default;
$tile-type-uncle-color: $cyan !default;
$tile-type-reorg-color: $purple !default;
$tile-type-emission-reward-color: $lilac !default;
$tile-type-transaction-color: $blue !default;
$tile-type-contract-call-color: $green !default;
$tile-type-contract-creation-color: $pink !default;
$tile-type-token-transfer-color: $orange !default;
$tile-type-unique-token-color: $orange !default;
$tile-type-unique-token-image-color: $orange !default;
$tile-type-internal-transaction-color: $teal !default;
$tile-type-api-documentation-color: $primary !default;
$tile-type-progress-bar-color: $primary !default;
$tile-padding: 1rem;
@mixin generate-tile-block($prefix, $color, $label-color: false) {
a {
@if ($label-color) {
color: $label-color;
}
&-uncle {
border-left: 4px solid $cyan;
.tile-label {
color: $cyan;
}
}
&-reorg {
border-left: 4px solid $purple;
.tile-label {
color: $purple;
}
}
&-emission-reward {
border-left: 4px solid $lilac;
.tile-label {
color: $lilac;
}
}
&-transaction {
border-left: 4px solid $blue;
.tile-label {
color: $blue;
}
}
&-contract-call {
border-left: 4px solid $green;
.tile-label {
color: $green;
}
@else {
color: $color;
}
}
&-contract-creation {
border-left: 4px solid $pink;
&.tile-type-#{ $prefix } {
border-left: 4px solid $color;
.tile-label {
color: $pink;
.tile-label {
@if ($label-color) {
color: $label-color;
}
.tile-text-highlight {
text-decoration: underline;
text-decoration-style: dashed;
@else {
color: $color;
}
}
&-token {
border: 1px solid $border-color;
}
&-token-transfer {
border-left: 4px solid $orange;
padding-bottom: 10px;
.tile-label {
color: $orange;
.tile-status-label {
@if ($label-color) {
color: $label-color;
}
&-short-name {
overflow: hidden;
max-width: 45%;
vertical-align: middle;
text-overflow: ellipsis;
@else {
color: $color;
}
}
&-unique-token {
border-left: 4px solid $orange;
padding: 35px 0;
.tile-label {
color: $orange;
}
.tile-transaction-type-block {
background-color: rgba($color, 0.1);
border-bottom: 1px solid $color;
border-right: 1px solid $color;
border-top: 1px solid $color;
color: $color;
}
}
}
&-unique-token-image{
border-left: 4px solid $orange;
padding: 0;
/*********************************************************************/
.tile-label {
color: $orange;
}
& .tile-content {
padding: 45px 0;
}
}
.tile-title {
color: #333;
font-size: 12px;
&-internal-transaction {
border-left: 4px solid $teal;
&-hash {
font-weight: 300;
}
.tile-label {
color: $teal;
}
}
&-lg {
color: $body-color;
font-size: 16px;
}
}
&-api-documentation {
border-left: 4px solid $primary;
background-color: transparent;
width: 100%;
text-align: left;
padding: 15px;
cursor: pointer;
.tile-label {
font-size: 12px;
font-weight: 700;
line-height: 1.2;
margin: 0 0 2px;
.tile-label {
color: $primary;
}
}
&:last-child {
margin-bottom: 0;
}
&-status {
&--error--reason {
border-top: 2px solid lighten($danger, 10%);
border-right: 2px solid lighten($danger, 10%);
border-bottom: 2px solid lighten($danger, 10%);
.tile-status-label {
color: $danger;
}
}
&--awaiting-internal-transactions {
border-top: 2px solid lighten($warning, 10%);
border-right: 2px solid lighten($warning, 10%);
border-bottom: 2px solid lighten($warning, 10%);
&.font-weight-400 {
font-weight: 400;
}
}
.tile-status-label {
color: $warning;
}
.tile-transaction-type-block {
align-items: center;
bottom: -17px;
justify-content: center;
margin-left: -1px;
margin-top: -34px;
padding: 0;
position: relative;
@include media-breakpoint-down(sm) {
align-items: flex-start;
background: none !important;
border: none !important;
bottom: auto;
flex-direction: column !important;
margin: 0 0 10px;
padding-left: 1rem;
top: auto;
.tile-status-label {
margin-left: 0 !important;
}
}
}
.tile-title {
.tile-status-label {
font-size: 12px;
font-weight: 600;
color: $gray-700;
margin-bottom: 0;
font-weight: 400;
line-height: 1.2;
}
&-hash {
font-weight: 300;
}
.tile-bottom-contents {
background-color: #f6f7f9;
font-size: 12px;
line-height: 1.2;
padding: 0.8rem 1rem;
}
&-lg {
font-size: 16px;
color: $body-color;
}
.tile-transactions {
color: #a3a9b5;
font-size: 12px;
font-weight: 400;
line-height: 1.2;
margin-bottom: 10px;
text-align: left;
}
.tile-badge {
line-height: 1.25rem;
margin-bottom: 0.1rem;
padding: 0;
width: 2.5rem;
line-height: 1.25rem;
text-align: center;
width: 2.5rem;
}
.tile-muted {
border-left: 1px solid $border-color;
background-color: $gray-100;
border-left: 1px solid $border-color;
box-shadow: none;
}
.tile-function-response {
span.function-response-item {
display: block;
margin-left: 1rem;
@ -203,12 +158,132 @@
content: ",";
}
}
p {
margin: 0;
}
}
.tile-image {
max-width: 140px;
max-height: 140px;
max-width: 140px;
}
.tile {
border-radius: 4px;
border: 1px solid $border-color;
color: $text-muted;
flex-grow: 1;
font-size: 12px;
line-height: 1.4rem;
padding: $tile-padding;
@include generate-tile-block('block', $tile-type-block-color, darken($tile-type-block-color, 20%));
@include generate-tile-block('uncle', $tile-type-uncle-color);
@include generate-tile-block('reorg', $tile-type-reorg-color);
@include generate-tile-block('emission-reward', $tile-type-emission-reward-color);
@include generate-tile-block('transaction', $tile-type-transaction-color);
@include generate-tile-block('contract-call', $tile-type-contract-call-color);
@include generate-tile-block('contract-creation', $tile-type-contract-creation-color);
@include generate-tile-block('token-transfer', $tile-type-token-transfer-color);
@include generate-tile-block('unique-token', $tile-type-unique-token-color);
@include generate-tile-block('unique-token-image', $tile-type-unique-token-image-color);
@include generate-tile-block('internal-transaction', $tile-type-internal-transaction-color);
@include generate-tile-block('api-documentation', $tile-type-api-documentation-color);
&.n-p {
padding: 0;
}
& + & {
margin-top: 1rem;
}
@include media-breakpoint-down(md) {
margin-bottom: 1rem;
[data-selector="place-holder"] & {
min-height: 105px;
}
}
&.tile-type-block {
.tile-title {
font-weight: 700;
line-height: 1.2;
margin-bottom: 12px;
padding: 1rem 1rem 0 1rem;
}
}
&.tile-type-contract-creation {
.tile-text-highlight {
text-decoration: underline;
text-decoration-style: dashed;
}
}
&.tile-type-token {
border: 1px solid $border-color;
}
&.tile-type-token-transfer {
&-short-name {
max-width: 45%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}
}
&.tile-type-unique-token-image {
padding: 0;
& .tile-content {
padding: 45px 0;
}
}
&.tile-type-api-documentation {
background-color: transparent;
cursor: pointer;
padding: 15px;
text-align: left;
width: 100%;
}
.tile-status--error--reason {
border-bottom: 2px solid lighten($danger, 10%);
border-right: 2px solid lighten($danger, 10%);
border-top: 2px solid lighten($danger, 10%);
.tile-status-label {
color: $danger;
}
}
.tile-status--awaiting-internal-transactions {
border-bottom: 2px solid lighten($warning, 10%);
border-right: 2px solid lighten($warning, 10%);
border-top: 2px solid lighten($warning, 10%);
.tile-status-label {
color: $warning;
}
}
/* Progress bar */
.progress {
background-color: #f5f6fa;
border-radius: 2px;
height: 4px;
margin-top: 8px;
width: 120px;
.progress-bar {
background-color: $tile-type-progress-bar-color;
border-radius: 2px;
}
}
}

@ -2,7 +2,7 @@
min-width: 14.375rem;
margin-top: 1rem;
background-color: $gray-100;
box-shadow: 0px 2px 3px 2px $gray-200;
box-shadow: 0 2px 3px 2px $gray-200;
border: none;
.dropdown-items {
@ -14,7 +14,8 @@
}
}
&:after, &:before {
&:after,
&:before {
bottom: 100%;
right: 14%;
border: solid transparent;

@ -2,14 +2,17 @@
line-height: 0.5;
text-align: center;
&:hover, :focus {
&:hover,
:focus {
text-decoration: none;
}
}
.token-tile-view-more span {
display: inline-block;
position: relative;
}
.token-tile-view-more span:before,
.token-tile-view-more span:after {
content: "";
@ -20,43 +23,43 @@
top: 0;
width: 43%;
}
.token-tile-view-more span:before {
right: 55%;
margin-right: .9375rem;
margin-right: 0.9375rem;
}
.token-tile-view-more span:after {
left: 55%;
margin-left: .9375rem;
margin-left: 0.9375rem;
}
@include media-breakpoint-down(md) {
.token-tile-view-more span:before,
.token-tile-view-more span:after {
width: 40%;
}
.token-tile-view-more span:before {
right: 58%;
}
.token-tile-view-more span:after {
left: 58%;
}
}
@include media-breakpoint-down(sm) {
.token-tile-view-more span:before,
.token-tile-view-more span:after {
width: 28%;
}
.token-tile-view-more span:before {
right: 66%;
}
.token-tile-view-more span:after {
left: 66%;
}
}

@ -0,0 +1,18 @@
$tooltip-background-color: $primary !default;
$tooltip-color: #fff !default;
.tooltip {
max-width: 250px;
min-width: 100px;
.tooltip-inner {
background-color: $tooltip-background-color;
border-radius: 5px;
color: $tooltip-color;
padding: 15px;
}
.arrow::before {
border-top-color: $tooltip-background-color;
}
}

@ -1,14 +1,14 @@
.transaction-input-text{
.transaction-input-text {
white-space: pre;
color: black;
pre{
code{
pre {
code {
color: black;
}
}
}
.transaction-input-table{
.transaction-input-table {
overflow-x: scroll;
}

@ -0,0 +1,6 @@
.transaction-details-address {
font-size: 12px;
font-weight: bold;
line-height: 1.2;
margin: 0 0 12px;
}

@ -1,20 +0,0 @@
.address-overview {
.card-section {
margin-bottom: 3rem;
}
.card {
margin-bottom: 0;
height: 100%;
}
}
.balance-card-title {
margin-bottom: .5rem;
}
.address-detail-item{
display: inline-block;
padding-bottom: 0.5em;
margin-right: 1em;
}

File diff suppressed because it is too large Load Diff

@ -1,3 +1,3 @@
$primary: #34C88A;
$secondary: #163F59;
$tertiary: #466D85;
$primary: #34c88a;
$secondary: #163f59;
$tertiary: #466d85;

@ -1,6 +1,6 @@
$primary: #fec042;
$secondary: #53546a;
$tertiary: #1755e4;
$primary: #fec042;
$secondary: #53546a;
$tertiary: #1755e4;
.navbar.navbar-primary {
background-color: #f2f6f8;
@ -16,25 +16,24 @@ $tertiary: #1755e4;
.form-control {
color: $secondary;
border-color: transparentize($secondary, 0.30);
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
&::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: transparentize($secondary, 0.5);
}
&::-moz-placeholder { /* Firefox 19+ */
&::-moz-placeholder {
/* Firefox 19+ */
color: transparentize($secondary, 0.5);
}
&:-ms-input-placeholder { /* IE 10+ */
&:-ms-input-placeholder {
/* IE 10+ */
color: transparentize($secondary, 0.5);
}
&:-moz-placeholder { /* Firefox 18- */
&:-moz-placeholder {
/* Firefox 18- */
color: transparentize($secondary, 0.5);
}
}
.input-group-text {
border-color: transparentize($secondary, 0.30);
}
}
.navbar-logo {

@ -1,3 +1,3 @@
$primary: #4A4A4A;
$secondary: #01C85C;
$tertiary: #466D85;
$primary: #4a4a4a;
$secondary: #01c85c;
$tertiary: #466d85;

@ -1,3 +1,8 @@
$primary: #1b1b39;
$secondary: #4beba0;
$tertiary: #4beba0;
$primary: #1b1b39;
$secondary: #4beba0;
$tertiary: #4beba0;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,3 @@
$primary: #16465b;
$secondary: #5ab3ff;
$tertiary: #77a4c5;
$primary: #16465b;
$secondary: #5ab3ff;
$tertiary: #77a4c5;

@ -1,3 +1,3 @@
$primary: #1F4C55;
$secondary: #E08E64;
$tertiary: #333333;
$primary: #1f4c55;
$secondary: #e08e64;
$tertiary: #333333;

@ -1,3 +1,3 @@
$primary: #586A8F;
$secondary: #00BCD4;
$tertiary: #6F87B2;
$primary: #586a8f;
$secondary: #00bcd4;
$tertiary: #6f87b2;

@ -1,3 +1,8 @@
$primary: #20201A;
$secondary: #F0D96B;
$tertiary: #4A443A;
$primary: #20201a;
$secondary: #f0d96b;
$tertiary: #4a443a;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,8 @@
$primary: #28aca4;
$secondary: #89edda;
$tertiary: #997fdc;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -0,0 +1,130 @@
$primary: #1d3154;
$secondary: #fdcec4;
$tertiary: #00ff00;
$common-link-color: #2e4d84;
$dashboard-banner-gradient-start: #fdb8aa;
$dashboard-banner-gradient-end: #fdcec4;
$dashboard-stats-item-label-color: $primary;
$dashboard-stats-item-value-color: $primary;
$dashboard-stats-item-border-color: $primary;
$header-links-color-active: #333;
$tile-type-block-color: $secondary;
$navbar-logo-height: 18px;
$navbar-logo-width: 100px;
$footer-background-color: $primary;
$footer-item-disc-color: $secondary;
$footer-link-color: $secondary;
$footer-social-icon-color: $secondary;
$footer-text-color: #fff;
$footer-logo-height: 18px;
$footer-logo-width: 100px;
$btn-line-color: $primary;
$dashboard-stats-item-color: $primary;
$dashboard-stats-item-border-color: $primary;
$stakes-stats-item-color: $primary;
$stakes-stats-item-border-color: $primary;
$card-background-1: $secondary;
$card-background-1-text-color: $primary;
$dashboard-banner-network-stats-static-image: "/images/lukso_dashboard_image.png";
// Custom home
$dashboard-banner-network-plain-container-height: 150px;
.layout-container {
.dashboard-banner-container::after {
display: none;
}
.dashboard-banner-network-graph {
display: none;
}
.dashboard-banner-network-plain-container {
background-color: transparent;
height: $dashboard-banner-network-plain-container-height;
margin: 0;
padding: 0;
width: 100%;
@include media-breakpoint-down(lg) {
height: auto;
min-height: $dashboard-banner-network-plain-container-height;
padding-bottom: 0;
padding-top: 25px;
}
.dashboard-banner-network-stats {
align-items: center;
display: flex;
height: 100%;
justify-content: flex-start;
width: 100%;
@include media-breakpoint-down(lg) {
flex-wrap: wrap;
justify-content: space-between;
}
&::after {
background-color: transparent;
background-image: url($dashboard-banner-network-stats-static-image);
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
bottom: auto;
content: "";
display: block;
flex-grow: 0;
flex-shrink: 0;
height: $dashboard-banner-network-plain-container-height;
margin: 0 0 0 auto;
order: 150;
width: 301px;
@include media-breakpoint-down(lg) {
display: none;
}
}
.dashboard-banner-network-stats-item {
margin-right: 60px;
@include media-breakpoint-down(lg) {
flex-grow: 1;
flex-shrink: 1;
margin-right: 0;
margin-bottom: 25px;
}
@include media-breakpoint-down(sm) {
min-width: 50%;
}
&.dashboard-banner-network-stats-item-1 {
order: 1;
}
&.dashboard-banner-network-stats-item-2 {
order: 2;
}
&.dashboard-banner-network-stats-item-3 {
order: 4;
margin-right: 0;
}
&.dashboard-banner-network-stats-item-4 {
order: 3;
}
}
}
}
}

@ -1,3 +1,3 @@
$primary: #171717;
$secondary: #FF9000;
$tertiary: #727272;
$primary: #171717;
$secondary: #ff9000;
$tertiary: #727272;

@ -1,25 +1,8 @@
// ------------------------------- //
// Neutral Theme 1: Blue Shifted
// ------------------------------- //
$primary: #262d62;
$secondary: #687bf6;
$tertiary: #687bf6;
// $primary: #254F8D;
// $secondary: #72B0FB;
// $tertiary: #72B0FB;
$dashboard-line-color-price: #8286a9 !default;
// ------------------------------- //
// Neutral Theme 2: Black and Blue
// ------------------------------- //
// $primary: #34373E;
// $secondary: #72B0FB;
// $tertiary: #72B0FB;
// ------------------------------- //
// Neutral Theme 3: Purple Shifted
// ------------------------------- //
$primary: #262D62;
$secondary: #687BF6;
$tertiary: #687BF6;
$base-border-color: #e2e5ec !default;
$common-container-margin: 50px !default;

@ -1,3 +1,8 @@
$primary: #343434;
$secondary: #A2D729;
$tertiary: #7F7F7F;
$primary: #343434;
$secondary: #a2d729;
$tertiary: #7f7f7f;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,11 @@
$primary: #5b389f;
$secondary: #7dd79f;
$tertiary: #997fdc;
$primary: #5b389f;
$secondary: #7dd79f;
$tertiary: #997fdc;
$header-links-color-active: #333;
$button-secondary-color: $primary;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -0,0 +1,29 @@
$primary: #15bba6;
$secondary: #17314f;
$tertiary: #00ff00;
$header-links-color-active: #333;
$dashboard-banner-gradient-start: $secondary;
$dashboard-banner-gradient-end: #1e4168;
$dashboard-line-color-market: $primary;
$tile-type-block-border-color: $secondary;
$tile-type-block-color: #333;
$footer-background-color: #173250;
$footer-text-color: #909dac;
$navbar-logo-height: auto;
$navbar-logo-width: 100px;
$footer-logo-height: auto;
$footer-logo-width: 100px;
$card-background-1: $secondary;
$card-background-1-text-color: #fff;
$btn-copy-color: $secondary;
$btn-qr-color: $secondary;
$btn-dropdown-line-color: $secondary;

@ -1,3 +1,8 @@
$primary: #2fa8f8;
$primary: #2fa8f8;
$secondary: #a2daff;
$tertiary: #006aa7;
$tertiary: #006aa7;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,8 @@
$primary: #A375FF;
$secondary: #00F0BD;
$tertiary: #53A9FF;
$primary: #a375ff;
$secondary: #00f0bd;
$tertiary: #53a9ff;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,8 @@
$primary: #559387;
$secondary: #add7cf;
$tertiary: #38533d;
$primary: #559387;
$secondary: #add7cf;
$tertiary: #38533d;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,8 @@
$primary: #633D99;
$secondary: #6CC04A;
$tertiary: #A566FF;
$primary: #633d99;
$secondary: #6cc04a;
$tertiary: #a566ff;
$footer-background-color: $primary;
$footer-title-color: #fff;
$footer-text-color: #fff;
$footer-item-disc-color: $secondary;

@ -1,3 +1,3 @@
$primary: #211841;
$secondary: #F16950;
$tertiary: #8B84BC;
$primary: #211841;
$secondary: #f16950;
$tertiary: #8b84bc;

@ -1,2 +1,29 @@
@import "neutral_variables";
@import "theme/base_variables";
@import "neutral_variables";
// @import "dai_variables";
// @import "ethereum_classic_variables";
// @import "ethereum_variables";
// @import "expanse_variables";
// @import "gochain_variables";
// @import "goerli_variables";
// @import "kovan_variables";
// @import "lukso_variables";
// @import "musicoin_variables";
// @import "pirl_variables";
// @import "poa_variables";
// @import "posdao_variables";
// @import "rinkeby_variables";
// @import "ropsten_variables";
// @import "social_variables";
// @import "sokol_variables";
// @import "tobalaba_variables";
// @import "tomochain_variables";
// responsive breakpoints
$breakpoint-xs: 320px;
$breakpoint-sm: 480px;
$breakpoint-md: 768px;
$breakpoint-lg: 992px;
$breakpoint-xl: 1024px;
$breakpoint-xxl: 1280px;
$breakpoint-xxxl: 1366px;

@ -1,3 +1,3 @@
$primary: #3680F8;
$secondary: #2CCFC5;
$tertiary: #7289AF;
$primary: #3680f8;
$secondary: #2ccfc5;
$tertiary: #7289af;

@ -51,4 +51,6 @@ import './lib/token_transfers_toggle'
import './lib/transaction_input_dropdown'
import './lib/async_listing_load'
import './lib/tooltip'
import './lib/modals'
import './lib/try_api'
import './lib/card_tabs'

@ -0,0 +1,21 @@
import $ from 'jquery'
$(function () {
const activeTabCard = $('.card-tab.active')
if (!activeTabCard.siblings().length) {
activeTabCard.addClass('noCaret')
}
activeTabCard.on('click', function (e) {
e.preventDefault()
const siblings = $(this).siblings()
if (siblings.is(':hidden')) {
siblings.show()
} else {
siblings.hide()
}
})
})

@ -25,6 +25,9 @@ const config = {
time: {
unit: 'day',
stepSize: 14
},
ticks: {
fontColor: sassVariables.dashboardBannerChartAxisFontColor
}
}],
yAxes: [{
@ -36,7 +39,8 @@ const config = {
ticks: {
beginAtZero: true,
callback: (value, index, values) => `$${numeral(value).format('0,0.00')}`,
maxTicksLimit: 4
maxTicksLimit: 4,
fontColor: sassVariables.dashboardBannerChartAxisFontColor
}
}, {
id: 'marketCap',
@ -91,8 +95,8 @@ class MarketHistoryChart {
data: getPriceData(marketHistoryData),
fill: false,
pointRadius: 0,
backgroundColor: sassVariables.primary,
borderColor: sassVariables.primary,
backgroundColor: sassVariables.dashboardLineColorPrice,
borderColor: sassVariables.dashboardLineColorPrice,
lineTension: 0
}
this.marketCap = {
@ -101,8 +105,8 @@ class MarketHistoryChart {
data: getMarketCapData(marketHistoryData, availableSupply),
fill: false,
pointRadius: 0,
backgroundColor: sassVariables.secondary,
borderColor: sassVariables.secondary,
backgroundColor: sassVariables.dashboardLineColorMarket,
borderColor: sassVariables.dashboardLineColorMarket,
lineTension: 0
}
this.availableSupply = availableSupply

@ -0,0 +1,76 @@
import $ from 'jquery'
import Chart from 'chart.js'
$(function () {
$('.js-become-candidate').on('click', function () {
$('#becomeCandidateModal').modal()
})
$('.js-validator-info-modal').on('click', function () {
$('#validatorInfoModal').modal()
})
$('.js-move-stake').on('click', function () {
$('#errorStatusModal').modal()
})
$('.js-remove-pool').on('click', function () {
$('#warningStatusModal').modal()
})
$('.js-copy-address').on('click', function () {
$('#successStatusModal').modal()
})
$('.js-stake-stake').on('click', function () {
const modal = '#stakeModal'
const progress = parseInt($(`${modal} .js-stakes-progress-data-progress`).text())
const total = parseInt($(`${modal} .js-stakes-progress-data-total`).text())
$(modal).modal()
setupStakesProgress(progress, total, modal)
})
$('.js-withdraw-stake').on('click', function () {
const modal = '#withdrawModal'
const progress = parseInt($(`${modal} .js-stakes-progress-data-progress`).text())
const total = parseInt($(`${modal} .js-stakes-progress-data-total`).text())
$(modal).modal()
setupStakesProgress(progress, total, modal)
})
function setupStakesProgress (progress, total, modal) {
const stakeProgress = $(`${modal} .js-stakes-progress`)
const primaryColor = $('.btn-full-primary').css('background-color')
const backgroundColors = [
primaryColor,
'rgba(202, 199, 226, 0.5)'
]
const progressBackground = total - progress
// eslint-disable-next-line no-unused-vars
let myChart = new Chart(stakeProgress, {
type: 'doughnut',
data: {
datasets: [{
data: [progress, progressBackground],
backgroundColor: backgroundColors,
hoverBackgroundColor: backgroundColors,
borderWidth: 0
}]
},
options: {
cutoutPercentage: 80,
legend: {
display: false
},
tooltips: {
enabled: false
}
}
})
}
})

@ -1,6 +1,8 @@
import $ from 'jquery'
$('.tx-input-dropdown').click(function (e) {
e.preventDefault()
var el = $(e.currentTarget)
var target = $(el.attr('data-target'))

@ -99,18 +99,18 @@ if ($blockListPage.length || $uncleListPage.length || $reorgListPage.length) {
export function placeHolderBlock (blockNumber) {
return `
<div class="my-3" style="height: 98px;" data-selector="place-holder" data-block-number="${blockNumber}">
<div class="my-3" data-selector="place-holder" data-block-number="${blockNumber}">
<div
class="tile tile-type-block d-flex align-items-center fade-up"
style="height: 98px;"
style="min-height: 90px;"
>
<span class="loading-spinner-small ml-1 mr-4">
<span class="loading-spinner-block-1"></span>
<span class="loading-spinner-block-2"></span>
</span>
<div>
<div class="tile-title">${blockNumber}</div>
<div>${window.localized['Block Processing']}</div>
<span class="tile-title pr-0 pl-0">${blockNumber}</span>
<div class="tile-transactions">${window.localized['Block Processing']}</div>
</div>
</div>
</div>

@ -302,22 +302,20 @@ function bindTransactionErrorMessage (store) {
export function placeHolderBlock (blockNumber) {
return `
<div
class="col-lg-3 fade-up-blocks-chain"
style="min-height: 100px;"
data-selector="place-holder"
class="col-lg-3 d-flex fade-up-blocks-chain"
data-block-number="${blockNumber}"
data-selector="place-holder"
>
<div
class="tile tile-type-block d-flex align-items-center fade-up"
style="height: 100px;"
>
<span class="loading-spinner-small ml-1 mr-4">
<span class="loading-spinner-block-1"></span>
<span class="loading-spinner-block-2"></span>
</span>
<div>
<div class="tile-title">${blockNumber}</div>
<div>${window.localized['Block Processing']}</div>
<span class="tile-title pr-0 pl-0">${blockNumber}</span>
<div class="tile-transactions">${window.localized['Block Processing']}</div>
</div>
</div>
</div>

@ -0,0 +1,7 @@
import $ from 'jquery'
import hljs from 'highlight.js'
// only activate highlighting on pages with this selector
if ($('[data-activate-highlight]').length > 0) {
hljs.initHighlightingOnLoad()
}

@ -1,3 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path fill="#7DD79F" fill-rule="evenodd" d="M15 16H1a1 1 0 0 1-1-1v-4a3 3 0 0 1 3-3h1V3a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v5h1a3 3 0 0 1 3 3v4a1 1 0 0 1-1 1zM10 4a2 2 0 1 0-4 0v3a2 2 0 1 0 4 0V4zm4 8c0-1.105-1.075-2-2.4-2h-.379c-.549.61-1.336 1-2.221 1H7c-.885 0-1.672-.39-2.221-1H4.4c-1.325 0-2.4.895-2.4 2v2h12v-2z"/>
</svg>

Before

Width:  |  Height:  |  Size: 410 B

@ -1,3 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path fill="#7DD79F" fill-rule="evenodd" d="M15 9h-1.277c-.347.595-.985 1-1.723 1a1.994 1.994 0 0 1-1.723-1H1a1 1 0 0 1 0-2h9.277c.347-.595.985-1 1.723-1 .738 0 1.376.405 1.723 1H15a1 1 0 0 1 0 2zm0-6H5.723C5.376 3.595 4.738 4 4 4a1.994 1.994 0 0 1-1.723-1H1a1 1 0 0 1 0-2h1.277C2.624.405 3.262 0 4 0c.738 0 1.376.405 1.723 1H15a1 1 0 0 1 0 2zM1 13h1.277c.347-.595.985-1 1.723-1 .738 0 1.376.405 1.723 1H15a1 1 0 0 1 0 2H5.723c-.347.595-.985 1-1.723 1a1.994 1.994 0 0 1-1.723-1H1a1 1 0 0 1 0-2z"/>
</svg>

Before

Width:  |  Height:  |  Size: 593 B

@ -1,3 +0,0 @@
<svg viewBox="0 0 14 16" xmlns="http://www.w3.org/2000/svg" width="14" height="16">
<path fill="#7DD79F" fill-rule="evenodd" d="M14 11c0 .026-.013.049-.015.074.004.382-.159.757-.481.962l-5.897 3.743-.004.002-.099.063a.983.983 0 0 1-.299.115c-.01.002-.019.009-.03.011-.013.002-.027.001-.04.003-.046.006-.087.027-.135.027-.048 0-.089-.021-.135-.027-.013-.002-.027-.001-.04-.003-.011-.002-.02-.009-.03-.011a.983.983 0 0 1-.299-.115l-.099-.063-.004-.002-5.897-3.743c-.322-.205-.485-.58-.481-.962C.013 11.049 0 11.026 0 11V5a.98.98 0 0 1 .085-.398c.066-.256.184-.494.411-.638L6.393.221l.004-.002.114-.073c.022-.013.046-.013.068-.025A.924.924 0 0 1 6.825.03.86.86 0 0 1 7 .017a.86.86 0 0 1 .175.013c.087.017.166.05.246.091.022.012.046.012.068.025l.114.073.004.002 5.897 3.743c.227.144.345.382.411.638A.98.98 0 0 1 14 5v6zm-6 2.01l4-2.539V6.99L8 9.529v3.481zm-6-2.539l4 2.539V9.529L2 6.99v3.481zm5-8.116L2.834 5 7 7.645 11.166 5 7 2.355z"/>
</svg>

Before

Width:  |  Height:  |  Size: 945 B

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="6">
<path fill-rule="evenodd" d="M7.714 1.657L5.657 3.714l-1.83 1.83c-.037.058-.063.12-.113.17A.963.963 0 0 1 3 5.993a.963.963 0 0 1-.714-.279c-.05-.05-.076-.112-.113-.17L.286 3.657a.969.969 0 1 1 1.371-1.371L3 3.629l1.343-1.343 2-2a.969.969 0 1 1 1.371 1.371z"/>
</svg>

After

Width:  |  Height:  |  Size: 333 B

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14">
<path fill-rule="evenodd" d="M13 10a1 1 0 0 1-1-1V2H5a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1zm-3-5v8a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1zM8 6H2v6h6V6z"/>
</svg>

After

Width:  |  Height:  |  Size: 281 B

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="3">
<path fill-rule="evenodd" d="M13.5 3a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 13.5 3zm-6 0a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 7.5 3zm-6 0a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 1.5 3z"/>
</svg>

After

Width:  |  Height:  |  Size: 263 B

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path fill-rule="evenodd" d="M15 16H1a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h4.347l1.778 2H2v1h12v-1H8.875l1.778-2H15a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1zm0-11H9v3.532l1.252-1.253a1.028 1.028 0 1 1 1.455 1.455l-2.909 2.911c-.038.038-.087.054-.129.085a.945.945 0 0 1-.653.27h-.032a.971.971 0 0 1-.713-.315c-.006-.005-.013-.006-.018-.011L4.326 8.745A1.036 1.036 0 0 1 5.79 7.281L7 8.492V5H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1zm-1-3H2v1h12V2z"/>
</svg>

After

Width:  |  Height:  |  Size: 532 B

@ -1,3 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path fill="#7DD79F" fill-rule="evenodd" d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm5.906-7h-1.951c-.098 1.559-.408 2.985-.888 4.131A5.996 5.996 0 0 0 13.906 9zM8 14.013c.988 0 1.803-2.171 1.961-5.013H6.039c.158 2.842.973 5.013 1.961 5.013zm-3.067-.882c-.48-1.146-.79-2.572-.888-4.131H2.094a5.996 5.996 0 0 0 2.839 4.131zM2.094 7h1.951c.098-1.559.408-2.985.888-4.131A5.996 5.996 0 0 0 2.094 7zM8 1.987c-.988 0-1.803 2.171-1.961 5.013h3.922C9.803 4.158 8.988 1.987 8 1.987zm3.067.882c.48 1.146.79 2.572.888 4.131h1.951a5.996 5.996 0 0 0-2.839-4.131z"/>
</svg>

Before

Width:  |  Height:  |  Size: 643 B

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="94" height="121">
<path fill-rule="evenodd" d="M40 1.47l48 27.759c3.314 1.916 6 6.156 6 9.47v57.999c0 3.314-2.686 4.447-6 2.531L40 71.47c-3.314-1.916-6-6.156-6-9.47V4c0-3.314 2.686-4.446 6-2.53z" opacity=".2"/>
<path fill-rule="evenodd" d="M23 11.47l48 27.759c3.314 1.916 6 6.156 6 9.47v58c0 3.313-2.686 4.446-6 2.53L23 81.47c-3.314-1.917-6-6.156-6-9.47V14c0-3.314 2.686-4.446 6-2.53z" opacity=".6"/>
<path fill-rule="evenodd" d="M6 21.47l48 27.759c3.314 1.916 6 6.156 6 9.469v58.001c0 3.313-2.686 4.446-6 2.53L6 91.47C2.686 89.553 0 85.314 0 82V24c0-3.314 2.686-4.447 6-2.53z"/>
<path fill="#FFF" fill-rule="evenodd" d="M39 78.814l-9-5.18v11c0 1.104-.895 1.484-2 .849-1.105-.636-2-2.047-2-3.152v-11l-9-5.18c-1.105-.636-2-2.046-2-3.151s.895-1.485 2-.849l9 5.18v-11c0-1.104.895-1.484 2-.848 1.105.635 2 2.046 2 3.151v11l9 5.18c1.105.636 2 2.047 2 3.151 0 1.105-.895 1.485-2 .849z"/>
</svg>

After

Width:  |  Height:  |  Size: 952 B

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14">
<path fill-rule="evenodd" d="M13 8H8v5a1 1 0 0 1-2 0V8H1a1 1 0 0 1 0-2h5V1a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2z"/>
</svg>

After

Width:  |  Height:  |  Size: 186 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save