2016-03-23 05:26:27 +00:00
|
|
|
@import '../constants/dimensions';
|
2016-03-16 05:49:42 +00:00
|
|
|
|
|
|
|
.grid {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
2016-03-16 23:34:25 +00:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2016-03-16 05:49:42 +00:00
|
|
|
align-content: flex-start;
|
|
|
|
height: 100%;
|
2016-03-16 20:02:47 +00:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2016-03-16 05:49:42 +00:00
|
|
|
|
2016-04-05 05:35:21 +00:00
|
|
|
&.grid--left {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.grid--right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2016-03-21 05:47:49 +00:00
|
|
|
& > .col {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2016-03-23 17:15:19 +00:00
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
2016-03-16 05:49:42 +00:00
|
|
|
}
|
|
|
|
|
2016-03-16 20:02:47 +00:00
|
|
|
.grid-v {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: stretch;
|
|
|
|
align-content: flex-start;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2016-03-16 05:49:42 +00:00
|
|
|
|
2016-03-21 05:47:49 +00:00
|
|
|
& > .row {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2016-03-16 05:49:42 +00:00
|
|
|
}
|
2016-03-20 04:00:40 +00:00
|
|
|
|
2016-03-21 05:47:49 +00:00
|
|
|
@media (max-width: $breakpoint-md) {
|
|
|
|
.grid.grid-collapse {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: stretch;
|
|
|
|
align-content: flex-start;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
& > .col {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|