2020-03-07 11:45:13 +00:00
|
|
|
@import '../../style/themes/index';
|
2019-01-02 13:01:56 +00:00
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import './mixin';
|
2017-10-27 05:24:22 +00:00
|
|
|
|
|
|
|
// Grid system
|
|
|
|
.@{ant-prefix}-row {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
2019-03-30 08:06:06 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2017-10-27 05:24:22 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// x轴原点
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-start {
|
2017-10-27 05:24:22 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
// x轴居中
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-center {
|
2017-10-27 05:24:22 +00:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
// x轴反方向
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-end {
|
2017-10-27 05:24:22 +00:00
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
// x轴平分
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-space-between {
|
2017-10-27 05:24:22 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
// x轴有间隔地平分
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-space-around {
|
2017-10-27 05:24:22 +00:00
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 顶部对齐
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-top {
|
2017-10-27 05:24:22 +00:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 居中对齐
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-middle {
|
2017-10-27 05:24:22 +00:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 底部对齐
|
2020-10-24 13:36:05 +00:00
|
|
|
.@{ant-prefix}-row-bottom {
|
2017-10-27 05:24:22 +00:00
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{ant-prefix}-col {
|
|
|
|
position: relative;
|
2020-10-24 13:36:05 +00:00
|
|
|
max-width: 100%;
|
2020-03-07 11:45:13 +00:00
|
|
|
// Prevent columns from collapsing when empty
|
|
|
|
min-height: 1px;
|
2017-10-27 05:24:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.make-grid();
|
|
|
|
|
|
|
|
// Extra small grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for extra small devices like
|
|
|
|
// smartphones.
|
|
|
|
|
|
|
|
.make-grid(-xs);
|
|
|
|
|
|
|
|
// Small grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
|
|
|
// to tablets.
|
|
|
|
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
.make-grid(-sm);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Medium grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for the desktop device range.
|
|
|
|
|
|
|
|
@media (min-width: @screen-md-min) {
|
|
|
|
.make-grid(-md);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Large grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
|
|
|
|
|
|
|
@media (min-width: @screen-lg-min) {
|
|
|
|
.make-grid(-lg);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Extra Large grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for the full hd device range.
|
|
|
|
|
|
|
|
@media (min-width: @screen-xl-min) {
|
|
|
|
.make-grid(-xl);
|
|
|
|
}
|
2018-01-15 10:54:26 +00:00
|
|
|
|
|
|
|
// Extra Extra Large grid
|
|
|
|
//
|
|
|
|
// Columns, offsets, pushes, and pulls for the full hd device range.
|
|
|
|
|
|
|
|
@media (min-width: @screen-xxl-min) {
|
|
|
|
.make-grid(-xxl);
|
|
|
|
}
|
2020-10-24 13:36:05 +00:00
|
|
|
|
|
|
|
@import './rtl';
|