@import "../../style/vars";
@--z: 999;
.z-pop-cover {
	position: absolute;
	z-index: @--z - 1;
	left: 0;
	bottom: 0;
	right: 0;
	top: 0;
	background-color: fade(#000, (0.2 * 100));
	cursor: pointer;
	transition: all 0.3s;
	opacity: 1;
	&.transparent {
		opacity: 0;
	}
}
.z-pop-content {
	transition: transform 0.25s ease-out;
	position: absolute;
	width: 90%;
	max-width: 100%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: @--z;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
	// border-left: 1px solid #e3e6ea;
	// background-color: white;
	&.is-right-hide {
		transform: translateX(101%);
	}
	.z-pop-close {
		position: absolute;
		left: 0px;
		top: 0;
		bottom: 0;
		z-index: 9999;
		cursor: pointer;
		.z-btn {
			padding: 20px 0;
			background-color: @--primary-color;
			color: white;
			border-top-right-radius: 8px;
			border-bottom-right-radius: 8px;
			font-size: 12px;
		}
	}
}
