Merge pull request #2 from YegorSan/master

Re-added internationalization, re-checked all changes on all devices
pull/2637/head
Yegor 5 years ago committed by GitHub
commit 1a1d8247a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      apps/block_scout_web/assets/css/components/_custom_tooltips_block_details.scss
  2. 2
      apps/block_scout_web/assets/css/components/_dashboard-banner.scss

@ -1,8 +1,10 @@
/* Custom Tooltips for Block Details Page */ /* Custom Tooltips for Block Details Page */
.tooltipCustom { .tooltipCustom {
position: relative; position: relative;
display: inline-block; display: inline-block;
} }
.tooltipCustom .tooltiptextTopMiner { .tooltipCustom .tooltiptextTopMiner {
visibility: hidden; visibility: hidden;
position: absolute; position: absolute;
@ -20,7 +22,11 @@
margin-bottom: 15px; margin-bottom: 15px;
opacity: 0; opacity: 0;
transition: opacity 0.5s; transition: opacity 0.5s;
@include media-breakpoint-down(sm) {
left: 60%;
}
} }
.tooltipCustom .tooltiptextTopMiner::after { .tooltipCustom .tooltiptextTopMiner::after {
content: ''; content: '';
position: absolute; position: absolute;
@ -31,6 +37,7 @@
border-style: solid; border-style: solid;
border-color: white transparent transparent transparent; border-color: white transparent transparent transparent;
} }
.tooltipCustom:hover .tooltiptextTopMiner { .tooltipCustom:hover .tooltiptextTopMiner {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
@ -53,6 +60,10 @@
margin-bottom: 15px; margin-bottom: 15px;
opacity: 0; opacity: 0;
transition: opacity 0.5s; transition: opacity 0.5s;
@include media-breakpoint-down(sm) {
padding: 9px 10px;
bottom: 100%;
}
} }
.tooltipCustom .tooltiptextTopR::after { .tooltipCustom .tooltiptextTopR::after {
@ -66,9 +77,10 @@
border-color: $primary transparent transparent transparent; border-color: $primary transparent transparent transparent;
} }
.tooltipCustom:hover .tooltiptextTopR { .tooltipCustom:hover .tooltiptextTopR {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
} }
/* Custom Tooltips for Block Details Page end*/ /* Custom Tooltips for Block Details Page end*/

@ -136,7 +136,7 @@ $dashboard-banner-chart-axis-font-color: $dashboard-stats-item-value-color !defa
width: 750px; width: 750px;
position: relative; position: relative;
@include media-breakpoint-down(lg) { @include media-breakpoint-down(lg) {
margin-top: 15px; margin-top: 50px;
width: 550px; width: 550px;
} }
@include media-breakpoint-down(md) { @include media-breakpoint-down(md) {

Loading…
Cancel
Save