@c8y/style
Version:
Styles for Cumulocity IoT applications
209 lines (194 loc) • 3.92 kB
text/less
// Flex wrap
.flex-wrap {
flex-wrap: wrap ;
}
.flex-nowrap {
flex-wrap: nowrap ;
}
// justify-content
.j-c-start {
justify-content: flex-start ;
}
.j-c-center {
justify-content: center ;
}
.j-c-end {
justify-content: flex-end ;
}
.j-c-around {
justify-content: space-around ;
}
.j-c-between {
justify-content: space-between ;
}
.j-c-evenly {
justify-content: space-evenly ;
}
// align-items
.a-i-start {
align-items: flex-start ;
}
.a-i-center {
align-items: center ;
}
.a-i-end {
align-items: flex-end ;
}
.a-i-stretch {
align-items: stretch ;
}
.a-i-baseline {
align-items: baseline ;
}
@media (max-width: @screen-xs-max) {
.flex-wrap-xs {
flex-wrap: wrap ;
}
.flex-nowrap-xs {
flex-wrap: nowrap ;
}
.j-c-start-xs {
justify-content: flex-start ;
}
.j-c-center-xs {
justify-content: center ;
}
.j-c-end-xs {
justify-content: flex-end ;
}
.j-c-around-xs {
justify-content: space-around ;
}
.j-c-between-xs {
justify-content: space-between ;
}
.j-c-evenly-xs {
justify-content: space-evenly ;
}
.a-i-start-xs {
align-items: flex-start ;
}
.a-i-center-xs {
align-items: center ;
}
.a-i-end-xs {
align-items: flex-end ;
}
.a-i-stretch-xs {
align-items: stretch ;
}
}
@media (min-width: @screen-sm-min) {
.flex-wrap-sm {
flex-wrap: wrap ;
}
.flex-nowrap-sm {
flex-wrap: nowrap ;
}
.j-c-start-sm {
justify-content: flex-start ;
}
.j-c-center-sm {
justify-content: center ;
}
.j-c-end-sm {
justify-content: flex-end ;
}
.j-c-around-sm {
justify-content: space-around ;
}
.j-c-between-sm {
justify-content: space-between ;
}
.j-c-evenly-sm {
justify-content: space-evenly ;
}
.a-i-start-sm {
align-items: flex-start ;
}
.a-i-center-sm {
align-items: center ;
}
.a-i-end-sm {
align-items: flex-end ;
}
.a-i-stretch-sm {
align-items: stretch ;
}
}
@media (min-width: @screen-md-min) {
.flex-wrap-md {
flex-wrap: wrap ;
}
.flex-nowrap-md {
flex-wrap: nowrap ;
}
.j-c-start-md {
justify-content: flex-start ;
}
.j-c-center-md {
justify-content: center ;
}
.j-c-end-md {
justify-content: flex-end ;
}
.j-c-around-md {
justify-content: space-around ;
}
.j-c-between-md {
justify-content: space-between ;
}
.j-c-evenly-md {
justify-content: space-evenly ;
}
.a-i-start-md {
align-items: flex-start ;
}
.a-i-center-md {
align-items: center ;
}
.a-i-end-md {
align-items: flex-end ;
}
.a-i-stretch-md {
align-items: stretch ;
}
}
@media (min-width: @screen-lg-min) {
.flex-wrap-lg {
flex-wrap: wrap ;
}
.flex-nowrap-lg {
flex-wrap: nowrap ;
}
.j-c-start-lg {
justify-content: flex-start ;
}
.j-c-center-lg {
justify-content: center ;
}
.j-c-end-lg {
justify-content: flex-end ;
}
.j-c-around-lg {
justify-content: space-around ;
}
.j-c-between-lg {
justify-content: space-between ;
}
.j-c-evenly-lg {
justify-content: space-evenly ;
}
.a-i-start-lg {
align-items: flex-start ;
}
.a-i-center-lg {
align-items: center ;
}
.a-i-end-lg {
align-items: flex-end ;
}
.a-i-stretch-lg {
align-items: stretch ;
}
}