@import './index.styl'
	
/*----------------reset css -------------------*/
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
ul,
ol,
li {
	list-style: none;
}
i,
strong,
em,
b,
u {
	font-weight: normal;
	font-style: normal;
}
input[type="text"],
textarea {
	appearance: none;
}
a {
	text-decoration: none;
	color: $color-link;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
	color: inherit;
}
img {
	width: 100%;
}
img[lazy='loading'] {
	display: block;
	width: 100%;
	height 100%;
	margin: auto;
	object-fit: cover;
}
input:focus{
	outline: none;
}
::-webkit-scrollbar {
 	width: 8px;
	height 8px;
}
::-webkit-scrollbar-track {
	background-color: rgba(255,255,255,0);
	-webkit-border-radius: 2em;
	border-radius:2em;
	-webkit-transition: all .3s;
	transition: all .3s;
}
:hover::-webkit-scrollbar-track {
	background-color: rgba(255,255,255,.4);
}
::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,0);
	-webkit-border-radius: 2em;
	border-radius:2em;
	-webkit-transition: all .3s;
	transition: all .3s;
}
:hover::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,.1);
}
html,
body,
#app {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-touch-callout: none;
	background: $color-bg;
	font-size: 14px;
	color:#666;
	font-family: 'MicrosoftYaHei', '微软雅黑';
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

/*--------------------- 公共过渡动画样式 --------------------------*/
.slide-fade-enter-active {
	-webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.slide-fade-leave-active {
	-webkit-transition: all .3s ease;
    transition: all .3s ease;
	// -webkit-transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
    // transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to {
	-webkit-transform: translateY(10px);
	transform: translateY(10px);
	opacity: 0;
}
