diff --git a/CHANGELOG.md b/CHANGELOG.md index f240929567..92c03d9a05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Current ### Features +- [#2081](https://github.com/poanetwork/blockscout/pull/2081) - Tooltip for 'more' button, explorers logos added - [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895), [#2031](https://github.com/poanetwork/blockscout/pull/2031), [#2073](https://github.com/poanetwork/blockscout/pull/2073), [#2074](https://github.com/poanetwork/blockscout/pull/2074), - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk and default theme - [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" - [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated diff --git a/apps/block_scout_web/assets/css/components/_verify_other_explorers.scss b/apps/block_scout_web/assets/css/components/_verify_other_explorers.scss index 134b4e5fb4..a3ea681eda 100644 --- a/apps/block_scout_web/assets/css/components/_verify_other_explorers.scss +++ b/apps/block_scout_web/assets/css/components/_verify_other_explorers.scss @@ -121,6 +121,7 @@ border-radius: 2px; margin-top: 10px; transition: .1s ease-in; + position: relative; @media (min-width: 768px) { margin-left: 10px; margin-top: 0; @@ -134,6 +135,13 @@ fill: #fff; } } + span { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + } } .verify-other-explorers-dialog { @@ -147,6 +155,40 @@ .verify-other-explorers-modal-row { display: table-row; height: 29px; + &:first-child { + .verify-other-explorers-cell.left { + .exp-logo { + @include image-2x('/images/icons/etherscan@2x.png', 15px, 16px); + background-image: url("/images/icons/etherscan.png"); + background-repeat: no-repeat; + padding-left: 25px; + background-size: 15px 16px; + } + } + } + &:nth-child(2) { + .verify-other-explorers-cell.left { + .exp-logo { + @include image-2x('/images/icons/blockchair@2x.png', 10px, 16px); + background-image: url("/images/icons/blockchair.png"); + background-repeat: no-repeat; + padding-left: 25px; + background-size: 10px 16px; + background-position: left 3px center; + } + } + } + &:nth-child(3) { + .verify-other-explorers-cell.left { + .exp-logo { + @include image-2x('/images/icons/etherchain@2x.png', 16px, 16px); + background-image: url("/images/icons/etherchain.png"); + background-repeat: no-repeat; + padding-left: 25px; + background-size: 16px 16px; + } + } + } } .verify-other-explorers-cell { @@ -162,28 +204,3 @@ padding-left: 15px; background-size: 12px 12px; } - -.etherscan-logo { - @include image-2x('/images/icons/etherscan@2x.png', 15px, 16px); - background-image: url("/images/icons/etherscan.png"); - background-repeat: no-repeat; - padding-left: 25px; - background-size: 15px 16px; -} - -.blockchair-logo { - @include image-2x('/images/icons/blockchair@2x.png', 10px, 16px); - background-image: url("/images/icons/blockchair.png"); - background-repeat: no-repeat; - padding-left: 25px; - background-size: 10px 16px; - background-position: left 3px center; -} - -.etherchain-logo { - @include image-2x('/images/icons/etherchain@2x.png', 16px, 16px); - background-image: url("/images/icons/etherchain.png"); - background-repeat: no-repeat; - padding-left: 25px; - background-size: 16px 16px; -} diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/_verify_other_explorer_modal.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/_verify_other_explorer_modal.html.eex index cbbd548336..69ffb705e3 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/_verify_other_explorer_modal.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/_verify_other_explorer_modal.html.eex @@ -1,6 +1,6 @@