@import '../../style/themes/index';
@import '../../style/mixins/index';

@space-prefix-cls: ~'@{ant-prefix}-space';
@space-item-prefix-cls: ~'@{ant-prefix}-space-item';

.@{space-prefix-cls} {
	display: inline-flex;

	&-vertical {
		flex-direction: column;
	}

	&-align {
		&-center {
			align-items: center;
		}

		&-start {
			align-items: flex-start;
		}

		&-end {
			align-items: flex-end;
		}

		&-baseline {
			align-items: baseline;
		}
	}

	&-justify {
		&-start {
			justify-content: start;
		}

		&-end {
			justify-content: end;
		}

		&-center {
			justify-content: center;
		}

		&-space-around {
			justify-content: space-around;
		}

		&-space-between {
			justify-content: space-between;
		}

		&-space-evenly {
			justify-content: space-evenly;
		}
	}
}

.@{space-item-prefix-cls} {
	&:empty {
		display: none;
	}
}

@import './rtl';
