diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c71708b16..0009b85e01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ - [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups ### Fixes -- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix +- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added - [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues - [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs. - [#2066](https://github.com/poanetwork/blockscout/pull/2066) - fixed length of logs search input diff --git a/apps/block_scout_web/assets/css/components/_dropdown.scss b/apps/block_scout_web/assets/css/components/_dropdown.scss index 998f779ec5..f0a7e33661 100644 --- a/apps/block_scout_web/assets/css/components/_dropdown.scss +++ b/apps/block_scout_web/assets/css/components/_dropdown.scss @@ -5,6 +5,9 @@ box-shadow: $box-shadow; padding: 0; width: 100%; + border-left: 1px solid #e2e5ec; + border-right: 1px solid #e2e5ec; + border-bottom: 1px solid #e2e5ec; &.right { left: auto; diff --git a/apps/block_scout_web/assets/css/components/_filter.scss b/apps/block_scout_web/assets/css/components/_filter.scss index 9beefde20b..0d99d48031 100644 --- a/apps/block_scout_web/assets/css/components/_filter.scss +++ b/apps/block_scout_web/assets/css/components/_filter.scss @@ -1,4 +1,4 @@ .filter { min-width: 100%; - transform: translate3d(1px, 26px, 0px) !important; + transform: translate3d(0, 34px, 0px) !important; } diff --git a/apps/block_scout_web/assets/css/components/_tooltip.scss b/apps/block_scout_web/assets/css/components/_tooltip.scss index 4c845a7c1c..ecb334b84e 100644 --- a/apps/block_scout_web/assets/css/components/_tooltip.scss +++ b/apps/block_scout_web/assets/css/components/_tooltip.scss @@ -17,3 +17,8 @@ $tooltip-color: #fff !default; border-bottom-color: $tooltip-background-color; } } + +.bs-tooltip-top { top: -10px !important; } +.bs-tooltip-bottom { top: 10px !important; } +.bs-tooltip-left { left: -10px !important; } +.bs-tooltip-right { left: 10px !important; } diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found.png new file mode 100644 index 0000000000..70b99cf13b Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found@2x.png new file mode 100644 index 0000000000..7e3851555d Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found.png new file mode 100644 index 0000000000..6dd0112d54 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found@2x.png new file mode 100644 index 0000000000..868d682b3a Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found.png new file mode 100644 index 0000000000..a4e31fb68d Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found@2x.png new file mode 100644 index 0000000000..195ccfe9f5 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found.png new file mode 100644 index 0000000000..fdb8e0c4f5 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found@2x.png new file mode 100644 index 0000000000..16f1be6e93 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found.png new file mode 100644 index 0000000000..f57ba7ac7a Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found@2x.png new file mode 100644 index 0000000000..096ec0b3bf Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found.png new file mode 100644 index 0000000000..f26e557d7c Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found@2x.png new file mode 100644 index 0000000000..f9829cda11 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found.png new file mode 100644 index 0000000000..5056766f3c Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found@2x.png new file mode 100644 index 0000000000..233e078642 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found.png new file mode 100644 index 0000000000..5056766f3c Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found@2x.png new file mode 100644 index 0000000000..233e078642 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found.png new file mode 100644 index 0000000000..af2e436dec Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found@2x.png new file mode 100644 index 0000000000..7792882524 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-page-not-found@2x.png differ diff --git a/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex index ce9f49ad7a..4db03be12d 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/block_transaction/404.html.eex @@ -1,7 +1,7 @@
- Block Not Found + Block Not Found

<%= gettext("Block Details") %>

diff --git a/apps/block_scout_web/lib/block_scout_web/templates/page_not_found/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/page_not_found/index.html.eex new file mode 100644 index 0000000000..6850c2deb2 --- /dev/null +++ b/apps/block_scout_web/lib/block_scout_web/templates/page_not_found/index.html.eex @@ -0,0 +1,12 @@ +
+
+
+ Page Not Found +
+
+

Lorem Ipsum Dolor

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua

+ Back Home +
+
+
\ No newline at end of file