Prepare grid
This commit is contained in:
@ -58,3 +58,30 @@ div.negative-result {
|
|||||||
box-shadow: 0px 0px 11px 1px rgba(222,0,0,1);
|
box-shadow: 0px 0px 11px 1px rgba(222,0,0,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// StatisticsController:
|
||||||
|
|
||||||
|
.statistics-wrapper {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
grid-auto-rows: 150px;
|
||||||
|
grid-gap: 10px;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
border: 2px solid #0055ba;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #008cba;
|
||||||
|
padding: 1em;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column-reverse;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
> .data {
|
||||||
|
flex-grow: 1;
|
||||||
|
font-size: 40px;
|
||||||
|
vertical-align: middle;
|
||||||
|
line-height: 100px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
// Place all the styles related to the Statistics controller here.
|
|
||||||
// They will automatically be included in application.css.
|
|
||||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
|
@ -1 +1,3 @@
|
|||||||
h1 = t('shared.statistics')
|
h1 = t('shared.statistics')
|
||||||
|
|
||||||
|
.statistics-wrapper
|
||||||
|
Reference in New Issue
Block a user