2014-01-31 15:30:55 +01:00
|
|
|
/* flexbox layout
|
|
|
|
Tutorial: http://knacss.com/demos/tutoriel.html#flex */
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
display: -webkit-box;
|
2014-02-01 18:37:56 +01:00
|
|
|
display: -webkit-flex;
|
2014-01-31 15:30:55 +01:00
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-h {
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-box-direction: normal;
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-moz-box-orient: horizontal;
|
2014-01-31 15:30:55 +01:00
|
|
|
-moz-box-direction: normal;
|
2014-02-01 18:37:56 +01:00
|
|
|
-ms-flex-direction: row;
|
2014-01-31 15:30:55 +01:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-v {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-flex-direction: column;
|
|
|
|
-moz-box-orient: vertical;
|
2014-01-31 15:30:55 +01:00
|
|
|
-moz-box-direction: normal;
|
2014-02-01 18:37:56 +01:00
|
|
|
-ms-flex-direction: column;
|
2014-01-31 15:30:55 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-fluid {
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-box-flex: 1;
|
2014-01-31 15:30:55 +01:00
|
|
|
-webkit-flex: 1;
|
2014-02-01 18:37:56 +01:00
|
|
|
-moz-box-flex: 1;
|
2014-01-31 15:30:55 +01:00
|
|
|
-ms-flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-start {
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-box-ordinal-group: 0;
|
|
|
|
-webkit-order: -1;
|
2014-01-31 15:30:55 +01:00
|
|
|
-moz-box-ordinal-group: 0;
|
|
|
|
-ms-flex-order: -1;
|
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-mid {
|
|
|
|
-webkit-box-ordinal-group: 2;
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-order: 1;
|
2014-01-31 15:30:55 +01:00
|
|
|
-moz-box-ordinal-group: 2;
|
2014-02-01 18:37:56 +01:00
|
|
|
-ms-flex-order: 1;
|
2014-01-31 15:30:55 +01:00
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-end {
|
|
|
|
-webkit-box-ordinal-group: 43;
|
2014-02-01 18:37:56 +01:00
|
|
|
-webkit-order: 42;
|
2014-01-31 15:30:55 +01:00
|
|
|
-moz-box-ordinal-group: 43;
|
2014-02-01 18:37:56 +01:00
|
|
|
-ms-flex-order: 42;
|
2014-01-31 15:30:55 +01:00
|
|
|
order: 42;
|
|
|
|
}
|