Set default neutral dashboard charts

This commit is contained in:
Peter Zimon 2021-02-18 13:09:25 +01:00
parent 57a7bd5b48
commit 8b8bbc3941
2 changed files with 11 additions and 11 deletions

View File

@ -154,7 +154,7 @@
grid-column-gap: var(--dashboard-gap); grid-column-gap: var(--dashboard-gap);
height: 18vw; height: 18vw;
min-height: 180px; min-height: 180px;
max-height: 350px; max-height: 280px;
padding: 0 24px 24px; padding: 0 24px 24px;
} }
@ -234,12 +234,12 @@
} }
.gh-dashboard-summary .growth { .gh-dashboard-summary .growth {
background: var(--lightgrey); background: var(--whitegrey-d1);
border-radius: 3px; border-radius: 3px;
font-size: 1.8rem; font-size: 1.8rem;
line-height: 1; line-height: 1;
font-weight: 500; font-weight: 500;
color: var(--darkgrey); color: var(--midgrey);
padding: 6px 8px; padding: 6px 8px;
margin: 12px 0; margin: 12px 0;
} }

View File

@ -14,8 +14,8 @@
</div> </div>
<div class="gh-dashboard-chart-container"> <div class="gh-dashboard-chart-container">
<div class="gh-dashboard-summary"> <div class="gh-dashboard-summary">
<div class="data">$359</div> <div class="data">$0</div>
<div class="growth positive">+1.8%</div> <div class="growth">0.0%</div>
</div> </div>
<div class="gh-dashboard-chart nodata"> <div class="gh-dashboard-chart nodata">
No data No data
@ -27,8 +27,8 @@
<div class="gh-dashboard-summary small"> <div class="gh-dashboard-summary small">
<h4 class="gh-dashboard-header">Total members</h4> <h4 class="gh-dashboard-header">Total members</h4>
<div class="data-container"> <div class="data-container">
<div class="data">1,842</div> <div class="data">0</div>
<div class="growth positive">+1.8%</div> <div class="growth">0.0%</div>
</div> </div>
</div> </div>
<div class="gh-dashboard-chart small nodata"> <div class="gh-dashboard-chart small nodata">
@ -41,8 +41,8 @@
<div class="gh-dashboard-summary small"> <div class="gh-dashboard-summary small">
<h4 class="gh-dashboard-header">Paid members</h4> <h4 class="gh-dashboard-header">Paid members</h4>
<div class="data-container"> <div class="data-container">
<div class="data">733</div> <div class="data">0</div>
<div class="growth negative">-9.1%</div> <div class="growth">0.0%</div>
</div> </div>
</div> </div>
<div class="gh-dashboard-chart small nodata"> <div class="gh-dashboard-chart small nodata">
@ -55,8 +55,8 @@
<div class="gh-dashboard-summary small"> <div class="gh-dashboard-summary small">
<h4 class="gh-dashboard-header">Newsletter open rate</h4> <h4 class="gh-dashboard-header">Newsletter open rate</h4>
<div class="data-container"> <div class="data-container">
<div class="data">92%</div> <div class="data">0%</div>
<div class="growth positive">+29%</div> <div class="growth">0.0%</div>
</div> </div>
</div> </div>
<div class="gh-dashboard-chart small nodata"> <div class="gh-dashboard-chart small nodata">