// Small
.@{steps-prefix-cls} {
	&-small &-item-icon {
		width: @steps-number-icon-size-small;
		height: @steps-number-icon-size-small;
		border-radius: @steps-number-icon-size-small;
		border-width: 1px;
		margin-top: calc((@steps-icon-size - @steps-icon-size-small) / 2);

		.@{icon-prefix-cls} {
			font-size: @steps-icon-size-small;
		}
	}

	&-small &-item-title {
		font-size: @steps-title-font-size-sm;
	}

	&-small &-item-description {
		font-size: @steps-description-font-size-sm;
		line-height: @steps-description-line-height-sm;
	}

	&-small &-item-finish &-item-icon {
		border-width: 0px;
	}

	&-small .@{steps-prefix-cls}-progress-icon {
		position: absolute;
		top: -5px;
		left: -2px;
		transform-origin: center;
	}

	&-line&-small &-item-container {
		margin-left: 0px;

		.@{steps-prefix-cls}-line-index {
			font-size: 10px; //Todo(pcj):字体大小需要和设计协调
		}
	}
	&-line&-small &-item&-item-error {
		.@{steps-prefix-cls}-error-icon {
			position: absolute;
			left: 0;
			top: 22px;
			font-size: @font-size-lg;
		}
		.@{steps-prefix-cls}-item-title {
			padding-left: calc(~'@{font-size-lg}' + 2px);
		}
	}

	//roundBar small

	&-roundBar&-small {
		border-radius: calc(~'@{steps-round-bar-sm-height}' / 2);
	}
	&-roundBar&-small &-item-container {
		padding-left: calc(~'@{steps-round-bar-sm-height}' / 2);
		border-radius: calc(~'@{steps-round-bar-sm-height}' / 2) 0 0 calc(~'@{steps-round-bar-sm-height}' / 2);
	}

	&-roundBar&-small &-item {
		&::after {
			width: calc(~'@{steps-round-bar-sm-height}' / 2);
			height: @steps-round-bar-sm-height;
			border-radius: 0 calc(~'@{steps-round-bar-sm-height}' / 2) calc(~'@{steps-round-bar-sm-height}' / 2) 0;
		}

		&-title {
			line-height: @steps-round-bar-sm-height;
		}

		border-top-right-radius: calc(~'@{steps-round-bar-sm-height}' / 2);
		border-bottom-right-radius: calc(~'@{steps-round-bar-sm-height}' / 2);
	}

	&-roundBar:not(&-label-vertical)&-small &-item {
		padding: 0 calc(~'@{steps-round-bar-sm-height}' / 2);
		margin-left: calc(~'-@{steps-round-bar-sm-height}' / 2);
	}
}
