|
|
@ -1,6 +1,8 @@ |
|
|
|
$dashboard-banner-gradient-start: $primary !default; |
|
|
|
$dashboard-banner-gradient-start: $primary !default; |
|
|
|
$dashboard-banner-gradient-end: lighten($dashboard-banner-gradient-start, 5%) !default; |
|
|
|
$dashboard-banner-gradient-end: lighten($dashboard-banner-gradient-start, 5%) !default; |
|
|
|
$dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
$dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
|
|
|
|
$dashboard-line-color-price: $primary !default; |
|
|
|
|
|
|
|
$dashboard-line-color-market: $secondary !default; |
|
|
|
|
|
|
|
|
|
|
|
.dashboard-banner-container { |
|
|
|
.dashboard-banner-container { |
|
|
|
background-color: $primary; |
|
|
|
background-color: $primary; |
|
|
@ -20,9 +22,8 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
right: 0; |
|
|
|
right: 0; |
|
|
|
top: 3rem; |
|
|
|
top: 3rem; |
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-lg) { |
|
|
|
@include media-breakpoint-down(sm) { |
|
|
|
top: 2rem; |
|
|
|
display: none; |
|
|
|
left: 80%; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -35,7 +36,8 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
z-index: 9; |
|
|
|
z-index: 9; |
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-lg) { |
|
|
|
@include media-breakpoint-down(sm) { |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -48,8 +50,21 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
height: 205px; |
|
|
|
height: 205px; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
margin: 0 0 0 60px; |
|
|
|
margin: 0 0 0 60px; |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
padding: 30px 0 30px 30px; |
|
|
|
padding: 30px 0 30px 30px; |
|
|
|
width: 750px; |
|
|
|
width: 750px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
align-items: flex-start; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
margin-left: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) { |
|
|
|
|
|
|
|
border-top-right-radius: 10px; |
|
|
|
|
|
|
|
margin: 0; |
|
|
|
|
|
|
|
padding: 15px 0 15px 15px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.dashboard-banner-chart { |
|
|
|
.dashboard-banner-chart { |
|
|
@ -59,6 +74,12 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
max-width: 500px; |
|
|
|
max-width: 500px; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
margin: 0 0 20px 0; |
|
|
|
|
|
|
|
max-width: 300px; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
> canvas { |
|
|
|
> canvas { |
|
|
|
height: 170px; |
|
|
|
height: 170px; |
|
|
|
max-height: 100%; |
|
|
|
max-height: 100%; |
|
|
@ -72,11 +93,19 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
|
|
.dashboard-banner-chart-legend-item { |
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
flex-direction: row; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.dashboard-banner-chart-legend-item { |
|
|
|
padding-top: 10px; |
|
|
|
padding-top: 10px; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-direction: row; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&::before { |
|
|
|
&::before { |
|
|
|
border-radius: 2px; |
|
|
|
border-radius: 2px; |
|
|
|
content: ''; |
|
|
|
content: ''; |
|
|
@ -89,14 +118,19 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(1) { |
|
|
|
&:nth-child(1) { |
|
|
|
margin-bottom: 30px; |
|
|
|
margin-bottom: 30px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
margin-bottom: 0; |
|
|
|
|
|
|
|
margin-right: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(1)::before { |
|
|
|
&:nth-child(1)::before { |
|
|
|
background-color: $secondary; |
|
|
|
background-color: $dashboard-line-color-price; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(2)::before { |
|
|
|
&:nth-child(2)::before { |
|
|
|
background-color: $primary; |
|
|
|
background-color: $dashboard-line-color-market; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -107,6 +141,10 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
line-height: 1.2; |
|
|
|
line-height: 1.2; |
|
|
|
margin: 0 0 5px; |
|
|
|
margin: 0 0 5px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) { |
|
|
|
|
|
|
|
margin: 0 5px 0 0; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.dashboard-banner-chart-legend-value { |
|
|
|
.dashboard-banner-chart-legend-value { |
|
|
@ -121,14 +159,13 @@ $dashboard-banner-network-graph-background-color: #fff !default; |
|
|
|
.dashboard-banner-network-stats { |
|
|
|
.dashboard-banner-network-stats { |
|
|
|
column-gap: 40px; |
|
|
|
column-gap: 40px; |
|
|
|
display: grid; |
|
|
|
display: grid; |
|
|
|
|
|
|
|
flex-shrink: 0; |
|
|
|
grid-template-columns: 1fr 1fr; |
|
|
|
grid-template-columns: 1fr 1fr; |
|
|
|
padding-bottom: 30px; |
|
|
|
padding-bottom: 30px; |
|
|
|
row-gap: 45px; |
|
|
|
row-gap: 45px; |
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-lg) { |
|
|
|
@media (max-width: $breakpoint-lg) { |
|
|
|
align-items: flex-start; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
padding: 0.5rem 2rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-item { |
|
|
|
&-item { |
|
|
|