mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
74 lines
1.2 KiB
SCSS
74 lines
1.2 KiB
SCSS
@import '../constants/dimensions';
|
|
|
|
.grid {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-content: flex-start;
|
|
height: 100%;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
&.grid--left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
&.grid--right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
& > .col {
|
|
display: block;
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pull-right {
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
|
|
& > .row {
|
|
display: block;
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
}
|