@import "../../style/vars";
//滚动条的样式
.iScrollVerticalScrollbar {
	position: absolute;
	width: @--defatul-ScrollbarSize;
	top: 3px;
	right: 3px;
	bottom: 3px;
}

.iScrollHorizontalScrollbar {
	height: @--defatul-ScrollbarSize;
	position: absolute;
	right: 3px;
	bottom: 2px;
	left: 3px;
	&.iScrollIndicator {
		height: 100%;
	}
}

.iScrollIndicator {
	background-image: @--defatul-ScrollbarColor;
	border-radius: @--defatul-ScrollbarRadius;
}

.z-layout {
	position: relative;
	z-index: 0;
	transition: width 0.2s;
	&.is-flex {
		display: flex !important;
	}
}
.z-layout-header {
	position: relative;
	width: 100%;
	z-index: 2;
}
.z-layout-body {
	overflow: hidden;
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	bottom: 0;
}

.z-body-scroll {
	width: 100%;
	height: 100%;
	overflow: hidden;
	transition: all 0.25s ease-out;
}
.z-layout-footer {
	position: absolute;
	width: 100%;
	z-index: 2;
	bottom: 0;
	left: 0;
}

.z-header-btn {
	height: 100%;
	padding: 0 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease-out;
	background-color: white;
	&:hover {
		background-color: @--primary-1;
		cursor: pointer;
	}
	user-select: none;
}

.z-to-top {
	@--h: 28px;
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: @--h;
	height: @--h;
	line-height: @--h;
	background-color: rgba(47, 107, 170, 1);
	display: block;
	border-radius: @--h / 2;
	text-align: center;
	z-index: 9;
	color: white;
	font-size: 12px;
	&.is-animate-start {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}
	&.is-opacity {
		opacity: 0.7 !important;
		transition: opacity 0.2s ease-in;
		&:hover {
			cursor: pointer;
			opacity: 1 !important;
		}
	}
	&.is-hide {
		display: none;
	}
}
