Two columns in dashboard

stable
Xavier Julián 2016-06-09 10:30:02 +02:00 committed by Juanfran
parent 78df49c9e5
commit 87fafdd1b1
3 changed files with 28 additions and 6 deletions

View File

@ -2,6 +2,8 @@ doctype html
div.home-wrapper.centered div.home-wrapper.centered
div.duty-summary div.duty-summary
div(tg-working-on) h1
span.green {{"HOME.DASHBOARD" | translate}}
tg-working-on.dashboard-container
aside.project-list(tg-home-project-list) aside.project-list(tg-home-project-list)

View File

@ -1,9 +1,32 @@
.home-wrapper { .home-wrapper {
display: flex; display: flex;
@include breakpoint(tablet) {
flex-direction: column;
}
@include breakpoint(mobile) {
flex-direction: column;
}
.duty-summary { .duty-summary {
flex: 1; flex: 1;
margin-right: 2rem; margin-right: 2rem;
} }
.dashboard-container {
display: flex;
flex-direction: row;
@include breakpoint(laptop) {
flex-direction: column;
}
@include breakpoint(tablet) {
flex-direction: column;
}
@include breakpoint(mobile) {
flex-direction: column;
}
}
.working-on-container {
margin-right: .5rem;
padding-right: .5rem;
}
.project-list { .project-list {
width: 250px; width: 250px;
} }
@ -12,11 +35,11 @@
} }
.title-bar { .title-bar {
@include font-type(light); @include font-type(light);
@include font-size(larger); @include font-size(large);
align-content: center; align-content: center;
background: $mass-white; background: $mass-white;
display: flex; display: flex;
margin: 0 0 .5rem; margin: 0 0 .5rem;
padding: .9rem 1rem; padding: .5rem 1rem;
} }
} }

View File

@ -1,6 +1,3 @@
h1
span.green {{"HOME.DASHBOARD" | translate}}
section.working-on-container section.working-on-container
header header
h1.title-bar.working-on-title(translate="HOME.WORKING_ON_SECTION") h1.title-bar.working-on-title(translate="HOME.WORKING_ON_SECTION")