// @import "sinosun-ui/lib/style/themes/default.less";
// @import "sinosun-ui/lib/style/mixins/index.less";

.sn-toast {
	display: block;
	min-width: auto;
}

.common-template-parser-main {
	// 日期样式
	.sn-datetime-picker {
		color: @link-color;
	}
	// 日期区间
	.sn-range-picker-item {
		.readonly-value {
			color:  @link-color;
		}
	}
	// list-item样式
	.sn-list-item {
		.sn-list-item-title {
			text-align: left;
		}
		// 去掉下划线
		&:after {
			display: block;
			left: 0;
		}
	}
	.sn-list-item-borderless:after{
		display: none !important;
	}
	// 多行文本样式
	.sn-textarea-item {
		.title-align-right {
			& + .sn-list-item-value {
				padding-left: 0.3rem;
			}
		}
	}
	// 支付方式
	.sn-pay-method {
		.pay-method-label {
			padding-left: 0.3rem;
		}
	}
	// pc
	@media screen and (min-width: @screen-sm) {
		.sn-list-item {
			padding: 0.12rem 0.3rem !important;
			&.big-money {
				padding-top: 0 !important;
				padding-bottom: 0 !important;
			}
			&-title {
				line-height: 2;
			}
			&-value {
				height: 30px;
				line-height: 2;
			}
			// 箭头位置 item右侧容器
			.sn-list-item-right-icon,
			.right-slot,
			.right-sn-switch {
				position: absolute;
				top: 50%;
				right: 20px !important;
				display: inline-flex;
				justify-content: center;
				align-items: center;
				height: 30px;
				transform: translateY(-50%);
			}
			.right-sn-switch {
				right: 5px !important;
			}
		}
		// 顶除原来老版本样式
		textarea {
			padding-left: 0 !important;
			padding-right: 0 !important;
			border: 0 !important;
		}
		// 所有解析组件的border样式
		.sn-border {
			border: 1px solid @border-color-2;
			border-radius: 3px;
			padding: 0 10px 0 10px;
			&.has-right-slot {
				padding-right: 40px;
			}
			&.has-right-switch {
				padding-right: 60px;
			}
		}
		.sn-border {
			line-height: 2;
		}
		.big-money-value {
			padding-left: 10px;
		}
	}
	// pc中屏
	@media screen and (min-width: @screen-md) {
	}
	// pc大屏
	@media screen and (min-width: @screen-lg) {
	}
}
