Small css changes

This commit is contained in:
Mathieu Magnin 2017-03-08 10:55:10 +01:00
parent 6cb88a995f
commit 342a6b239e
3 changed files with 17 additions and 11 deletions

View file

@ -0,0 +1,6 @@
.card {
background: white;
padding: 15px;
box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
border-radius: 2px;
}

View file

@ -1,10 +1,9 @@
.stats {
padding: 15px;
@import "card";
.stats {
.stat-card {
background-color: white;
@extend .card;
margin: 15px auto;
max-width: 1200px;
padding: 15px;
}
}

View file

@ -1,10 +1,11 @@
= javascript_include_tag 'https://code.highcharts.com/highcharts.js', 'chartkick'
.stats
.stat-card
%h1 Procédures crées
= line_chart @procedures
.container
.stats
.stat-card
%h1 Procédures crées
= line_chart @procedures
.stat-card
%h1 Dossiers créés
= line_chart @dossiers
.stat-card
%h1 Dossiers créés
= line_chart @dossiers