Merge pull request #56 from Pear-Trading/finn/pielayoutchange

updated pie css
This commit is contained in:
Finn 2017-12-21 17:25:28 +00:00 committed by GitHub
commit 08a8f464f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 20 deletions

View file

@ -78,7 +78,7 @@
<div class="card-block">
<div class="row">
<div class="col-12">
<h4 class="card-title float-left mb-0">Sector Purchase Amounts</h4>
<h4 class="card-title float-left mb-0">Purchases by Sector</h4>
</div><!--/.col-->
</div><!--/.row-->
<div class="chart-wrapper">

View file

@ -2,7 +2,7 @@
<div class="card-block">
<div class="row">
<div class="col-sm-8">
<h4 class="card-title mb-0">Local Purchases</h4>
<h4 class="card-title mb-0">All Purchases</h4>
</div><!--/.col-->
<div class="col-sm-4 hidden-sm-down">
<div class="btn-toolbar float-right" role="toolbar" aria-label="Toolbar with button groups">

View file

@ -1,16 +1,22 @@
<div class="card text-center">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<div class="row no-gutters">
<div class="col-12 col-sm-6 col-md-3 mx-auto">
<div class="row">
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down">
<div>My Points</div>
<div><h5 class="text-dark-green">My Points</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum / 10 | number:'1.0-0' }}</strong></div>
</li>
</div>
<div class="col-12 col-sm-6 col-md-3 mx-auto">
</ul>
</div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down">
<div class="">My Rank</div>
<div><h5 class="text-dark-green">My Rank</h5></div>
<div *ngIf="userPosition == 0" class="statuscontent">
<div class="number-circle mx-auto"><strong>Unranked</strong></div>
</div>
@ -18,20 +24,32 @@
<div class="number-circle mx-auto"><strong>{{ userPosition }}</strong></div>
</div>
</li>
</div>
<div class="col-12 col-sm-6 col-md-3 mx-auto">
</ul>
</div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down">
<div class="">My Total Spend</div>
<div><h5 class="text-dark-green">My Total Spend</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum | currency:'GBP':'symbol':'1.2-2' }}</strong></div>
</li>
</div>
<div class="col-12 col-sm-6 col-md-3 mx-auto">
</ul>
</div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down">
<div class="">Value to Local Economy</div>
<div><h5 class="text-dark-green">Value to Local Economy</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum * 2.3 | currency:'GBP':'symbol':'1.2-2' }}</strong></div>
</li>
</div>
</ul>
</div>
</ul>
</div>
</div>
</div>

View file

@ -34,10 +34,15 @@ agm-map {
padding: 5rem 5%;
line-height: 0;
position: relative;
background: #20a8d8;
background: #4dbd74;
color: white;
font-size: 0.875rem;
}
.text-dark-green {
color: #10602c;
}
// white title font variant on type-2 as defined in _widgets.css
.horizontal-bars {
padding: 0;